Skip to content

Commit b603cb6

Browse files
feat: Automated regeneration of apphub v1 client (#25051)
Auto-created at 2025-11-23 10:11:31 +0000 using the toys pull request generator.
1 parent f590bb4 commit b603cb6

File tree

6 files changed

+228
-9
lines changed

6 files changed

+228
-9
lines changed

api_names_out.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47276,6 +47276,12 @@
4727647276
"/apphub:v1/BlobstoreLocation": blobstore_location
4727747277
"/apphub:v1/BlobstoreLocation/policyId": policy_id
4727847278
"/apphub:v1/BlobstoreLocation/policyId/policy_id": policy_id
47279+
"/apphub:v1/Boundary": boundary
47280+
"/apphub:v1/Boundary/createTime": create_time
47281+
"/apphub:v1/Boundary/crmNode": crm_node
47282+
"/apphub:v1/Boundary/name": name
47283+
"/apphub:v1/Boundary/type": type
47284+
"/apphub:v1/Boundary/updateTime": update_time
4727947285
"/apphub:v1/CancelOperationRequest": cancel_operation_request
4728047286
"/apphub:v1/CloudAsset": cloud_asset
4728147287
"/apphub:v1/CloudAsset/assetName": asset_name
@@ -47316,6 +47322,8 @@
4731647322
"/apphub:v1/ExtraParameter/regionalMigDistributionPolicy": regional_mig_distribution_policy
4731747323
"/apphub:v1/FunctionalType": functional_type
4731847324
"/apphub:v1/FunctionalType/type": type
47325+
"/apphub:v1/Identity": identity
47326+
"/apphub:v1/Identity/principal": principal
4731947327
"/apphub:v1/IsolationExpectations": isolation_expectations
4732047328
"/apphub:v1/IsolationExpectations/requirementOverride": requirement_override
4732147329
"/apphub:v1/IsolationExpectations/ziOrgPolicy": zi_org_policy
@@ -47457,6 +47465,7 @@
4745747465
"/apphub:v1/ServiceProperties/extendedMetadata/extended_metadatum": extended_metadatum
4745847466
"/apphub:v1/ServiceProperties/functionalType": functional_type
4745947467
"/apphub:v1/ServiceProperties/gcpProject": gcp_project
47468+
"/apphub:v1/ServiceProperties/identity": identity
4746047469
"/apphub:v1/ServiceProperties/location": location
4746147470
"/apphub:v1/ServiceProperties/registrationType": registration_type
4746247471
"/apphub:v1/ServiceProperties/zone": zone
@@ -47502,6 +47511,7 @@
4750247511
"/apphub:v1/WorkloadProperties/extendedMetadata/extended_metadatum": extended_metadatum
4750347512
"/apphub:v1/WorkloadProperties/functionalType": functional_type
4750447513
"/apphub:v1/WorkloadProperties/gcpProject": gcp_project
47514+
"/apphub:v1/WorkloadProperties/identity": identity
4750547515
"/apphub:v1/WorkloadProperties/location": location
4750647516
"/apphub:v1/WorkloadProperties/zone": zone
4750747517
"/apphub:v1/WorkloadReference": workload_reference
@@ -47598,6 +47608,8 @@
4759847608
"/apphub:v1/apphub.projects.locations.discoveredWorkloads.lookup/uri": uri
4759947609
"/apphub:v1/apphub.projects.locations.get": get_project_location
4760047610
"/apphub:v1/apphub.projects.locations.get/name": name
47611+
"/apphub:v1/apphub.projects.locations.getBoundary": get_project_location_boundary
47612+
"/apphub:v1/apphub.projects.locations.getBoundary/name": name
4760147613
"/apphub:v1/apphub.projects.locations.list": list_project_locations
4760247614
"/apphub:v1/apphub.projects.locations.list/extraLocationTypes": extra_location_types
4760347615
"/apphub:v1/apphub.projects.locations.list/filter": filter
@@ -47633,6 +47645,10 @@
4763347645
"/apphub:v1/apphub.projects.locations.serviceProjectAttachments.list/pageSize": page_size
4763447646
"/apphub:v1/apphub.projects.locations.serviceProjectAttachments.list/pageToken": page_token
4763547647
"/apphub:v1/apphub.projects.locations.serviceProjectAttachments.list/parent": parent
47648+
"/apphub:v1/apphub.projects.locations.updateBoundary": update_project_location_boundary
47649+
"/apphub:v1/apphub.projects.locations.updateBoundary/name": name
47650+
"/apphub:v1/apphub.projects.locations.updateBoundary/requestId": request_id
47651+
"/apphub:v1/apphub.projects.locations.updateBoundary/updateMask": update_mask
4763647652
"/apphub:v1/fields": fields
4763747653
"/apphub:v1/key": key
4763847654
"/apphub:v1/quotaUser": quota_user

generated/google-apis-apphub_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-apphub_v1
22

3+
### v0.15.0 (2025-11-23)
4+
5+
* Regenerated from discovery document revision 20251114
6+
37
### v0.14.0 (2025-11-16)
48

59
* Regenerated from discovery document revision 20251110

generated/google-apis-apphub_v1/lib/google/apis/apphub_v1/classes.rb

Lines changed: 82 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,51 @@ def update!(**args)
310310
end
311311
end
312312

313+
# Application management boundary.
314+
class Boundary
315+
include Google::Apis::Core::Hashable
316+
317+
# Output only. Create time.
318+
# Corresponds to the JSON property `createTime`
319+
# @return [String]
320+
attr_accessor :create_time
321+
322+
# Optional. The resource name of the CRM node being attached to the boundary.
323+
# Format: `projects/`project-number`` or `projects/`project-id``
324+
# Corresponds to the JSON property `crmNode`
325+
# @return [String]
326+
attr_accessor :crm_node
327+
328+
# Identifier. The resource name of the boundary. Format: "projects/`project`/
329+
# locations/`location`/boundary"
330+
# Corresponds to the JSON property `name`
331+
# @return [String]
332+
attr_accessor :name
333+
334+
# Output only. Boundary type.
335+
# Corresponds to the JSON property `type`
336+
# @return [String]
337+
attr_accessor :type
338+
339+
# Output only. Update time.
340+
# Corresponds to the JSON property `updateTime`
341+
# @return [String]
342+
attr_accessor :update_time
343+
344+
def initialize(**args)
345+
update!(**args)
346+
end
347+
348+
# Update properties of this object
349+
def update!(**args)
350+
@create_time = args[:create_time] if args.key?(:create_time)
351+
@crm_node = args[:crm_node] if args.key?(:crm_node)
352+
@name = args[:name] if args.key?(:name)
353+
@type = args[:type] if args.key?(:type)
354+
@update_time = args[:update_time] if args.key?(:update_time)
355+
end
356+
end
357+
313358
# The request message for Operations.CancelOperation.
314359
class CancelOperationRequest
315360
include Google::Apis::Core::Hashable
@@ -589,6 +634,28 @@ def update!(**args)
589634
end
590635
end
591636

637+
# The identity associated with a service or workload.
638+
class Identity
639+
include Google::Apis::Core::Hashable
640+
641+
# Output only. Principal of the identity. Supported formats: * `sa://my-sa@xxxx.
642+
# iam.gserviceaccount.com` for GCP Service Account * `principal://POOL_ID.global.
643+
# PROJECT_NUMBER.workload.id.goog/ns/NAMESPACE_ID/sa/MANAGED_IDENTITY_ID` for
644+
# Managed Workload Identity
645+
# Corresponds to the JSON property `principal`
646+
# @return [String]
647+
attr_accessor :principal
648+
649+
def initialize(**args)
650+
update!(**args)
651+
end
652+
653+
# Update properties of this object
654+
def update!(**args)
655+
@principal = args[:principal] if args.key?(:principal)
656+
end
657+
end
658+
592659
# Response for ListApplications.
593660
class ListApplicationsResponse
594661
include Google::Apis::Core::Hashable
@@ -722,8 +789,9 @@ class ListOperationsResponse
722789
attr_accessor :operations
723790

724791
# Unordered list. Unreachable resources. Populated when the request sets `
725-
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
726-
# when attempting to list all resources across all supported locations.
792+
# ListOperationsRequest.return_partial_success` and reads across collections.
793+
# For example, when attempting to list all resources across all supported
794+
# locations.
727795
# Corresponds to the JSON property `unreachable`
728796
# @return [Array<String>]
729797
attr_accessor :unreachable
@@ -1386,6 +1454,11 @@ class ServiceProperties
13861454
# @return [String]
13871455
attr_accessor :gcp_project
13881456

1457+
# The identity associated with a service or workload.
1458+
# Corresponds to the JSON property `identity`
1459+
# @return [Google::Apis::ApphubV1::Identity]
1460+
attr_accessor :identity
1461+
13891462
# Output only. The location that the underlying resource resides in, for example,
13901463
# us-west1.
13911464
# Corresponds to the JSON property `location`
@@ -1412,6 +1485,7 @@ def update!(**args)
14121485
@extended_metadata = args[:extended_metadata] if args.key?(:extended_metadata)
14131486
@functional_type = args[:functional_type] if args.key?(:functional_type)
14141487
@gcp_project = args[:gcp_project] if args.key?(:gcp_project)
1488+
@identity = args[:identity] if args.key?(:identity)
14151489
@location = args[:location] if args.key?(:location)
14161490
@registration_type = args[:registration_type] if args.key?(:registration_type)
14171491
@zone = args[:zone] if args.key?(:zone)
@@ -1680,6 +1754,11 @@ class WorkloadProperties
16801754
# @return [String]
16811755
attr_accessor :gcp_project
16821756

1757+
# The identity associated with a service or workload.
1758+
# Corresponds to the JSON property `identity`
1759+
# @return [Google::Apis::ApphubV1::Identity]
1760+
attr_accessor :identity
1761+
16831762
# Output only. The location that the underlying compute resource resides in (for
16841763
# example, us-west1).
16851764
# Corresponds to the JSON property `location`
@@ -1701,6 +1780,7 @@ def update!(**args)
17011780
@extended_metadata = args[:extended_metadata] if args.key?(:extended_metadata)
17021781
@functional_type = args[:functional_type] if args.key?(:functional_type)
17031782
@gcp_project = args[:gcp_project] if args.key?(:gcp_project)
1783+
@identity = args[:identity] if args.key?(:identity)
17041784
@location = args[:location] if args.key?(:location)
17051785
@zone = args[:zone] if args.key?(:zone)
17061786
end

generated/google-apis-apphub_v1/lib/google/apis/apphub_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module ApphubV1
1818
# Version of the google-apis-apphub_v1 gem
19-
GEM_VERSION = "0.14.0"
19+
GEM_VERSION = "0.15.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20251110"
25+
REVISION = "20251114"
2626
end
2727
end
2828
end

generated/google-apis-apphub_v1/lib/google/apis/apphub_v1/representations.rb

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
5252
include Google::Apis::Core::JsonObjectSupport
5353
end
5454

55+
class Boundary
56+
class Representation < Google::Apis::Core::JsonRepresentation; end
57+
58+
include Google::Apis::Core::JsonObjectSupport
59+
end
60+
5561
class CancelOperationRequest
5662
class Representation < Google::Apis::Core::JsonRepresentation; end
5763

@@ -124,6 +130,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
124130
include Google::Apis::Core::JsonObjectSupport
125131
end
126132

133+
class Identity
134+
class Representation < Google::Apis::Core::JsonRepresentation; end
135+
136+
include Google::Apis::Core::JsonObjectSupport
137+
end
138+
127139
class ListApplicationsResponse
128140
class Representation < Google::Apis::Core::JsonRepresentation; end
129141

@@ -358,6 +370,17 @@ class Representation < Google::Apis::Core::JsonRepresentation
358370
end
359371
end
360372

373+
class Boundary
374+
# @private
375+
class Representation < Google::Apis::Core::JsonRepresentation
376+
property :create_time, as: 'createTime'
377+
property :crm_node, as: 'crmNode'
378+
property :name, as: 'name'
379+
property :type, as: 'type'
380+
property :update_time, as: 'updateTime'
381+
end
382+
end
383+
361384
class CancelOperationRequest
362385
# @private
363386
class Representation < Google::Apis::Core::JsonRepresentation
@@ -450,6 +473,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
450473
end
451474
end
452475

476+
class Identity
477+
# @private
478+
class Representation < Google::Apis::Core::JsonRepresentation
479+
property :principal, as: 'principal'
480+
end
481+
end
482+
453483
class ListApplicationsResponse
454484
# @private
455485
class Representation < Google::Apis::Core::JsonRepresentation
@@ -662,6 +692,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
662692
property :functional_type, as: 'functionalType', class: Google::Apis::ApphubV1::FunctionalType, decorator: Google::Apis::ApphubV1::FunctionalType::Representation
663693

664694
property :gcp_project, as: 'gcpProject'
695+
property :identity, as: 'identity', class: Google::Apis::ApphubV1::Identity, decorator: Google::Apis::ApphubV1::Identity::Representation
696+
665697
property :location, as: 'location'
666698
property :registration_type, as: 'registrationType', class: Google::Apis::ApphubV1::RegistrationType, decorator: Google::Apis::ApphubV1::RegistrationType::Representation
667699

@@ -736,6 +768,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
736768
property :functional_type, as: 'functionalType', class: Google::Apis::ApphubV1::FunctionalType, decorator: Google::Apis::ApphubV1::FunctionalType::Representation
737769

738770
property :gcp_project, as: 'gcpProject'
771+
property :identity, as: 'identity', class: Google::Apis::ApphubV1::Identity, decorator: Google::Apis::ApphubV1::Identity::Representation
772+
739773
property :location, as: 'location'
740774
property :zone, as: 'zone'
741775
end

0 commit comments

Comments
 (0)