google-apis-compute_v1 0.44.0 → 0.47.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ddff7e5b1142e03673bc9f26fc69a0c96cc0d293edb29b7083ff4d9415cdadd3
4
- data.tar.gz: ad3b697e0125b376fa81f7c1676b02c89020948942b7eb35fd4ef24bca4ef60a
3
+ metadata.gz: 129922b86efed5050426ec524dbd723ac746284f90423e17e47de47a66448198
4
+ data.tar.gz: 5e4e7aeb31acc05902d9d7d10c169bc6b8e654c4d47f25c39e64e2e87a4e789d
5
5
  SHA512:
6
- metadata.gz: 9a2d84babb61c84e1733fe6a00c53e6c5f2e53dad6acfd15b9624c6f66964159ca2c3eeda206ad84791df27c48154c325673c2ef9d303a1f8045844370d6e5a5
7
- data.tar.gz: 8a25293d3440a6152d885ec7483ecd119e41afbf0abd080b694ff42e36a5a20d4336350ec30974c351c1b2af116b61bcb62570e0951e99963cf1c80aa35f24da
6
+ metadata.gz: 42dc7364cc6c04979fd8705137449151f01ce1356941194088ac461d9851678e7873709b3060b00bb60abf832c65cd21f341de08a4a8eba5b51cc58626cb5101
7
+ data.tar.gz: 568ec905d1b4ad05e038bc6923993166abbd1589a9e9d9dced97b386360d3ffb89b7e7713adf3817c4ed5bc8ff31baf8b554262443e7c362dd7344d0b1336f82
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-compute_v1
2
2
 
3
+ ### v0.47.0 (2022-08-14)
4
+
5
+ * Regenerated from discovery document revision 20220809
6
+
7
+ ### v0.46.0 (2022-08-06)
8
+
9
+ * Regenerated from discovery document revision 20220726
10
+
11
+ ### v0.45.0 (2022-07-26)
12
+
13
+ * Regenerated from discovery document revision 20220720
14
+
3
15
  ### v0.44.0 (2022-07-20)
4
16
 
5
17
  * Regenerated from discovery document revision 20220714
@@ -1444,6 +1444,14 @@ module Google
1444
1444
  # @return [Fixnum]
1445
1445
  attr_accessor :provisioned_iops
1446
1446
 
1447
+ # Resource manager tags to be bound to the disk. Tag keys and values have the
1448
+ # same definition as resource manager tags. Keys must be in the format `tagKeys/`
1449
+ # tag_key_id``, and values are in the format `tagValues/456`. The field is
1450
+ # ignored (both PUT & PATCH) when empty.
1451
+ # Corresponds to the JSON property `resourceManagerTags`
1452
+ # @return [Hash<String,String>]
1453
+ attr_accessor :resource_manager_tags
1454
+
1447
1455
  # Resource policies applied to this disk for automatic snapshot creations.
1448
1456
  # Specified using the full or partial URL. For instance template, specify only
1449
1457
  # the resource policy name.
@@ -1507,6 +1515,7 @@ module Google
1507
1515
  @licenses = args[:licenses] if args.key?(:licenses)
1508
1516
  @on_update_action = args[:on_update_action] if args.key?(:on_update_action)
1509
1517
  @provisioned_iops = args[:provisioned_iops] if args.key?(:provisioned_iops)
1518
+ @resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
1510
1519
  @resource_policies = args[:resource_policies] if args.key?(:resource_policies)
1511
1520
  @source_image = args[:source_image] if args.key?(:source_image)
1512
1521
  @source_image_encryption_key = args[:source_image_encryption_key] if args.key?(:source_image_encryption_key)
@@ -4519,25 +4528,28 @@ module Google
4519
4528
  # anyone who is authenticated with a Google account or a service account. * `
4520
4529
  # user:`emailid``: An email address that represents a specific Google account.
4521
4530
  # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
4522
- # address that represents a service account. For example, `my-other-app@appspot.
4523
- # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
4524
- # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
4525
- # `uniqueid``: An email address (plus unique identifier) representing a user
4526
- # that has been recently deleted. For example, `alice@example.com?uid=
4527
- # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
4528
- # emailid`` and the recovered user retains the role in the binding. * `deleted:
4529
- # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
4530
- # identifier) representing a service account that has been recently deleted. For
4531
- # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
4532
- # If the service account is undeleted, this value reverts to `serviceAccount:`
4533
- # emailid`` and the undeleted service account retains the role in the binding. *
4534
- # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
4535
- # identifier) representing a Google group that has been recently deleted. For
4536
- # example, `admins@example.com?uid=123456789012345678901`. If the group is
4537
- # recovered, this value reverts to `group:`emailid`` and the recovered group
4538
- # retains the role in the binding. * `domain:`domain``: The G Suite domain (
4539
- # primary) that represents all the users of that domain. For example, `google.
4540
- # com` or `example.com`.
4531
+ # address that represents a Google service account. For example, `my-other-app@
4532
+ # appspot.gserviceaccount.com`. * `serviceAccount:`projectid`.svc.id.goog[`
4533
+ # namespace`/`kubernetes-sa`]`: An identifier for a [Kubernetes service account](
4534
+ # https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-
4535
+ # accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`
4536
+ # . * `group:`emailid``: An email address that represents a Google group. For
4537
+ # example, `admins@example.com`. * `deleted:user:`emailid`?uid=`uniqueid``: An
4538
+ # email address (plus unique identifier) representing a user that has been
4539
+ # recently deleted. For example, `alice@example.com?uid=123456789012345678901`.
4540
+ # If the user is recovered, this value reverts to `user:`emailid`` and the
4541
+ # recovered user retains the role in the binding. * `deleted:serviceAccount:`
4542
+ # emailid`?uid=`uniqueid``: An email address (plus unique identifier)
4543
+ # representing a service account that has been recently deleted. For example, `
4544
+ # my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the
4545
+ # service account is undeleted, this value reverts to `serviceAccount:`emailid``
4546
+ # and the undeleted service account retains the role in the binding. * `deleted:
4547
+ # group:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
4548
+ # representing a Google group that has been recently deleted. For example, `
4549
+ # admins@example.com?uid=123456789012345678901`. If the group is recovered, this
4550
+ # value reverts to `group:`emailid`` and the recovered group retains the role in
4551
+ # the binding. * `domain:`domain``: The G Suite domain (primary) that represents
4552
+ # all the users of that domain. For example, `google.com` or `example.com`.
4541
4553
  # Corresponds to the JSON property `members`
4542
4554
  # @return [Array<String>]
4543
4555
  attr_accessor :members
@@ -5792,6 +5804,11 @@ module Google
5792
5804
  # @return [String]
5793
5805
  attr_accessor :options
5794
5806
 
5807
+ # Additional disk params.
5808
+ # Corresponds to the JSON property `params`
5809
+ # @return [Google::Apis::ComputeV1::DiskParams]
5810
+ attr_accessor :params
5811
+
5795
5812
  # Physical block size of the persistent disk, in bytes. If not present in a
5796
5813
  # request, a default value is used. The currently supported size is 4096, other
5797
5814
  # sizes may be added in the future. If an unsupported value is requested, the
@@ -5977,6 +5994,7 @@ module Google
5977
5994
  @location_hint = args[:location_hint] if args.key?(:location_hint)
5978
5995
  @name = args[:name] if args.key?(:name)
5979
5996
  @options = args[:options] if args.key?(:options)
5997
+ @params = args[:params] if args.key?(:params)
5980
5998
  @physical_block_size_bytes = args[:physical_block_size_bytes] if args.key?(:physical_block_size_bytes)
5981
5999
  @provisioned_iops = args[:provisioned_iops] if args.key?(:provisioned_iops)
5982
6000
  @region = args[:region] if args.key?(:region)
@@ -6323,6 +6341,28 @@ module Google
6323
6341
  end
6324
6342
  end
6325
6343
 
6344
+ # Additional disk params.
6345
+ class DiskParams
6346
+ include Google::Apis::Core::Hashable
6347
+
6348
+ # Resource manager tags to be bound to the disk. Tag keys and values have the
6349
+ # same definition as resource manager tags. Keys must be in the format `tagKeys/`
6350
+ # tag_key_id``, and values are in the format `tagValues/456`. The field is
6351
+ # ignored (both PUT & PATCH) when empty.
6352
+ # Corresponds to the JSON property `resourceManagerTags`
6353
+ # @return [Hash<String,String>]
6354
+ attr_accessor :resource_manager_tags
6355
+
6356
+ def initialize(**args)
6357
+ update!(**args)
6358
+ end
6359
+
6360
+ # Update properties of this object
6361
+ def update!(**args)
6362
+ @resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
6363
+ end
6364
+ end
6365
+
6326
6366
  # Represents a Disk Type resource. Google Compute Engine has two Disk Type
6327
6367
  # resources: * [Regional](/compute/docs/reference/rest/v1/regionDiskTypes) * [
6328
6368
  # Zonal](/compute/docs/reference/rest/v1/diskTypes) You can choose from a
@@ -12634,7 +12674,7 @@ module Google
12634
12674
  attr_accessor :satisfies_pzs
12635
12675
  alias_method :satisfies_pzs?, :satisfies_pzs
12636
12676
 
12637
- # Sets the scheduling options for an Instance. NextID: 21
12677
+ # Sets the scheduling options for an Instance.
12638
12678
  # Corresponds to the JSON property `scheduling`
12639
12679
  # @return [Google::Apis::ComputeV1::Scheduling]
12640
12680
  attr_accessor :scheduling
@@ -12883,6 +12923,68 @@ module Google
12883
12923
  end
12884
12924
  end
12885
12925
 
12926
+ #
12927
+ class InstanceConsumptionData
12928
+ include Google::Apis::Core::Hashable
12929
+
12930
+ # Resources consumed by the instance.
12931
+ # Corresponds to the JSON property `consumptionInfo`
12932
+ # @return [Google::Apis::ComputeV1::InstanceConsumptionInfo]
12933
+ attr_accessor :consumption_info
12934
+
12935
+ # Server-defined URL for the instance.
12936
+ # Corresponds to the JSON property `instance`
12937
+ # @return [String]
12938
+ attr_accessor :instance
12939
+
12940
+ def initialize(**args)
12941
+ update!(**args)
12942
+ end
12943
+
12944
+ # Update properties of this object
12945
+ def update!(**args)
12946
+ @consumption_info = args[:consumption_info] if args.key?(:consumption_info)
12947
+ @instance = args[:instance] if args.key?(:instance)
12948
+ end
12949
+ end
12950
+
12951
+ #
12952
+ class InstanceConsumptionInfo
12953
+ include Google::Apis::Core::Hashable
12954
+
12955
+ # The number of virtual CPUs that are available to the instance.
12956
+ # Corresponds to the JSON property `guestCpus`
12957
+ # @return [Fixnum]
12958
+ attr_accessor :guest_cpus
12959
+
12960
+ # The amount of local SSD storage available to the instance, defined in GiB.
12961
+ # Corresponds to the JSON property `localSsdGb`
12962
+ # @return [Fixnum]
12963
+ attr_accessor :local_ssd_gb
12964
+
12965
+ # The amount of physical memory available to the instance, defined in MiB.
12966
+ # Corresponds to the JSON property `memoryMb`
12967
+ # @return [Fixnum]
12968
+ attr_accessor :memory_mb
12969
+
12970
+ # The minimal guaranteed number of virtual CPUs that are reserved.
12971
+ # Corresponds to the JSON property `minNodeCpus`
12972
+ # @return [Fixnum]
12973
+ attr_accessor :min_node_cpus
12974
+
12975
+ def initialize(**args)
12976
+ update!(**args)
12977
+ end
12978
+
12979
+ # Update properties of this object
12980
+ def update!(**args)
12981
+ @guest_cpus = args[:guest_cpus] if args.key?(:guest_cpus)
12982
+ @local_ssd_gb = args[:local_ssd_gb] if args.key?(:local_ssd_gb)
12983
+ @memory_mb = args[:memory_mb] if args.key?(:memory_mb)
12984
+ @min_node_cpus = args[:min_node_cpus] if args.key?(:min_node_cpus)
12985
+ end
12986
+ end
12987
+
12886
12988
  # Represents an Instance Group resource. Instance Groups can be used to
12887
12989
  # configure a target for load balancing. Instance groups can either be managed
12888
12990
  # or unmanaged. To create managed instance groups, use the instanceGroupManager
@@ -15353,7 +15455,7 @@ module Google
15353
15455
  # @return [Array<String>]
15354
15456
  attr_accessor :resource_policies
15355
15457
 
15356
- # Sets the scheduling options for an Instance. NextID: 21
15458
+ # Sets the scheduling options for an Instance.
15357
15459
  # Corresponds to the JSON property `scheduling`
15358
15460
  # @return [Google::Apis::ComputeV1::Scheduling]
15359
15461
  attr_accessor :scheduling
@@ -21421,6 +21523,11 @@ module Google
21421
21523
  # @return [String]
21422
21524
  attr_accessor :self_link
21423
21525
 
21526
+ # The share setting for reservations and sole tenancy node groups.
21527
+ # Corresponds to the JSON property `shareSettings`
21528
+ # @return [Google::Apis::ComputeV1::ShareSettings]
21529
+ attr_accessor :share_settings
21530
+
21424
21531
  # [Output Only] The total number of nodes in the node group.
21425
21532
  # Corresponds to the JSON property `size`
21426
21533
  # @return [Fixnum]
@@ -21455,6 +21562,7 @@ module Google
21455
21562
  @name = args[:name] if args.key?(:name)
21456
21563
  @node_template = args[:node_template] if args.key?(:node_template)
21457
21564
  @self_link = args[:self_link] if args.key?(:self_link)
21565
+ @share_settings = args[:share_settings] if args.key?(:share_settings)
21458
21566
  @size = args[:size] if args.key?(:size)
21459
21567
  @status = args[:status] if args.key?(:status)
21460
21568
  @zone = args[:zone] if args.key?(:zone)
@@ -21776,6 +21884,11 @@ module Google
21776
21884
  # @return [Array<Google::Apis::ComputeV1::AcceleratorConfig>]
21777
21885
  attr_accessor :accelerators
21778
21886
 
21887
+ # Node resources that are reserved by all instances.
21888
+ # Corresponds to the JSON property `consumedResources`
21889
+ # @return [Google::Apis::ComputeV1::InstanceConsumptionInfo]
21890
+ attr_accessor :consumed_resources
21891
+
21779
21892
  # CPU overcommit.
21780
21893
  # Corresponds to the JSON property `cpuOvercommitType`
21781
21894
  # @return [String]
@@ -21786,6 +21899,11 @@ module Google
21786
21899
  # @return [Array<Google::Apis::ComputeV1::LocalDisk>]
21787
21900
  attr_accessor :disks
21788
21901
 
21902
+ # Instance data that shows consumed resources on the node.
21903
+ # Corresponds to the JSON property `instanceConsumptionData`
21904
+ # @return [Array<Google::Apis::ComputeV1::InstanceConsumptionData>]
21905
+ attr_accessor :instance_consumption_data
21906
+
21789
21907
  # Instances scheduled on this node.
21790
21908
  # Corresponds to the JSON property `instances`
21791
21909
  # @return [Array<String>]
@@ -21822,6 +21940,11 @@ module Google
21822
21940
  # @return [String]
21823
21941
  attr_accessor :status
21824
21942
 
21943
+ # Total amount of available resources on the node.
21944
+ # Corresponds to the JSON property `totalResources`
21945
+ # @return [Google::Apis::ComputeV1::InstanceConsumptionInfo]
21946
+ attr_accessor :total_resources
21947
+
21825
21948
  def initialize(**args)
21826
21949
  update!(**args)
21827
21950
  end
@@ -21829,8 +21952,10 @@ module Google
21829
21952
  # Update properties of this object
21830
21953
  def update!(**args)
21831
21954
  @accelerators = args[:accelerators] if args.key?(:accelerators)
21955
+ @consumed_resources = args[:consumed_resources] if args.key?(:consumed_resources)
21832
21956
  @cpu_overcommit_type = args[:cpu_overcommit_type] if args.key?(:cpu_overcommit_type)
21833
21957
  @disks = args[:disks] if args.key?(:disks)
21958
+ @instance_consumption_data = args[:instance_consumption_data] if args.key?(:instance_consumption_data)
21834
21959
  @instances = args[:instances] if args.key?(:instances)
21835
21960
  @name = args[:name] if args.key?(:name)
21836
21961
  @node_type = args[:node_type] if args.key?(:node_type)
@@ -21838,6 +21963,7 @@ module Google
21838
21963
  @server_binding = args[:server_binding] if args.key?(:server_binding)
21839
21964
  @server_id = args[:server_id] if args.key?(:server_id)
21840
21965
  @status = args[:status] if args.key?(:status)
21966
+ @total_resources = args[:total_resources] if args.key?(:total_resources)
21841
21967
  end
21842
21968
  end
21843
21969
 
@@ -31264,7 +31390,7 @@ module Google
31264
31390
  end
31265
31391
  end
31266
31392
 
31267
- # Sets the scheduling options for an Instance. NextID: 21
31393
+ # Sets the scheduling options for an Instance.
31268
31394
  class Scheduling
31269
31395
  include Google::Apis::Core::Hashable
31270
31396
 
@@ -31836,6 +31962,12 @@ module Google
31836
31962
  class SecurityPolicyAdvancedOptionsConfig
31837
31963
  include Google::Apis::Core::Hashable
31838
31964
 
31965
+ # Custom configuration to apply the JSON parsing. Only applicable when
31966
+ # json_parsing is set to STANDARD.
31967
+ # Corresponds to the JSON property `jsonCustomConfig`
31968
+ # @return [Google::Apis::ComputeV1::SecurityPolicyAdvancedOptionsConfigJsonCustomConfig]
31969
+ attr_accessor :json_custom_config
31970
+
31839
31971
  #
31840
31972
  # Corresponds to the JSON property `jsonParsing`
31841
31973
  # @return [String]
@@ -31852,11 +31984,35 @@ module Google
31852
31984
 
31853
31985
  # Update properties of this object
31854
31986
  def update!(**args)
31987
+ @json_custom_config = args[:json_custom_config] if args.key?(:json_custom_config)
31855
31988
  @json_parsing = args[:json_parsing] if args.key?(:json_parsing)
31856
31989
  @log_level = args[:log_level] if args.key?(:log_level)
31857
31990
  end
31858
31991
  end
31859
31992
 
31993
+ #
31994
+ class SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
31995
+ include Google::Apis::Core::Hashable
31996
+
31997
+ # A list of custom Content-Type header values to apply the JSON parsing. As per
31998
+ # RFC 1341, a Content-Type header value has the following format: Content-Type :=
31999
+ # type "/" subtype *[";" parameter] When configuring a custom Content-Type
32000
+ # header value, only the type/subtype needs to be specified, and the parameters
32001
+ # should be excluded.
32002
+ # Corresponds to the JSON property `contentTypes`
32003
+ # @return [Array<String>]
32004
+ attr_accessor :content_types
32005
+
32006
+ def initialize(**args)
32007
+ update!(**args)
32008
+ end
32009
+
32010
+ # Update properties of this object
32011
+ def update!(**args)
32012
+ @content_types = args[:content_types] if args.key?(:content_types)
32013
+ end
32014
+ end
32015
+
31860
32016
  #
31861
32017
  class SecurityPolicyDdosProtectionConfig
31862
32018
  include Google::Apis::Core::Hashable
@@ -33715,7 +33871,7 @@ module Google
33715
33871
  # @return [Array<Google::Apis::ComputeV1::NetworkInterface>]
33716
33872
  attr_accessor :network_interfaces
33717
33873
 
33718
- # Sets the scheduling options for an Instance. NextID: 21
33874
+ # Sets the scheduling options for an Instance.
33719
33875
  # Corresponds to the JSON property `scheduling`
33720
33876
  # @return [Google::Apis::ComputeV1::Scheduling]
33721
33877
  attr_accessor :scheduling
@@ -34486,6 +34642,12 @@ module Google
34486
34642
  # @return [String]
34487
34643
  attr_accessor :profile
34488
34644
 
34645
+ # [Output Only] URL of the region where the regional SSL policy resides. This
34646
+ # field is not applicable to global SSL policies.
34647
+ # Corresponds to the JSON property `region`
34648
+ # @return [String]
34649
+ attr_accessor :region
34650
+
34489
34651
  # [Output Only] Server-defined URL for the resource.
34490
34652
  # Corresponds to the JSON property `selfLink`
34491
34653
  # @return [String]
@@ -34513,6 +34675,7 @@ module Google
34513
34675
  @min_tls_version = args[:min_tls_version] if args.key?(:min_tls_version)
34514
34676
  @name = args[:name] if args.key?(:name)
34515
34677
  @profile = args[:profile] if args.key?(:profile)
34678
+ @region = args[:region] if args.key?(:region)
34516
34679
  @self_link = args[:self_link] if args.key?(:self_link)
34517
34680
  @warnings = args[:warnings] if args.key?(:warnings)
34518
34681
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeV1
18
18
  # Version of the google-apis-compute_v1 gem
19
- GEM_VERSION = "0.44.0"
19
+ GEM_VERSION = "0.47.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220714"
25
+ REVISION = "20220809"
26
26
  end
27
27
  end
28
28
  end
@@ -724,6 +724,12 @@ module Google
724
724
  include Google::Apis::Core::JsonObjectSupport
725
725
  end
726
726
 
727
+ class DiskParams
728
+ class Representation < Google::Apis::Core::JsonRepresentation; end
729
+
730
+ include Google::Apis::Core::JsonObjectSupport
731
+ end
732
+
727
733
  class DiskType
728
734
  class Representation < Google::Apis::Core::JsonRepresentation; end
729
735
 
@@ -1492,6 +1498,18 @@ module Google
1492
1498
  include Google::Apis::Core::JsonObjectSupport
1493
1499
  end
1494
1500
 
1501
+ class InstanceConsumptionData
1502
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1503
+
1504
+ include Google::Apis::Core::JsonObjectSupport
1505
+ end
1506
+
1507
+ class InstanceConsumptionInfo
1508
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1509
+
1510
+ include Google::Apis::Core::JsonObjectSupport
1511
+ end
1512
+
1495
1513
  class InstanceGroup
1496
1514
  class Representation < Google::Apis::Core::JsonRepresentation; end
1497
1515
 
@@ -4150,6 +4168,12 @@ module Google
4150
4168
  include Google::Apis::Core::JsonObjectSupport
4151
4169
  end
4152
4170
 
4171
+ class SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
4172
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4173
+
4174
+ include Google::Apis::Core::JsonObjectSupport
4175
+ end
4176
+
4153
4177
  class SecurityPolicyDdosProtectionConfig
4154
4178
  class Representation < Google::Apis::Core::JsonRepresentation; end
4155
4179
 
@@ -5871,6 +5895,7 @@ module Google
5871
5895
  collection :licenses, as: 'licenses'
5872
5896
  property :on_update_action, as: 'onUpdateAction'
5873
5897
  property :provisioned_iops, :numeric_string => true, as: 'provisionedIops'
5898
+ hash :resource_manager_tags, as: 'resourceManagerTags'
5874
5899
  collection :resource_policies, as: 'resourcePolicies'
5875
5900
  property :source_image, as: 'sourceImage'
5876
5901
  property :source_image_encryption_key, as: 'sourceImageEncryptionKey', class: Google::Apis::ComputeV1::CustomerEncryptionKey, decorator: Google::Apis::ComputeV1::CustomerEncryptionKey::Representation
@@ -6825,6 +6850,8 @@ module Google
6825
6850
  property :location_hint, as: 'locationHint'
6826
6851
  property :name, as: 'name'
6827
6852
  property :options, as: 'options'
6853
+ property :params, as: 'params', class: Google::Apis::ComputeV1::DiskParams, decorator: Google::Apis::ComputeV1::DiskParams::Representation
6854
+
6828
6855
  property :physical_block_size_bytes, :numeric_string => true, as: 'physicalBlockSizeBytes'
6829
6856
  property :provisioned_iops, :numeric_string => true, as: 'provisionedIops'
6830
6857
  property :region, as: 'region'
@@ -6934,6 +6961,13 @@ module Google
6934
6961
  end
6935
6962
  end
6936
6963
 
6964
+ class DiskParams
6965
+ # @private
6966
+ class Representation < Google::Apis::Core::JsonRepresentation
6967
+ hash :resource_manager_tags, as: 'resourceManagerTags'
6968
+ end
6969
+ end
6970
+
6937
6971
  class DiskType
6938
6972
  # @private
6939
6973
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8459,6 +8493,25 @@ module Google
8459
8493
  end
8460
8494
  end
8461
8495
 
8496
+ class InstanceConsumptionData
8497
+ # @private
8498
+ class Representation < Google::Apis::Core::JsonRepresentation
8499
+ property :consumption_info, as: 'consumptionInfo', class: Google::Apis::ComputeV1::InstanceConsumptionInfo, decorator: Google::Apis::ComputeV1::InstanceConsumptionInfo::Representation
8500
+
8501
+ property :instance, as: 'instance'
8502
+ end
8503
+ end
8504
+
8505
+ class InstanceConsumptionInfo
8506
+ # @private
8507
+ class Representation < Google::Apis::Core::JsonRepresentation
8508
+ property :guest_cpus, as: 'guestCpus'
8509
+ property :local_ssd_gb, as: 'localSsdGb'
8510
+ property :memory_mb, as: 'memoryMb'
8511
+ property :min_node_cpus, as: 'minNodeCpus'
8512
+ end
8513
+ end
8514
+
8462
8515
  class InstanceGroup
8463
8516
  # @private
8464
8517
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10636,6 +10689,8 @@ module Google
10636
10689
  property :name, as: 'name'
10637
10690
  property :node_template, as: 'nodeTemplate'
10638
10691
  property :self_link, as: 'selfLink'
10692
+ property :share_settings, as: 'shareSettings', class: Google::Apis::ComputeV1::ShareSettings, decorator: Google::Apis::ComputeV1::ShareSettings::Representation
10693
+
10639
10694
  property :size, as: 'size'
10640
10695
  property :status, as: 'status'
10641
10696
  property :zone, as: 'zone'
@@ -10730,9 +10785,13 @@ module Google
10730
10785
  class Representation < Google::Apis::Core::JsonRepresentation
10731
10786
  collection :accelerators, as: 'accelerators', class: Google::Apis::ComputeV1::AcceleratorConfig, decorator: Google::Apis::ComputeV1::AcceleratorConfig::Representation
10732
10787
 
10788
+ property :consumed_resources, as: 'consumedResources', class: Google::Apis::ComputeV1::InstanceConsumptionInfo, decorator: Google::Apis::ComputeV1::InstanceConsumptionInfo::Representation
10789
+
10733
10790
  property :cpu_overcommit_type, as: 'cpuOvercommitType'
10734
10791
  collection :disks, as: 'disks', class: Google::Apis::ComputeV1::LocalDisk, decorator: Google::Apis::ComputeV1::LocalDisk::Representation
10735
10792
 
10793
+ collection :instance_consumption_data, as: 'instanceConsumptionData', class: Google::Apis::ComputeV1::InstanceConsumptionData, decorator: Google::Apis::ComputeV1::InstanceConsumptionData::Representation
10794
+
10736
10795
  collection :instances, as: 'instances'
10737
10796
  property :name, as: 'name'
10738
10797
  property :node_type, as: 'nodeType'
@@ -10741,6 +10800,8 @@ module Google
10741
10800
 
10742
10801
  property :server_id, as: 'serverId'
10743
10802
  property :status, as: 'status'
10803
+ property :total_resources, as: 'totalResources', class: Google::Apis::ComputeV1::InstanceConsumptionInfo, decorator: Google::Apis::ComputeV1::InstanceConsumptionInfo::Representation
10804
+
10744
10805
  end
10745
10806
  end
10746
10807
 
@@ -13308,11 +13369,20 @@ module Google
13308
13369
  class SecurityPolicyAdvancedOptionsConfig
13309
13370
  # @private
13310
13371
  class Representation < Google::Apis::Core::JsonRepresentation
13372
+ property :json_custom_config, as: 'jsonCustomConfig', class: Google::Apis::ComputeV1::SecurityPolicyAdvancedOptionsConfigJsonCustomConfig, decorator: Google::Apis::ComputeV1::SecurityPolicyAdvancedOptionsConfigJsonCustomConfig::Representation
13373
+
13311
13374
  property :json_parsing, as: 'jsonParsing'
13312
13375
  property :log_level, as: 'logLevel'
13313
13376
  end
13314
13377
  end
13315
13378
 
13379
+ class SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
13380
+ # @private
13381
+ class Representation < Google::Apis::Core::JsonRepresentation
13382
+ collection :content_types, as: 'contentTypes'
13383
+ end
13384
+ end
13385
+
13316
13386
  class SecurityPolicyDdosProtectionConfig
13317
13387
  # @private
13318
13388
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -13978,6 +14048,7 @@ module Google
13978
14048
  property :min_tls_version, as: 'minTlsVersion'
13979
14049
  property :name, as: 'name'
13980
14050
  property :profile, as: 'profile'
14051
+ property :region, as: 'region'
13981
14052
  property :self_link, as: 'selfLink'
13982
14053
  collection :warnings, as: 'warnings', class: Google::Apis::ComputeV1::SslPolicy::Warning, decorator: Google::Apis::ComputeV1::SslPolicy::Warning::Representation
13983
14054
 
@@ -26555,6 +26555,387 @@ module Google
26555
26555
  execute_or_queue_command(command, &block)
26556
26556
  end
26557
26557
 
26558
+ # Deletes the specified SSL policy. The SSL policy resource can be deleted only
26559
+ # if it is not in use by any TargetHttpsProxy or TargetSslProxy resources.
26560
+ # @param [String] project
26561
+ # Project ID for this request.
26562
+ # @param [String] region
26563
+ # Name of the region scoping this request.
26564
+ # @param [String] ssl_policy
26565
+ # Name of the SSL policy to delete. The name must be 1-63 characters long, and
26566
+ # comply with RFC1035.
26567
+ # @param [String] request_id
26568
+ # An optional request ID to identify requests. Specify a unique request ID so
26569
+ # that if you must retry your request, the server will know to ignore the
26570
+ # request if it has already been completed. For example, consider a situation
26571
+ # where you make an initial request and the request times out. If you make the
26572
+ # request again with the same request ID, the server can check if original
26573
+ # operation with the same request ID was received, and if so, will ignore the
26574
+ # second request. This prevents clients from accidentally creating duplicate
26575
+ # commitments. The request ID must be a valid UUID with the exception that zero
26576
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
26577
+ # @param [String] fields
26578
+ # Selector specifying which fields to include in a partial response.
26579
+ # @param [String] quota_user
26580
+ # Available to use for quota purposes for server-side applications. Can be any
26581
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
26582
+ # @param [String] user_ip
26583
+ # Legacy name for parameter that has been superseded by `quotaUser`.
26584
+ # @param [Google::Apis::RequestOptions] options
26585
+ # Request-specific options
26586
+ #
26587
+ # @yield [result, err] Result & error if block supplied
26588
+ # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
26589
+ # @yieldparam err [StandardError] error object if request failed
26590
+ #
26591
+ # @return [Google::Apis::ComputeV1::Operation]
26592
+ #
26593
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
26594
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
26595
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
26596
+ def delete_region_ssl_policy(project, region, ssl_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
26597
+ command = make_simple_command(:delete, 'projects/{project}/regions/{region}/sslPolicies/{sslPolicy}', options)
26598
+ command.response_representation = Google::Apis::ComputeV1::Operation::Representation
26599
+ command.response_class = Google::Apis::ComputeV1::Operation
26600
+ command.params['project'] = project unless project.nil?
26601
+ command.params['region'] = region unless region.nil?
26602
+ command.params['sslPolicy'] = ssl_policy unless ssl_policy.nil?
26603
+ command.query['requestId'] = request_id unless request_id.nil?
26604
+ command.query['fields'] = fields unless fields.nil?
26605
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
26606
+ command.query['userIp'] = user_ip unless user_ip.nil?
26607
+ execute_or_queue_command(command, &block)
26608
+ end
26609
+
26610
+ # Lists all of the ordered rules present in a single specified policy.
26611
+ # @param [String] project
26612
+ # Project ID for this request.
26613
+ # @param [String] region
26614
+ # Name of the region scoping this request.
26615
+ # @param [String] ssl_policy
26616
+ # Name of the SSL policy to update. The name must be 1-63 characters long, and
26617
+ # comply with RFC1035.
26618
+ # @param [String] fields
26619
+ # Selector specifying which fields to include in a partial response.
26620
+ # @param [String] quota_user
26621
+ # Available to use for quota purposes for server-side applications. Can be any
26622
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
26623
+ # @param [String] user_ip
26624
+ # Legacy name for parameter that has been superseded by `quotaUser`.
26625
+ # @param [Google::Apis::RequestOptions] options
26626
+ # Request-specific options
26627
+ #
26628
+ # @yield [result, err] Result & error if block supplied
26629
+ # @yieldparam result [Google::Apis::ComputeV1::SslPolicy] parsed result object
26630
+ # @yieldparam err [StandardError] error object if request failed
26631
+ #
26632
+ # @return [Google::Apis::ComputeV1::SslPolicy]
26633
+ #
26634
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
26635
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
26636
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
26637
+ def get_region_ssl_policy(project, region, ssl_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
26638
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/sslPolicies/{sslPolicy}', options)
26639
+ command.response_representation = Google::Apis::ComputeV1::SslPolicy::Representation
26640
+ command.response_class = Google::Apis::ComputeV1::SslPolicy
26641
+ command.params['project'] = project unless project.nil?
26642
+ command.params['region'] = region unless region.nil?
26643
+ command.params['sslPolicy'] = ssl_policy unless ssl_policy.nil?
26644
+ command.query['fields'] = fields unless fields.nil?
26645
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
26646
+ command.query['userIp'] = user_ip unless user_ip.nil?
26647
+ execute_or_queue_command(command, &block)
26648
+ end
26649
+
26650
+ # Creates a new policy in the specified project and region using the data
26651
+ # included in the request.
26652
+ # @param [String] project
26653
+ # Project ID for this request.
26654
+ # @param [String] region
26655
+ # Name of the region scoping this request.
26656
+ # @param [Google::Apis::ComputeV1::SslPolicy] ssl_policy_object
26657
+ # @param [String] request_id
26658
+ # An optional request ID to identify requests. Specify a unique request ID so
26659
+ # that if you must retry your request, the server will know to ignore the
26660
+ # request if it has already been completed. For example, consider a situation
26661
+ # where you make an initial request and the request times out. If you make the
26662
+ # request again with the same request ID, the server can check if original
26663
+ # operation with the same request ID was received, and if so, will ignore the
26664
+ # second request. This prevents clients from accidentally creating duplicate
26665
+ # commitments. The request ID must be a valid UUID with the exception that zero
26666
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
26667
+ # @param [String] fields
26668
+ # Selector specifying which fields to include in a partial response.
26669
+ # @param [String] quota_user
26670
+ # Available to use for quota purposes for server-side applications. Can be any
26671
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
26672
+ # @param [String] user_ip
26673
+ # Legacy name for parameter that has been superseded by `quotaUser`.
26674
+ # @param [Google::Apis::RequestOptions] options
26675
+ # Request-specific options
26676
+ #
26677
+ # @yield [result, err] Result & error if block supplied
26678
+ # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
26679
+ # @yieldparam err [StandardError] error object if request failed
26680
+ #
26681
+ # @return [Google::Apis::ComputeV1::Operation]
26682
+ #
26683
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
26684
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
26685
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
26686
+ def insert_region_ssl_policy(project, region, ssl_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
26687
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/sslPolicies', options)
26688
+ command.request_representation = Google::Apis::ComputeV1::SslPolicy::Representation
26689
+ command.request_object = ssl_policy_object
26690
+ command.response_representation = Google::Apis::ComputeV1::Operation::Representation
26691
+ command.response_class = Google::Apis::ComputeV1::Operation
26692
+ command.params['project'] = project unless project.nil?
26693
+ command.params['region'] = region unless region.nil?
26694
+ command.query['requestId'] = request_id unless request_id.nil?
26695
+ command.query['fields'] = fields unless fields.nil?
26696
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
26697
+ command.query['userIp'] = user_ip unless user_ip.nil?
26698
+ execute_or_queue_command(command, &block)
26699
+ end
26700
+
26701
+ # Lists all the SSL policies that have been configured for the specified project
26702
+ # and region.
26703
+ # @param [String] project
26704
+ # Project ID for this request.
26705
+ # @param [String] region
26706
+ # Name of the region scoping this request.
26707
+ # @param [String] filter
26708
+ # A filter expression that filters resources listed in the response. Most
26709
+ # Compute resources support two types of filter expressions: expressions that
26710
+ # support regular expressions and expressions that follow API improvement
26711
+ # proposal AIP-160. If you want to use AIP-160, your expression must specify the
26712
+ # field name, an operator, and the value that you want to use for filtering. The
26713
+ # value must be a string, a number, or a boolean. The operator must be either `=`
26714
+ # , `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
26715
+ # Engine instances, you can exclude instances named `example-instance` by
26716
+ # specifying `name != example-instance`. The `:` operator can be used with
26717
+ # string fields to match substrings. For non-string fields it is equivalent to
26718
+ # the `=` operator. The `:*` comparison can be used to test whether a key has
26719
+ # been defined. For example, to find all objects with `owner` label use: ```
26720
+ # labels.owner:* ``` You can also filter nested fields. For example, you could
26721
+ # specify `scheduling.automaticRestart = false` to include instances only if
26722
+ # they are not scheduled for automatic restarts. You can use filtering on nested
26723
+ # fields to filter based on resource labels. To filter on multiple expressions,
26724
+ # provide each separate expression within parentheses. For example: ``` (
26725
+ # scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By
26726
+ # default, each expression is an `AND` expression. However, you can include `AND`
26727
+ # and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel
26728
+ # Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
26729
+ # automaticRestart = true) ``` If you want to use a regular expression, use the `
26730
+ # eq` (equal) or `ne` (not equal) operator against a single un-parenthesized
26731
+ # expression with or without quotes or against multiple parenthesized
26732
+ # expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single
26733
+ # quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq
26734
+ # literal) (fieldname2 ne "literal")` The literal value is interpreted as a
26735
+ # regular expression using Google RE2 library syntax. The literal value must
26736
+ # match the entire field. For example, to filter for instances that do not end
26737
+ # with name "instance", you would use `name ne .*instance`.
26738
+ # @param [Fixnum] max_results
26739
+ # The maximum number of results per page that should be returned. If the number
26740
+ # of available results is larger than `maxResults`, Compute Engine returns a `
26741
+ # nextPageToken` that can be used to get the next page of results in subsequent
26742
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
26743
+ # @param [String] order_by
26744
+ # Sorts list results by a certain order. By default, results are returned in
26745
+ # alphanumerical order based on the resource name. You can also sort results in
26746
+ # descending order based on the creation timestamp using `orderBy="
26747
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
26748
+ # field in reverse chronological order (newest result first). Use this to sort
26749
+ # resources like operations so that the newest operation is returned first.
26750
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
26751
+ # @param [String] page_token
26752
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
26753
+ # by a previous list request to get the next page of results.
26754
+ # @param [Boolean] return_partial_success
26755
+ # Opt-in for partial success behavior which provides partial results in case of
26756
+ # failure. The default value is false.
26757
+ # @param [String] fields
26758
+ # Selector specifying which fields to include in a partial response.
26759
+ # @param [String] quota_user
26760
+ # Available to use for quota purposes for server-side applications. Can be any
26761
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
26762
+ # @param [String] user_ip
26763
+ # Legacy name for parameter that has been superseded by `quotaUser`.
26764
+ # @param [Google::Apis::RequestOptions] options
26765
+ # Request-specific options
26766
+ #
26767
+ # @yield [result, err] Result & error if block supplied
26768
+ # @yieldparam result [Google::Apis::ComputeV1::SslPoliciesList] parsed result object
26769
+ # @yieldparam err [StandardError] error object if request failed
26770
+ #
26771
+ # @return [Google::Apis::ComputeV1::SslPoliciesList]
26772
+ #
26773
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
26774
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
26775
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
26776
+ def list_region_ssl_policies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
26777
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/sslPolicies', options)
26778
+ command.response_representation = Google::Apis::ComputeV1::SslPoliciesList::Representation
26779
+ command.response_class = Google::Apis::ComputeV1::SslPoliciesList
26780
+ command.params['project'] = project unless project.nil?
26781
+ command.params['region'] = region unless region.nil?
26782
+ command.query['filter'] = filter unless filter.nil?
26783
+ command.query['maxResults'] = max_results unless max_results.nil?
26784
+ command.query['orderBy'] = order_by unless order_by.nil?
26785
+ command.query['pageToken'] = page_token unless page_token.nil?
26786
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
26787
+ command.query['fields'] = fields unless fields.nil?
26788
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
26789
+ command.query['userIp'] = user_ip unless user_ip.nil?
26790
+ execute_or_queue_command(command, &block)
26791
+ end
26792
+
26793
+ # Lists all features that can be specified in the SSL policy when using custom
26794
+ # profile.
26795
+ # @param [String] project
26796
+ # Project ID for this request.
26797
+ # @param [String] region
26798
+ # Name of the region scoping this request.
26799
+ # @param [String] filter
26800
+ # A filter expression that filters resources listed in the response. Most
26801
+ # Compute resources support two types of filter expressions: expressions that
26802
+ # support regular expressions and expressions that follow API improvement
26803
+ # proposal AIP-160. If you want to use AIP-160, your expression must specify the
26804
+ # field name, an operator, and the value that you want to use for filtering. The
26805
+ # value must be a string, a number, or a boolean. The operator must be either `=`
26806
+ # , `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
26807
+ # Engine instances, you can exclude instances named `example-instance` by
26808
+ # specifying `name != example-instance`. The `:` operator can be used with
26809
+ # string fields to match substrings. For non-string fields it is equivalent to
26810
+ # the `=` operator. The `:*` comparison can be used to test whether a key has
26811
+ # been defined. For example, to find all objects with `owner` label use: ```
26812
+ # labels.owner:* ``` You can also filter nested fields. For example, you could
26813
+ # specify `scheduling.automaticRestart = false` to include instances only if
26814
+ # they are not scheduled for automatic restarts. You can use filtering on nested
26815
+ # fields to filter based on resource labels. To filter on multiple expressions,
26816
+ # provide each separate expression within parentheses. For example: ``` (
26817
+ # scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By
26818
+ # default, each expression is an `AND` expression. However, you can include `AND`
26819
+ # and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel
26820
+ # Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
26821
+ # automaticRestart = true) ``` If you want to use a regular expression, use the `
26822
+ # eq` (equal) or `ne` (not equal) operator against a single un-parenthesized
26823
+ # expression with or without quotes or against multiple parenthesized
26824
+ # expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single
26825
+ # quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq
26826
+ # literal) (fieldname2 ne "literal")` The literal value is interpreted as a
26827
+ # regular expression using Google RE2 library syntax. The literal value must
26828
+ # match the entire field. For example, to filter for instances that do not end
26829
+ # with name "instance", you would use `name ne .*instance`.
26830
+ # @param [Fixnum] max_results
26831
+ # The maximum number of results per page that should be returned. If the number
26832
+ # of available results is larger than `maxResults`, Compute Engine returns a `
26833
+ # nextPageToken` that can be used to get the next page of results in subsequent
26834
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
26835
+ # @param [String] order_by
26836
+ # Sorts list results by a certain order. By default, results are returned in
26837
+ # alphanumerical order based on the resource name. You can also sort results in
26838
+ # descending order based on the creation timestamp using `orderBy="
26839
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
26840
+ # field in reverse chronological order (newest result first). Use this to sort
26841
+ # resources like operations so that the newest operation is returned first.
26842
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
26843
+ # @param [String] page_token
26844
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
26845
+ # by a previous list request to get the next page of results.
26846
+ # @param [Boolean] return_partial_success
26847
+ # Opt-in for partial success behavior which provides partial results in case of
26848
+ # failure. The default value is false.
26849
+ # @param [String] fields
26850
+ # Selector specifying which fields to include in a partial response.
26851
+ # @param [String] quota_user
26852
+ # Available to use for quota purposes for server-side applications. Can be any
26853
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
26854
+ # @param [String] user_ip
26855
+ # Legacy name for parameter that has been superseded by `quotaUser`.
26856
+ # @param [Google::Apis::RequestOptions] options
26857
+ # Request-specific options
26858
+ #
26859
+ # @yield [result, err] Result & error if block supplied
26860
+ # @yieldparam result [Google::Apis::ComputeV1::SslPoliciesListAvailableFeaturesResponse] parsed result object
26861
+ # @yieldparam err [StandardError] error object if request failed
26862
+ #
26863
+ # @return [Google::Apis::ComputeV1::SslPoliciesListAvailableFeaturesResponse]
26864
+ #
26865
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
26866
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
26867
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
26868
+ def list_region_ssl_policy_available_features(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
26869
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/sslPolicies/listAvailableFeatures', options)
26870
+ command.response_representation = Google::Apis::ComputeV1::SslPoliciesListAvailableFeaturesResponse::Representation
26871
+ command.response_class = Google::Apis::ComputeV1::SslPoliciesListAvailableFeaturesResponse
26872
+ command.params['project'] = project unless project.nil?
26873
+ command.params['region'] = region unless region.nil?
26874
+ command.query['filter'] = filter unless filter.nil?
26875
+ command.query['maxResults'] = max_results unless max_results.nil?
26876
+ command.query['orderBy'] = order_by unless order_by.nil?
26877
+ command.query['pageToken'] = page_token unless page_token.nil?
26878
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
26879
+ command.query['fields'] = fields unless fields.nil?
26880
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
26881
+ command.query['userIp'] = user_ip unless user_ip.nil?
26882
+ execute_or_queue_command(command, &block)
26883
+ end
26884
+
26885
+ # Patches the specified SSL policy with the data included in the request.
26886
+ # @param [String] project
26887
+ # Project ID for this request.
26888
+ # @param [String] region
26889
+ # Name of the region scoping this request.
26890
+ # @param [String] ssl_policy
26891
+ # Name of the SSL policy to update. The name must be 1-63 characters long, and
26892
+ # comply with RFC1035.
26893
+ # @param [Google::Apis::ComputeV1::SslPolicy] ssl_policy_object
26894
+ # @param [String] request_id
26895
+ # An optional request ID to identify requests. Specify a unique request ID so
26896
+ # that if you must retry your request, the server will know to ignore the
26897
+ # request if it has already been completed. For example, consider a situation
26898
+ # where you make an initial request and the request times out. If you make the
26899
+ # request again with the same request ID, the server can check if original
26900
+ # operation with the same request ID was received, and if so, will ignore the
26901
+ # second request. This prevents clients from accidentally creating duplicate
26902
+ # commitments. The request ID must be a valid UUID with the exception that zero
26903
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
26904
+ # @param [String] fields
26905
+ # Selector specifying which fields to include in a partial response.
26906
+ # @param [String] quota_user
26907
+ # Available to use for quota purposes for server-side applications. Can be any
26908
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
26909
+ # @param [String] user_ip
26910
+ # Legacy name for parameter that has been superseded by `quotaUser`.
26911
+ # @param [Google::Apis::RequestOptions] options
26912
+ # Request-specific options
26913
+ #
26914
+ # @yield [result, err] Result & error if block supplied
26915
+ # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
26916
+ # @yieldparam err [StandardError] error object if request failed
26917
+ #
26918
+ # @return [Google::Apis::ComputeV1::Operation]
26919
+ #
26920
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
26921
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
26922
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
26923
+ def patch_region_ssl_policy(project, region, ssl_policy, ssl_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
26924
+ command = make_simple_command(:patch, 'projects/{project}/regions/{region}/sslPolicies/{sslPolicy}', options)
26925
+ command.request_representation = Google::Apis::ComputeV1::SslPolicy::Representation
26926
+ command.request_object = ssl_policy_object
26927
+ command.response_representation = Google::Apis::ComputeV1::Operation::Representation
26928
+ command.response_class = Google::Apis::ComputeV1::Operation
26929
+ command.params['project'] = project unless project.nil?
26930
+ command.params['region'] = region unless region.nil?
26931
+ command.params['sslPolicy'] = ssl_policy unless ssl_policy.nil?
26932
+ command.query['requestId'] = request_id unless request_id.nil?
26933
+ command.query['fields'] = fields unless fields.nil?
26934
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
26935
+ command.query['userIp'] = user_ip unless user_ip.nil?
26936
+ execute_or_queue_command(command, &block)
26937
+ end
26938
+
26558
26939
  # Deletes the specified TargetHttpProxy resource.
26559
26940
  # @param [String] project
26560
26941
  # Project ID for this request.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.44.0
4
+ version: 0.47.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: 2022-07-25 00:00:00.000000000 Z
11
+ date: 2022-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -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-compute_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.44.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.47.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_v1
63
63
  post_install_message:
64
64
  rdoc_options: []