google-api-client 0.27.2 → 0.27.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +45 -0
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +45 -0
- data/generated/google/apis/bigtableadmin_v2/representations.rb +17 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudkms_v1.rb +4 -1
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +2 -2
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1198 -13
- data/generated/google/apis/compute_alpha/representations.rb +406 -0
- data/generated/google/apis/compute_alpha/service.rb +200 -4
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +23 -9
- data/generated/google/apis/compute_beta/representations.rb +2 -0
- data/generated/google/apis/compute_beta/service.rb +41 -4
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +65 -6
- data/generated/google/apis/compute_v1/representations.rb +19 -0
- data/generated/google/apis/compute_v1/service.rb +4 -4
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +145 -0
- data/generated/google/apis/container_v1/representations.rb +54 -0
- data/generated/google/apis/container_v1/service.rb +69 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +177 -0
- data/generated/google/apis/container_v1beta1/representations.rb +70 -0
- data/generated/google/apis/container_v1beta1/service.rb +69 -0
- data/generated/google/apis/containeranalysis_v1alpha1.rb +35 -0
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +2780 -0
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1106 -0
- data/generated/google/apis/containeranalysis_v1alpha1/service.rb +1329 -0
- data/generated/google/apis/containeranalysis_v1beta1.rb +35 -0
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +2702 -0
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +1152 -0
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +932 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +84 -14
- data/generated/google/apis/content_v2/representations.rb +24 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +70 -11
- data/generated/google/apis/content_v2_1/representations.rb +25 -3
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +20 -20
- data/generated/google/apis/dialogflow_v2/service.rb +6 -6
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +20 -20
- data/generated/google/apis/dialogflow_v2beta1/service.rb +6 -6
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +19 -10
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +31 -22
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +19 -10
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +9 -2
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +1 -0
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +7 -0
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +1 -0
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +18 -0
- data/generated/google/apis/firestore_v1/representations.rb +6 -0
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +18 -0
- data/generated/google/apis/firestore_v1beta1/representations.rb +6 -0
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +2 -1
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +169 -0
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +33 -0
- data/generated/google/apis/jobs_v3p1beta1/service.rb +32 -0
- data/generated/google/apis/libraryagent_v1.rb +34 -0
- data/generated/google/apis/libraryagent_v1/classes.rb +151 -0
- data/generated/google/apis/libraryagent_v1/representations.rb +86 -0
- data/generated/google/apis/libraryagent_v1/service.rb +265 -0
- data/generated/google/apis/oslogin_v1.rb +2 -2
- data/generated/google/apis/oslogin_v1/service.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha.rb +2 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +1 -1
- data/generated/google/apis/oslogin_v1beta.rb +2 -2
- data/generated/google/apis/oslogin_v1beta/service.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1.rb +34 -0
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +3858 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1196 -0
- data/generated/google/apis/remotebuildexecution_v1/service.rb +374 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +34 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +3709 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1113 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +400 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +34 -0
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +4460 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1431 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +542 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +12 -0
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +2 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +12 -0
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +2 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +12 -0
- data/generated/google/apis/serviceusage_v1/representations.rb +2 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +12 -0
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +2 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +4 -4
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +5 -5
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +9 -0
- data/generated/google/apis/testing_v1/representations.rb +1 -0
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +7 -0
- data/generated/google/apis/websecurityscanner_v1alpha/representations.rb +2 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +26 -2
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
26
26
|
module ComputeV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20181217'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -33,8 +33,10 @@ module Google
|
|
33
33
|
attr_accessor :accelerator_count
|
34
34
|
|
35
35
|
# Full or partial URL of the accelerator type resource to attach to this
|
36
|
-
# instance.
|
37
|
-
#
|
36
|
+
# instance. For example: projects/my-project/zones/us-central1-c/
|
37
|
+
# acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template,
|
38
|
+
# specify only the accelerator name. See GPUs on Compute Engine for a full list
|
39
|
+
# of accelerator types.
|
38
40
|
# Corresponds to the JSON property `acceleratorType`
|
39
41
|
# @return [String]
|
40
42
|
attr_accessor :accelerator_type
|
@@ -1043,7 +1045,7 @@ module Google
|
|
1043
1045
|
# instance. This name can be used to reference the device for mounting, resizing,
|
1044
1046
|
# and so on, from within the instance.
|
1045
1047
|
# If not specified, the server chooses a default device name to apply to this
|
1046
|
-
# disk, in the form persistent-
|
1048
|
+
# disk, in the form persistent-disk-x, where x is a number assigned by Google
|
1047
1049
|
# Compute Engine. This field is only applicable for persistent disks.
|
1048
1050
|
# Corresponds to the JSON property `deviceName`
|
1049
1051
|
# @return [String]
|
@@ -1911,7 +1913,7 @@ module Google
|
|
1911
1913
|
class AutoscalingPolicyLoadBalancingUtilization
|
1912
1914
|
include Google::Apis::Core::Hashable
|
1913
1915
|
|
1914
|
-
# Fraction of backend capacity utilization (set in HTTP(
|
1916
|
+
# Fraction of backend capacity utilization (set in HTTP(S) load balancing
|
1915
1917
|
# configuration) that autoscaler should maintain. Must be a positive float value.
|
1916
1918
|
# If not defined, the default is 0.8.
|
1917
1919
|
# Corresponds to the JSON property `utilizationTarget`
|
@@ -7151,6 +7153,11 @@ module Google
|
|
7151
7153
|
# @return [Array<Google::Apis::ComputeV1::AcceleratorConfig>]
|
7152
7154
|
attr_accessor :guest_accelerators
|
7153
7155
|
|
7156
|
+
#
|
7157
|
+
# Corresponds to the JSON property `hostname`
|
7158
|
+
# @return [String]
|
7159
|
+
attr_accessor :hostname
|
7160
|
+
|
7154
7161
|
# [Output Only] The unique identifier for the resource. This identifier is
|
7155
7162
|
# defined by the server.
|
7156
7163
|
# Corresponds to the JSON property `id`
|
@@ -7289,6 +7296,7 @@ module Google
|
|
7289
7296
|
@description = args[:description] if args.key?(:description)
|
7290
7297
|
@disks = args[:disks] if args.key?(:disks)
|
7291
7298
|
@guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators)
|
7299
|
+
@hostname = args[:hostname] if args.key?(:hostname)
|
7292
7300
|
@id = args[:id] if args.key?(:id)
|
7293
7301
|
@kind = args[:kind] if args.key?(:kind)
|
7294
7302
|
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
|
@@ -7778,6 +7786,12 @@ module Google
|
|
7778
7786
|
class InstanceGroupManager
|
7779
7787
|
include Google::Apis::Core::Hashable
|
7780
7788
|
|
7789
|
+
# The autohealing policy for this managed instance group. You can specify only
|
7790
|
+
# one value.
|
7791
|
+
# Corresponds to the JSON property `autoHealingPolicies`
|
7792
|
+
# @return [Array<Google::Apis::ComputeV1::InstanceGroupManagerAutoHealingPolicy>]
|
7793
|
+
attr_accessor :auto_healing_policies
|
7794
|
+
|
7781
7795
|
# The base instance name to use for instances in this group. The value must be 1-
|
7782
7796
|
# 58 characters long. Instances are named by appending a hyphen and a random
|
7783
7797
|
# four-character string to the base instance name. The base instance name must
|
@@ -7895,6 +7909,7 @@ module Google
|
|
7895
7909
|
|
7896
7910
|
# Update properties of this object
|
7897
7911
|
def update!(**args)
|
7912
|
+
@auto_healing_policies = args[:auto_healing_policies] if args.key?(:auto_healing_policies)
|
7898
7913
|
@base_instance_name = args[:base_instance_name] if args.key?(:base_instance_name)
|
7899
7914
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
7900
7915
|
@current_actions = args[:current_actions] if args.key?(:current_actions)
|
@@ -8121,6 +8136,36 @@ module Google
|
|
8121
8136
|
end
|
8122
8137
|
end
|
8123
8138
|
|
8139
|
+
#
|
8140
|
+
class InstanceGroupManagerAutoHealingPolicy
|
8141
|
+
include Google::Apis::Core::Hashable
|
8142
|
+
|
8143
|
+
# The URL for the health check that signals autohealing.
|
8144
|
+
# Corresponds to the JSON property `healthCheck`
|
8145
|
+
# @return [String]
|
8146
|
+
attr_accessor :health_check
|
8147
|
+
|
8148
|
+
# The number of seconds that the managed instance group waits before it applies
|
8149
|
+
# autohealing policies to new instances or recently recreated instances. This
|
8150
|
+
# initial delay allows instances to initialize and run their startup scripts
|
8151
|
+
# before the instance group determines that they are UNHEALTHY. This prevents
|
8152
|
+
# the managed instance group from recreating its instances prematurely. This
|
8153
|
+
# value must be from range [0, 3600].
|
8154
|
+
# Corresponds to the JSON property `initialDelaySec`
|
8155
|
+
# @return [Fixnum]
|
8156
|
+
attr_accessor :initial_delay_sec
|
8157
|
+
|
8158
|
+
def initialize(**args)
|
8159
|
+
update!(**args)
|
8160
|
+
end
|
8161
|
+
|
8162
|
+
# Update properties of this object
|
8163
|
+
def update!(**args)
|
8164
|
+
@health_check = args[:health_check] if args.key?(:health_check)
|
8165
|
+
@initial_delay_sec = args[:initial_delay_sec] if args.key?(:initial_delay_sec)
|
8166
|
+
end
|
8167
|
+
end
|
8168
|
+
|
8124
8169
|
# [Output Only] A list of managed instance groups.
|
8125
8170
|
class InstanceGroupManagerList
|
8126
8171
|
include Google::Apis::Core::Hashable
|
@@ -9694,8 +9739,7 @@ module Google
|
|
9694
9739
|
attr_accessor :kind
|
9695
9740
|
|
9696
9741
|
# Type of link requested. This field indicates speed of each of the links in the
|
9697
|
-
# bundle, not the entire bundle.
|
9698
|
-
# interconnect. Options: Ethernet_10G_LR
|
9742
|
+
# bundle, not the entire bundle.
|
9699
9743
|
# Corresponds to the JSON property `linkType`
|
9700
9744
|
# @return [String]
|
9701
9745
|
attr_accessor :link_type
|
@@ -10784,6 +10828,13 @@ module Google
|
|
10784
10828
|
# @return [String]
|
10785
10829
|
attr_accessor :self_link
|
10786
10830
|
|
10831
|
+
# [Output Only] The status of this InterconnectLocation. If the status is
|
10832
|
+
# AVAILABLE, new Interconnects may be provisioned in this InterconnectLocation.
|
10833
|
+
# Otherwise, no new Interconnects may be provisioned.
|
10834
|
+
# Corresponds to the JSON property `status`
|
10835
|
+
# @return [String]
|
10836
|
+
attr_accessor :status
|
10837
|
+
|
10787
10838
|
def initialize(**args)
|
10788
10839
|
update!(**args)
|
10789
10840
|
end
|
@@ -10804,6 +10855,7 @@ module Google
|
|
10804
10855
|
@peeringdb_facility_id = args[:peeringdb_facility_id] if args.key?(:peeringdb_facility_id)
|
10805
10856
|
@region_infos = args[:region_infos] if args.key?(:region_infos)
|
10806
10857
|
@self_link = args[:self_link] if args.key?(:self_link)
|
10858
|
+
@status = args[:status] if args.key?(:status)
|
10807
10859
|
end
|
10808
10860
|
end
|
10809
10861
|
|
@@ -15158,6 +15210,12 @@ module Google
|
|
15158
15210
|
# @return [String]
|
15159
15211
|
attr_accessor :metric
|
15160
15212
|
|
15213
|
+
# [Output Only] Owning resource. This is the resource on which this quota is
|
15214
|
+
# applied.
|
15215
|
+
# Corresponds to the JSON property `owner`
|
15216
|
+
# @return [String]
|
15217
|
+
attr_accessor :owner
|
15218
|
+
|
15161
15219
|
# [Output Only] Current usage of this metric.
|
15162
15220
|
# Corresponds to the JSON property `usage`
|
15163
15221
|
# @return [Float]
|
@@ -15171,6 +15229,7 @@ module Google
|
|
15171
15229
|
def update!(**args)
|
15172
15230
|
@limit = args[:limit] if args.key?(:limit)
|
15173
15231
|
@metric = args[:metric] if args.key?(:metric)
|
15232
|
+
@owner = args[:owner] if args.key?(:owner)
|
15174
15233
|
@usage = args[:usage] if args.key?(:usage)
|
15175
15234
|
end
|
15176
15235
|
end
|
@@ -1006,6 +1006,12 @@ module Google
|
|
1006
1006
|
include Google::Apis::Core::JsonObjectSupport
|
1007
1007
|
end
|
1008
1008
|
|
1009
|
+
class InstanceGroupManagerAutoHealingPolicy
|
1010
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1011
|
+
|
1012
|
+
include Google::Apis::Core::JsonObjectSupport
|
1013
|
+
end
|
1014
|
+
|
1009
1015
|
class InstanceGroupManagerList
|
1010
1016
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1011
1017
|
|
@@ -5007,6 +5013,7 @@ module Google
|
|
5007
5013
|
|
5008
5014
|
collection :guest_accelerators, as: 'guestAccelerators', class: Google::Apis::ComputeV1::AcceleratorConfig, decorator: Google::Apis::ComputeV1::AcceleratorConfig::Representation
|
5009
5015
|
|
5016
|
+
property :hostname, as: 'hostname'
|
5010
5017
|
property :id, :numeric_string => true, as: 'id'
|
5011
5018
|
property :kind, as: 'kind'
|
5012
5019
|
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
|
@@ -5151,6 +5158,8 @@ module Google
|
|
5151
5158
|
class InstanceGroupManager
|
5152
5159
|
# @private
|
5153
5160
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5161
|
+
collection :auto_healing_policies, as: 'autoHealingPolicies', class: Google::Apis::ComputeV1::InstanceGroupManagerAutoHealingPolicy, decorator: Google::Apis::ComputeV1::InstanceGroupManagerAutoHealingPolicy::Representation
|
5162
|
+
|
5154
5163
|
property :base_instance_name, as: 'baseInstanceName'
|
5155
5164
|
property :creation_timestamp, as: 'creationTimestamp'
|
5156
5165
|
property :current_actions, as: 'currentActions', class: Google::Apis::ComputeV1::InstanceGroupManagerActionsSummary, decorator: Google::Apis::ComputeV1::InstanceGroupManagerActionsSummary::Representation
|
@@ -5221,6 +5230,14 @@ module Google
|
|
5221
5230
|
end
|
5222
5231
|
end
|
5223
5232
|
|
5233
|
+
class InstanceGroupManagerAutoHealingPolicy
|
5234
|
+
# @private
|
5235
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5236
|
+
property :health_check, as: 'healthCheck'
|
5237
|
+
property :initial_delay_sec, as: 'initialDelaySec'
|
5238
|
+
end
|
5239
|
+
end
|
5240
|
+
|
5224
5241
|
class InstanceGroupManagerList
|
5225
5242
|
# @private
|
5226
5243
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5935,6 +5952,7 @@ module Google
|
|
5935
5952
|
collection :region_infos, as: 'regionInfos', class: Google::Apis::ComputeV1::InterconnectLocationRegionInfo, decorator: Google::Apis::ComputeV1::InterconnectLocationRegionInfo::Representation
|
5936
5953
|
|
5937
5954
|
property :self_link, as: 'selfLink'
|
5955
|
+
property :status, as: 'status'
|
5938
5956
|
end
|
5939
5957
|
end
|
5940
5958
|
|
@@ -7065,6 +7083,7 @@ module Google
|
|
7065
7083
|
class Representation < Google::Apis::Core::JsonRepresentation
|
7066
7084
|
property :limit, as: 'limit'
|
7067
7085
|
property :metric, as: 'metric'
|
7086
|
+
property :owner, as: 'owner'
|
7068
7087
|
property :usage, as: 'usage'
|
7069
7088
|
end
|
7070
7089
|
end
|
@@ -6765,8 +6765,8 @@ module Google
|
|
6765
6765
|
end
|
6766
6766
|
|
6767
6767
|
# Deletes the specified instance template. Deleting an instance template is
|
6768
|
-
# permanent and cannot be undone. It
|
6769
|
-
# are in use by
|
6768
|
+
# permanent and cannot be undone. It is not possible to delete templates that
|
6769
|
+
# are already in use by a managed instance group.
|
6770
6770
|
# @param [String] project
|
6771
6771
|
# Project ID for this request.
|
6772
6772
|
# @param [String] instance_template
|
@@ -6940,7 +6940,7 @@ module Google
|
|
6940
6940
|
end
|
6941
6941
|
|
6942
6942
|
# Retrieves a list of instance templates that are contained within the specified
|
6943
|
-
# project
|
6943
|
+
# project.
|
6944
6944
|
# @param [String] project
|
6945
6945
|
# Project ID for this request.
|
6946
6946
|
# @param [String] filter
|
@@ -11097,7 +11097,7 @@ module Google
|
|
11097
11097
|
# @param [String] zone
|
11098
11098
|
# The name of the zone for this request.
|
11099
11099
|
# @param [String] node_group
|
11100
|
-
# Name of the NodeGroup resource to
|
11100
|
+
# Name of the NodeGroup resource to update.
|
11101
11101
|
# @param [Google::Apis::ComputeV1::NodeGroupsSetNodeTemplateRequest] node_groups_set_node_template_request_object
|
11102
11102
|
# @param [String] request_id
|
11103
11103
|
# An optional request ID to identify requests. Specify a unique request ID so
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/container-engine/
|
27
27
|
module ContainerV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20181211'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -829,6 +829,82 @@ module Google
|
|
829
829
|
end
|
830
830
|
end
|
831
831
|
|
832
|
+
# GetJSONWebKeysResponse is a valid JSON Web Key Set as specififed in rfc 7517
|
833
|
+
class GetJsonWebKeysResponse
|
834
|
+
include Google::Apis::Core::Hashable
|
835
|
+
|
836
|
+
# The public component of the keys used by the cluster to sign token
|
837
|
+
# requests.
|
838
|
+
# Corresponds to the JSON property `keys`
|
839
|
+
# @return [Array<Google::Apis::ContainerV1::Jwk>]
|
840
|
+
attr_accessor :keys
|
841
|
+
|
842
|
+
def initialize(**args)
|
843
|
+
update!(**args)
|
844
|
+
end
|
845
|
+
|
846
|
+
# Update properties of this object
|
847
|
+
def update!(**args)
|
848
|
+
@keys = args[:keys] if args.key?(:keys)
|
849
|
+
end
|
850
|
+
end
|
851
|
+
|
852
|
+
# GetOpenIDConfigResponse is an OIDC discovery document for the cluster.
|
853
|
+
# See the OpenID Connect Discovery 1.0 specification for details.
|
854
|
+
class GetOpenIdConfigResponse
|
855
|
+
include Google::Apis::Core::Hashable
|
856
|
+
|
857
|
+
# NOLINT
|
858
|
+
# Corresponds to the JSON property `claims_supported`
|
859
|
+
# @return [Array<String>]
|
860
|
+
attr_accessor :claims_supported
|
861
|
+
|
862
|
+
# NOLINT
|
863
|
+
# Corresponds to the JSON property `grant_types`
|
864
|
+
# @return [Array<String>]
|
865
|
+
attr_accessor :grant_types
|
866
|
+
|
867
|
+
# NOLINT
|
868
|
+
# Corresponds to the JSON property `id_token_signing_alg_values_supported`
|
869
|
+
# @return [Array<String>]
|
870
|
+
attr_accessor :id_token_signing_alg_values_supported
|
871
|
+
|
872
|
+
# NOLINT
|
873
|
+
# Corresponds to the JSON property `issuer`
|
874
|
+
# @return [String]
|
875
|
+
attr_accessor :issuer
|
876
|
+
|
877
|
+
# NOLINT
|
878
|
+
# Corresponds to the JSON property `jwks_uri`
|
879
|
+
# @return [String]
|
880
|
+
attr_accessor :jwks_uri
|
881
|
+
|
882
|
+
# NOLINT
|
883
|
+
# Corresponds to the JSON property `response_types_supported`
|
884
|
+
# @return [Array<String>]
|
885
|
+
attr_accessor :response_types_supported
|
886
|
+
|
887
|
+
# NOLINT
|
888
|
+
# Corresponds to the JSON property `subject_types_supported`
|
889
|
+
# @return [Array<String>]
|
890
|
+
attr_accessor :subject_types_supported
|
891
|
+
|
892
|
+
def initialize(**args)
|
893
|
+
update!(**args)
|
894
|
+
end
|
895
|
+
|
896
|
+
# Update properties of this object
|
897
|
+
def update!(**args)
|
898
|
+
@claims_supported = args[:claims_supported] if args.key?(:claims_supported)
|
899
|
+
@grant_types = args[:grant_types] if args.key?(:grant_types)
|
900
|
+
@id_token_signing_alg_values_supported = args[:id_token_signing_alg_values_supported] if args.key?(:id_token_signing_alg_values_supported)
|
901
|
+
@issuer = args[:issuer] if args.key?(:issuer)
|
902
|
+
@jwks_uri = args[:jwks_uri] if args.key?(:jwks_uri)
|
903
|
+
@response_types_supported = args[:response_types_supported] if args.key?(:response_types_supported)
|
904
|
+
@subject_types_supported = args[:subject_types_supported] if args.key?(:subject_types_supported)
|
905
|
+
end
|
906
|
+
end
|
907
|
+
|
832
908
|
# Configuration options for the horizontal pod autoscaling feature, which
|
833
909
|
# increases or decreases the number of replica pods a replication controller
|
834
910
|
# has based on the resource usage of the existing pods.
|
@@ -999,6 +1075,75 @@ module Google
|
|
999
1075
|
end
|
1000
1076
|
end
|
1001
1077
|
|
1078
|
+
# Jwk is a JSON Web Key as specified in RFC 7517
|
1079
|
+
class Jwk
|
1080
|
+
include Google::Apis::Core::Hashable
|
1081
|
+
|
1082
|
+
# NOLINT
|
1083
|
+
# Corresponds to the JSON property `alg`
|
1084
|
+
# @return [String]
|
1085
|
+
attr_accessor :alg
|
1086
|
+
|
1087
|
+
# NOLINT
|
1088
|
+
# Corresponds to the JSON property `crv`
|
1089
|
+
# @return [String]
|
1090
|
+
attr_accessor :crv
|
1091
|
+
|
1092
|
+
# NOLINT
|
1093
|
+
# Corresponds to the JSON property `e`
|
1094
|
+
# @return [String]
|
1095
|
+
attr_accessor :e
|
1096
|
+
|
1097
|
+
# NOLINT
|
1098
|
+
# Corresponds to the JSON property `kid`
|
1099
|
+
# @return [String]
|
1100
|
+
attr_accessor :kid
|
1101
|
+
|
1102
|
+
# NOLINT
|
1103
|
+
# Corresponds to the JSON property `kty`
|
1104
|
+
# @return [String]
|
1105
|
+
attr_accessor :kty
|
1106
|
+
|
1107
|
+
# Fields for RSA keys.
|
1108
|
+
# NOLINT
|
1109
|
+
# Corresponds to the JSON property `n`
|
1110
|
+
# @return [String]
|
1111
|
+
attr_accessor :n
|
1112
|
+
|
1113
|
+
# NOLINT
|
1114
|
+
# Corresponds to the JSON property `use`
|
1115
|
+
# @return [String]
|
1116
|
+
attr_accessor :use
|
1117
|
+
|
1118
|
+
# Fields for ECDSA keys.
|
1119
|
+
# NOLINT
|
1120
|
+
# Corresponds to the JSON property `x`
|
1121
|
+
# @return [String]
|
1122
|
+
attr_accessor :x
|
1123
|
+
|
1124
|
+
# NOLINT
|
1125
|
+
# Corresponds to the JSON property `y`
|
1126
|
+
# @return [String]
|
1127
|
+
attr_accessor :y
|
1128
|
+
|
1129
|
+
def initialize(**args)
|
1130
|
+
update!(**args)
|
1131
|
+
end
|
1132
|
+
|
1133
|
+
# Update properties of this object
|
1134
|
+
def update!(**args)
|
1135
|
+
@alg = args[:alg] if args.key?(:alg)
|
1136
|
+
@crv = args[:crv] if args.key?(:crv)
|
1137
|
+
@e = args[:e] if args.key?(:e)
|
1138
|
+
@kid = args[:kid] if args.key?(:kid)
|
1139
|
+
@kty = args[:kty] if args.key?(:kty)
|
1140
|
+
@n = args[:n] if args.key?(:n)
|
1141
|
+
@use = args[:use] if args.key?(:use)
|
1142
|
+
@x = args[:x] if args.key?(:x)
|
1143
|
+
@y = args[:y] if args.key?(:y)
|
1144
|
+
end
|
1145
|
+
end
|
1146
|
+
|
1002
1147
|
# Configuration for the Kubernetes Dashboard.
|
1003
1148
|
class KubernetesDashboard
|
1004
1149
|
include Google::Apis::Core::Hashable
|
@@ -100,6 +100,18 @@ module Google
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
101
101
|
end
|
102
102
|
|
103
|
+
class GetJsonWebKeysResponse
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class GetOpenIdConfigResponse
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
103
115
|
class HorizontalPodAutoscaling
|
104
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
117
|
|
@@ -118,6 +130,12 @@ module Google
|
|
118
130
|
include Google::Apis::Core::JsonObjectSupport
|
119
131
|
end
|
120
132
|
|
133
|
+
class Jwk
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
121
139
|
class KubernetesDashboard
|
122
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
141
|
|
@@ -523,6 +541,27 @@ module Google
|
|
523
541
|
end
|
524
542
|
end
|
525
543
|
|
544
|
+
class GetJsonWebKeysResponse
|
545
|
+
# @private
|
546
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
547
|
+
collection :keys, as: 'keys', class: Google::Apis::ContainerV1::Jwk, decorator: Google::Apis::ContainerV1::Jwk::Representation
|
548
|
+
|
549
|
+
end
|
550
|
+
end
|
551
|
+
|
552
|
+
class GetOpenIdConfigResponse
|
553
|
+
# @private
|
554
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
555
|
+
collection :claims_supported, as: 'claims_supported'
|
556
|
+
collection :grant_types, as: 'grant_types'
|
557
|
+
collection :id_token_signing_alg_values_supported, as: 'id_token_signing_alg_values_supported'
|
558
|
+
property :issuer, as: 'issuer'
|
559
|
+
property :jwks_uri, as: 'jwks_uri'
|
560
|
+
collection :response_types_supported, as: 'response_types_supported'
|
561
|
+
collection :subject_types_supported, as: 'subject_types_supported'
|
562
|
+
end
|
563
|
+
end
|
564
|
+
|
526
565
|
class HorizontalPodAutoscaling
|
527
566
|
# @private
|
528
567
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -554,6 +593,21 @@ module Google
|
|
554
593
|
end
|
555
594
|
end
|
556
595
|
|
596
|
+
class Jwk
|
597
|
+
# @private
|
598
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
599
|
+
property :alg, as: 'alg'
|
600
|
+
property :crv, as: 'crv'
|
601
|
+
property :e, as: 'e'
|
602
|
+
property :kid, as: 'kid'
|
603
|
+
property :kty, as: 'kty'
|
604
|
+
property :n, as: 'n'
|
605
|
+
property :use, as: 'use'
|
606
|
+
property :x, as: 'x'
|
607
|
+
property :y, as: 'y'
|
608
|
+
end
|
609
|
+
end
|
610
|
+
|
557
611
|
class KubernetesDashboard
|
558
612
|
# @private
|
559
613
|
class Representation < Google::Apis::Core::JsonRepresentation
|