Skip to content

Commit

Permalink
feat: Automated regeneration of gkehub v1 client (#18685)
Browse files Browse the repository at this point in the history
Auto-created at 2024-03-31 10:33:18 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot authored Mar 31, 2024
1 parent 7135397 commit 38cd9e5
Show file tree
Hide file tree
Showing 5 changed files with 75 additions and 2 deletions.
7 changes: 7 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -227574,6 +227574,11 @@
"/gkehub:v1/SecurityPostureConfig": security_posture_config
"/gkehub:v1/SecurityPostureConfig/mode": mode
"/gkehub:v1/SecurityPostureConfig/vulnerabilityMode": vulnerability_mode
"/gkehub:v1/ServiceMeshCondition": service_mesh_condition
"/gkehub:v1/ServiceMeshCondition/code": code
"/gkehub:v1/ServiceMeshCondition/details": details
"/gkehub:v1/ServiceMeshCondition/documentationLink": documentation_link
"/gkehub:v1/ServiceMeshCondition/severity": severity
"/gkehub:v1/ServiceMeshControlPlaneManagement": service_mesh_control_plane_management
"/gkehub:v1/ServiceMeshControlPlaneManagement/details": details
"/gkehub:v1/ServiceMeshControlPlaneManagement/details/detail": detail
Expand All @@ -227586,6 +227591,8 @@
"/gkehub:v1/ServiceMeshMembershipSpec/controlPlane": control_plane
"/gkehub:v1/ServiceMeshMembershipSpec/management": management
"/gkehub:v1/ServiceMeshMembershipState": service_mesh_membership_state
"/gkehub:v1/ServiceMeshMembershipState/conditions": conditions
"/gkehub:v1/ServiceMeshMembershipState/conditions/condition": condition
"/gkehub:v1/ServiceMeshMembershipState/controlPlaneManagement": control_plane_management
"/gkehub:v1/ServiceMeshMembershipState/dataPlaneManagement": data_plane_management
"/gkehub:v1/ServiceMeshSpec": service_mesh_spec
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-gkehub_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-gkehub_v1

### v0.72.0 (2024-03-31)

* Regenerated from discovery document revision 20240322

### v0.71.0 (2024-03-24)

* Regenerated from discovery document revision 20240318
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5244,6 +5244,44 @@ def update!(**args)
end
end

# Condition being reported.
class ServiceMeshCondition
include Google::Apis::Core::Hashable

# Unique identifier of the condition which describes the condition recognizable
# to the user.
# Corresponds to the JSON property `code`
# @return [String]
attr_accessor :code

# A short summary about the issue.
# Corresponds to the JSON property `details`
# @return [String]
attr_accessor :details

# Links contains actionable information.
# Corresponds to the JSON property `documentationLink`
# @return [String]
attr_accessor :documentation_link

# Severity level of the condition.
# Corresponds to the JSON property `severity`
# @return [String]
attr_accessor :severity

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@code = args[:code] if args.key?(:code)
@details = args[:details] if args.key?(:details)
@documentation_link = args[:documentation_link] if args.key?(:documentation_link)
@severity = args[:severity] if args.key?(:severity)
end
end

# Status of control plane management.
class ServiceMeshControlPlaneManagement
include Google::Apis::Core::Hashable
Expand Down Expand Up @@ -5325,6 +5363,11 @@ def update!(**args)
class ServiceMeshMembershipState
include Google::Apis::Core::Hashable

# Output only. List of condition reporting membership statues
# Corresponds to the JSON property `conditions`
# @return [Array<Google::Apis::GkehubV1::ServiceMeshCondition>]
attr_accessor :conditions

# Status of control plane management.
# Corresponds to the JSON property `controlPlaneManagement`
# @return [Google::Apis::GkehubV1::ServiceMeshControlPlaneManagement]
Expand All @@ -5341,6 +5384,7 @@ def initialize(**args)

# Update properties of this object
def update!(**args)
@conditions = args[:conditions] if args.key?(:conditions)
@control_plane_management = args[:control_plane_management] if args.key?(:control_plane_management)
@data_plane_management = args[:data_plane_management] if args.key?(:data_plane_management)
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module GkehubV1
# Version of the google-apis-gkehub_v1 gem
GEM_VERSION = "0.71.0"
GEM_VERSION = "0.72.0"

# Version of the code generator used to generate this client
GENERATOR_VERSION = "0.14.0"

# Revision of the discovery document this client was generated from
REVISION = "20240318"
REVISION = "20240322"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -868,6 +868,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end

class ServiceMeshCondition
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class ServiceMeshControlPlaneManagement
class Representation < Google::Apis::Core::JsonRepresentation; end

Expand Down Expand Up @@ -2394,6 +2400,16 @@ class Representation < Google::Apis::Core::JsonRepresentation
end
end

class ServiceMeshCondition
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
property :details, as: 'details'
property :documentation_link, as: 'documentationLink'
property :severity, as: 'severity'
end
end

class ServiceMeshControlPlaneManagement
# @private
class Representation < Google::Apis::Core::JsonRepresentation
Expand Down Expand Up @@ -2423,6 +2439,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
class ServiceMeshMembershipState
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :conditions, as: 'conditions', class: Google::Apis::GkehubV1::ServiceMeshCondition, decorator: Google::Apis::GkehubV1::ServiceMeshCondition::Representation

property :control_plane_management, as: 'controlPlaneManagement', class: Google::Apis::GkehubV1::ServiceMeshControlPlaneManagement, decorator: Google::Apis::GkehubV1::ServiceMeshControlPlaneManagement::Representation

property :data_plane_management, as: 'dataPlaneManagement', class: Google::Apis::GkehubV1::ServiceMeshDataPlaneManagement, decorator: Google::Apis::GkehubV1::ServiceMeshDataPlaneManagement::Representation
Expand Down

0 comments on commit 38cd9e5

Please sign in to comment.