google-apis-run_v2 0.54.0 → 0.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8a36971483ecfdb91799b4d2c0fda6680c6f04e19cbef68b85573f46ea008b2f
4
- data.tar.gz: 7a9ef54ad06eee39d04f42a19e699422a45531e55071243c91e30525ccd32b84
3
+ metadata.gz: 87495b33ababdccfd649dbac84f23d8f3f7e2c9518f02d29f5c4124ea7949900
4
+ data.tar.gz: 914ad14c406b4a2ad2fb646d8b616c84759697a9ce8ae732fd135f1d45f0285c
5
5
  SHA512:
6
- metadata.gz: af1ced855b3a78d8985de793a9168f20089a3f50e6879457038fffa57a89ae870c2ff16f99e389da7f3fca12515d7d87387cc71fa4571985e678a73c09e917f2
7
- data.tar.gz: b7a83b03de6e74a32734eeaa1063abb7995b594806eb5ab7571e3f6fa539690ea7c65e50a1d5304444435232f348ac58e24f998ec44242bdc8944a8d4c2fa07c
6
+ metadata.gz: 957b2b584c7afc7ca00104c09546c2f3ba45f0a8bfb027dd8b13cc71a8d17ec69a4b51c41663ed163d6453f1690312190d085cb6815c9b685dc81479de7822f5
7
+ data.tar.gz: 4449dd5cadd073aa844bd3f348cfbfc4c70bb1fd20f192c3f1fc2785c2b91ffb5047f5ef5790bc8239032e94adeb5aebf10ab1aaa0856a42b319cf33e4b484f9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-run_v2
2
2
 
3
+ ### v0.56.0 (2024-01-23)
4
+
5
+ * Regenerated from discovery document revision 20240107
6
+ * Regenerated using generator version 0.13.0
7
+
8
+ ### v0.55.0 (2023-12-17)
9
+
10
+ * Regenerated from discovery document revision 20231210
11
+
3
12
  ### v0.54.0 (2023-12-10)
4
13
 
5
14
  * Regenerated from discovery document revision 20231203
@@ -733,6 +733,32 @@ module Google
733
733
  end
734
734
  end
735
735
 
736
+ # Represents a GCS Bucket mounted as a volume.
737
+ class GoogleCloudRunV2GcsVolumeSource
738
+ include Google::Apis::Core::Hashable
739
+
740
+ # GCS Bucket name
741
+ # Corresponds to the JSON property `bucket`
742
+ # @return [String]
743
+ attr_accessor :bucket
744
+
745
+ # If true, mount the GCS bucket as read-only
746
+ # Corresponds to the JSON property `readOnly`
747
+ # @return [Boolean]
748
+ attr_accessor :read_only
749
+ alias_method :read_only?, :read_only
750
+
751
+ def initialize(**args)
752
+ update!(**args)
753
+ end
754
+
755
+ # Update properties of this object
756
+ def update!(**args)
757
+ @bucket = args[:bucket] if args.key?(:bucket)
758
+ @read_only = args[:read_only] if args.key?(:read_only)
759
+ end
760
+ end
761
+
736
762
  # GRPCAction describes an action involving a GRPC port.
737
763
  class GoogleCloudRunV2GrpcAction
738
764
  include Google::Apis::Core::Hashable
@@ -1157,6 +1183,38 @@ module Google
1157
1183
  end
1158
1184
  end
1159
1185
 
1186
+ # Represents an NFS mount.
1187
+ class GoogleCloudRunV2NfsVolumeSource
1188
+ include Google::Apis::Core::Hashable
1189
+
1190
+ # Path that is exported by the NFS server.
1191
+ # Corresponds to the JSON property `path`
1192
+ # @return [String]
1193
+ attr_accessor :path
1194
+
1195
+ # If true, mount the NFS volume as read only
1196
+ # Corresponds to the JSON property `readOnly`
1197
+ # @return [Boolean]
1198
+ attr_accessor :read_only
1199
+ alias_method :read_only?, :read_only
1200
+
1201
+ # Hostname or IP address of the NFS server
1202
+ # Corresponds to the JSON property `server`
1203
+ # @return [String]
1204
+ attr_accessor :server
1205
+
1206
+ def initialize(**args)
1207
+ update!(**args)
1208
+ end
1209
+
1210
+ # Update properties of this object
1211
+ def update!(**args)
1212
+ @path = args[:path] if args.key?(:path)
1213
+ @read_only = args[:read_only] if args.key?(:read_only)
1214
+ @server = args[:server] if args.key?(:server)
1215
+ end
1216
+ end
1217
+
1160
1218
  # Direct VPC egress settings.
1161
1219
  class GoogleCloudRunV2NetworkInterface
1162
1220
  include Google::Apis::Core::Hashable
@@ -1840,10 +1898,10 @@ module Google
1840
1898
  class GoogleCloudRunV2Service
1841
1899
  include Google::Apis::Core::Hashable
1842
1900
 
1843
- # Unstructured key value map that may be set by external tools to store and
1844
- # arbitrary metadata. They are not queryable and should be preserved when
1845
- # modifying objects. Cloud Run API v2 does not support annotations with `run.
1846
- # googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `
1901
+ # Optional. Unstructured key value map that may be set by external tools to
1902
+ # store and arbitrary metadata. They are not queryable and should be preserved
1903
+ # when modifying objects. Cloud Run API v2 does not support annotations with `
1904
+ # run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `
1847
1905
  # autoscaling.knative.dev` namespaces, and they will be rejected in new
1848
1906
  # resources. All system annotations in v1 now have a corresponding field in v2
1849
1907
  # Service. This field follows Kubernetes annotations' namespacing, limits, and
@@ -1931,15 +1989,15 @@ module Google
1931
1989
  # @return [String]
1932
1990
  attr_accessor :ingress
1933
1991
 
1934
- # Unstructured key value map that can be used to organize and categorize objects.
1935
- # User-provided labels are shared with Google's billing system, so they can be
1936
- # used to filter, or break down billing charges by team, component, environment,
1937
- # state, etc. For more information, visit https://cloud.google.com/resource-
1938
- # manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/
1939
- # configuring/labels. Cloud Run API v2 does not support labels with `run.
1940
- # googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `
1941
- # autoscaling.knative.dev` namespaces, and they will be rejected. All system
1942
- # labels in v1 now have a corresponding field in v2 Service.
1992
+ # Optional. Unstructured key value map that can be used to organize and
1993
+ # categorize objects. User-provided labels are shared with Google's billing
1994
+ # system, so they can be used to filter, or break down billing charges by team,
1995
+ # component, environment, state, etc. For more information, visit https://cloud.
1996
+ # google.com/resource-manager/docs/creating-managing-labels or https://cloud.
1997
+ # google.com/run/docs/configuring/labels. Cloud Run API v2 does not support
1998
+ # labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`
1999
+ # , or `autoscaling.knative.dev` namespaces, and they will be rejected. All
2000
+ # system labels in v1 now have a corresponding field in v2 Service.
1943
2001
  # Corresponds to the JSON property `labels`
1944
2002
  # @return [Hash<String,String>]
1945
2003
  attr_accessor :labels
@@ -2626,11 +2684,21 @@ module Google
2626
2684
  # @return [Google::Apis::RunV2::GoogleCloudRunV2EmptyDirVolumeSource]
2627
2685
  attr_accessor :empty_dir
2628
2686
 
2687
+ # Represents a GCS Bucket mounted as a volume.
2688
+ # Corresponds to the JSON property `gcs`
2689
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2GcsVolumeSource]
2690
+ attr_accessor :gcs
2691
+
2629
2692
  # Required. Volume's name.
2630
2693
  # Corresponds to the JSON property `name`
2631
2694
  # @return [String]
2632
2695
  attr_accessor :name
2633
2696
 
2697
+ # Represents an NFS mount.
2698
+ # Corresponds to the JSON property `nfs`
2699
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2NfsVolumeSource]
2700
+ attr_accessor :nfs
2701
+
2634
2702
  # The secret's value will be presented as the content of a file whose name is
2635
2703
  # defined in the item path. If no items are defined, the name of the file is the
2636
2704
  # secret.
@@ -2646,7 +2714,9 @@ module Google
2646
2714
  def update!(**args)
2647
2715
  @cloud_sql_instance = args[:cloud_sql_instance] if args.key?(:cloud_sql_instance)
2648
2716
  @empty_dir = args[:empty_dir] if args.key?(:empty_dir)
2717
+ @gcs = args[:gcs] if args.key?(:gcs)
2649
2718
  @name = args[:name] if args.key?(:name)
2719
+ @nfs = args[:nfs] if args.key?(:nfs)
2650
2720
  @secret = args[:secret] if args.key?(:secret)
2651
2721
  end
2652
2722
  end
@@ -2827,21 +2897,43 @@ module Google
2827
2897
  # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
2828
2898
  # email address that represents a Google group. For example, `admins@example.com`
2829
2899
  # . * `domain:`domain``: The G Suite domain (primary) that represents all the
2830
- # users of that domain. For example, `google.com` or `example.com`. * `deleted:
2831
- # user:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
2832
- # representing a user that has been recently deleted. For example, `alice@
2833
- # example.com?uid=123456789012345678901`. If the user is recovered, this value
2834
- # reverts to `user:`emailid`` and the recovered user retains the role in the
2835
- # binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address
2836
- # (plus unique identifier) representing a service account that has been recently
2837
- # deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
2900
+ # users of that domain. For example, `google.com` or `example.com`. * `principal:
2901
+ # //iam.googleapis.com/locations/global/workforcePools/`pool_id`/subject/`
2902
+ # subject_attribute_value``: A single identity in a workforce identity pool. * `
2903
+ # principalSet://iam.googleapis.com/locations/global/workforcePools/`pool_id`/
2904
+ # group/`group_id``: All workforce identities in a group. * `principalSet://iam.
2905
+ # googleapis.com/locations/global/workforcePools/`pool_id`/attribute.`
2906
+ # attribute_name`/`attribute_value``: All workforce identities with a specific
2907
+ # attribute value. * `principalSet://iam.googleapis.com/locations/global/
2908
+ # workforcePools/`pool_id`/*`: All identities in a workforce identity pool. * `
2909
+ # principal://iam.googleapis.com/projects/`project_number`/locations/global/
2910
+ # workloadIdentityPools/`pool_id`/subject/`subject_attribute_value``: A single
2911
+ # identity in a workload identity pool. * `principalSet://iam.googleapis.com/
2912
+ # projects/`project_number`/locations/global/workloadIdentityPools/`pool_id`/
2913
+ # group/`group_id``: A workload identity pool group. * `principalSet://iam.
2914
+ # googleapis.com/projects/`project_number`/locations/global/
2915
+ # workloadIdentityPools/`pool_id`/attribute.`attribute_name`/`attribute_value``:
2916
+ # All identities in a workload identity pool with a certain attribute. * `
2917
+ # principalSet://iam.googleapis.com/projects/`project_number`/locations/global/
2918
+ # workloadIdentityPools/`pool_id`/*`: All identities in a workload identity pool.
2919
+ # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
2920
+ # identifier) representing a user that has been recently deleted. For example, `
2921
+ # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
2922
+ # value reverts to `user:`emailid`` and the recovered user retains the role in
2923
+ # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
2924
+ # address (plus unique identifier) representing a service account that has been
2925
+ # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
2838
2926
  # 123456789012345678901`. If the service account is undeleted, this value
2839
2927
  # reverts to `serviceAccount:`emailid`` and the undeleted service account
2840
2928
  # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
2841
2929
  # An email address (plus unique identifier) representing a Google group that has
2842
2930
  # been recently deleted. For example, `admins@example.com?uid=
2843
2931
  # 123456789012345678901`. If the group is recovered, this value reverts to `
2844
- # group:`emailid`` and the recovered group retains the role in the binding.
2932
+ # group:`emailid`` and the recovered group retains the role in the binding. * `
2933
+ # deleted:principal://iam.googleapis.com/locations/global/workforcePools/`
2934
+ # pool_id`/subject/`subject_attribute_value``: Deleted single identity in a
2935
+ # workforce identity pool. For example, `deleted:principal://iam.googleapis.com/
2936
+ # locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
2845
2937
  # Corresponds to the JSON property `members`
2846
2938
  # @return [Array<String>]
2847
2939
  attr_accessor :members
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RunV2
18
18
  # Version of the google-apis-run_v2 gem
19
- GEM_VERSION = "0.54.0"
19
+ GEM_VERSION = "0.56.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231203"
25
+ REVISION = "20240107"
26
26
  end
27
27
  end
28
28
  end
@@ -100,6 +100,12 @@ module Google
100
100
  include Google::Apis::Core::JsonObjectSupport
101
101
  end
102
102
 
103
+ class GoogleCloudRunV2GcsVolumeSource
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
103
109
  class GoogleCloudRunV2GrpcAction
104
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
111
 
@@ -154,6 +160,12 @@ module Google
154
160
  include Google::Apis::Core::JsonObjectSupport
155
161
  end
156
162
 
163
+ class GoogleCloudRunV2NfsVolumeSource
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
157
169
  class GoogleCloudRunV2NetworkInterface
158
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
171
 
@@ -532,6 +544,14 @@ module Google
532
544
  end
533
545
  end
534
546
 
547
+ class GoogleCloudRunV2GcsVolumeSource
548
+ # @private
549
+ class Representation < Google::Apis::Core::JsonRepresentation
550
+ property :bucket, as: 'bucket'
551
+ property :read_only, as: 'readOnly'
552
+ end
553
+ end
554
+
535
555
  class GoogleCloudRunV2GrpcAction
536
556
  # @private
537
557
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -638,6 +658,15 @@ module Google
638
658
  end
639
659
  end
640
660
 
661
+ class GoogleCloudRunV2NfsVolumeSource
662
+ # @private
663
+ class Representation < Google::Apis::Core::JsonRepresentation
664
+ property :path, as: 'path'
665
+ property :read_only, as: 'readOnly'
666
+ property :server, as: 'server'
667
+ end
668
+ end
669
+
641
670
  class GoogleCloudRunV2NetworkInterface
642
671
  # @private
643
672
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -953,7 +982,11 @@ module Google
953
982
 
954
983
  property :empty_dir, as: 'emptyDir', class: Google::Apis::RunV2::GoogleCloudRunV2EmptyDirVolumeSource, decorator: Google::Apis::RunV2::GoogleCloudRunV2EmptyDirVolumeSource::Representation
955
984
 
985
+ property :gcs, as: 'gcs', class: Google::Apis::RunV2::GoogleCloudRunV2GcsVolumeSource, decorator: Google::Apis::RunV2::GoogleCloudRunV2GcsVolumeSource::Representation
986
+
956
987
  property :name, as: 'name'
988
+ property :nfs, as: 'nfs', class: Google::Apis::RunV2::GoogleCloudRunV2NfsVolumeSource, decorator: Google::Apis::RunV2::GoogleCloudRunV2NfsVolumeSource::Representation
989
+
957
990
  property :secret, as: 'secret', class: Google::Apis::RunV2::GoogleCloudRunV2SecretVolumeSource, decorator: Google::Apis::RunV2::GoogleCloudRunV2SecretVolumeSource::Representation
958
991
 
959
992
  end
@@ -35,6 +35,8 @@ module Google
35
35
  #
36
36
  # @see https://cloud.google.com/run/
37
37
  class CloudRunService < Google::Apis::Core::BaseService
38
+ DEFAULT_ENDPOINT_TEMPLATE = "https://run.$UNIVERSE_DOMAIN$/"
39
+
38
40
  # @return [String]
39
41
  # API key. Your API key identifies your project and provides you with API access,
40
42
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -46,7 +48,7 @@ module Google
46
48
  attr_accessor :quota_user
47
49
 
48
50
  def initialize
49
- super('https://run.googleapis.com/', '',
51
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
50
52
  client_name: 'google-apis-run_v2',
51
53
  client_version: Google::Apis::RunV2::GEM_VERSION)
52
54
  @batch_path = 'batch'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-run_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.54.0
4
+ version: 0.56.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-10 00:00:00.000000000 Z
11
+ date: 2024-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.11.0
19
+ version: 0.12.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.11.0
29
+ version: 0.12.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.54.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.56.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v2
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.19
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Run Admin API V2