Skip to content

Commit af52e61

Browse files
feat: Automated regeneration of connectors v2 client (googleapis#22591)
Auto-created at 2025-04-27 10:44:32 +0000 using the toys pull request generator.
1 parent b4710e9 commit af52e61

File tree

5 files changed

+20
-2
lines changed

5 files changed

+20
-2
lines changed

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121344,6 +121344,7 @@
121344121344
"/connectors:v2/InputParameter/nullable": nullable
121345121345
"/connectors:v2/Instance": instance
121346121346
"/connectors:v2/Instance/consumerDefinedName": consumer_defined_name
121347+
"/connectors:v2/Instance/consumerProjectNumber": consumer_project_number
121347121348
"/connectors:v2/Instance/createTime": create_time
121348121349
"/connectors:v2/Instance/instanceType": instance_type
121349121350
"/connectors:v2/Instance/labels": labels

generated/google-apis-connectors_v2/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-connectors_v2
22

3+
### v0.23.0 (2025-04-27)
4+
5+
* Regenerated from discovery document revision 20250423
6+
37
### v0.22.0 (2025-04-06)
48

59
* Regenerated from discovery document revision 20250327

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -674,6 +674,17 @@ class Instance
674674
# @return [String]
675675
attr_accessor :consumer_defined_name
676676

677+
# Optional. The consumer_project_number associated with this Apigee instance.
678+
# This field is added specifically to support Apigee integration with SLM
679+
# Rollout and UMM. It represents the numerical project ID of the GCP project
680+
# that consumes this Apigee instance. It is used for SLM rollout notifications
681+
# and UMM integration, enabling proper mapping to customer projects and log
682+
# delivery for Apigee instances. This field complements consumer_project_id and
683+
# may be used for specific Apigee scenarios where the numerical ID is required.
684+
# Corresponds to the JSON property `consumerProjectNumber`
685+
# @return [String]
686+
attr_accessor :consumer_project_number
687+
677688
# Output only. Timestamp when the resource was created.
678689
# Corresponds to the JSON property `createTime`
679690
# @return [String]
@@ -790,6 +801,7 @@ def initialize(**args)
790801
# Update properties of this object
791802
def update!(**args)
792803
@consumer_defined_name = args[:consumer_defined_name] if args.key?(:consumer_defined_name)
804+
@consumer_project_number = args[:consumer_project_number] if args.key?(:consumer_project_number)
793805
@create_time = args[:create_time] if args.key?(:create_time)
794806
@instance_type = args[:instance_type] if args.key?(:instance_type)
795807
@labels = args[:labels] if args.key?(:labels)

generated/google-apis-connectors_v2/lib/google/apis/connectors_v2/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 ConnectorsV2
1818
# Version of the google-apis-connectors_v2 gem
19-
GEM_VERSION = "0.22.0"
19+
GEM_VERSION = "0.23.0"
2020

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

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

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,7 @@ class Instance
478478
# @private
479479
class Representation < Google::Apis::Core::JsonRepresentation
480480
property :consumer_defined_name, as: 'consumerDefinedName'
481+
property :consumer_project_number, as: 'consumerProjectNumber'
481482
property :create_time, as: 'createTime'
482483
property :instance_type, as: 'instanceType'
483484
hash :labels, as: 'labels'

0 commit comments

Comments
 (0)