google-apis-compute_v1 0.74.0 → 0.75.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: b9eb561d6b53944c5078b9950c271802a8f0bd7ad38afabff50f04fc401fbf38
4
- data.tar.gz: 9cd13a7d7f0a9d24692b83523fd8243750e3f7aa70b90c546d33765ab25bec8f
3
+ metadata.gz: 8acb983b82edfe8f8db5863698e1007eb25c941239b61d616c37351746953a69
4
+ data.tar.gz: ea30e477c71210d459107bdaba61f0e65552fbb8939342d2d86a12af3d35be7c
5
5
  SHA512:
6
- metadata.gz: d684d9b4949f4de774547afcb36485c033584b3dc347672d44d9ecf94f38acf17adf3eec454800195840b37f75bcaa17bf5bc5f3e4f3f0bf755e7a4bb82c3c20
7
- data.tar.gz: b00003e8c0ba6f0198b31a06be418a5489209e2d021b89443d1bbf586f29dd5d1bfc4cccf9a2290a87fb89f954567185bbb85ce54db4c9d96aedcbda2b365cd0
6
+ metadata.gz: 6fff47d24d3ecca2b340c710fc13f4edaa63c2a1e7089f50de4d9ec67f7accb17516025ddf7d2a397b9433b75d079de43ef1616468e74939150c08da0ea3fc03
7
+ data.tar.gz: 54a0e4389a54012cd6738bdf6ccda1fea397d8204d4f3b86d4361235ad3761ff4f06aec3998fce29a7a4104410e8da5e51c71bc3d71e4ccda85a0cccacf09361
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-compute_v1
2
2
 
3
+ ### v0.75.0 (2023-08-06)
4
+
5
+ * Regenerated from discovery document revision 20230725
6
+
3
7
  ### v0.74.0 (2023-07-16)
4
8
 
5
9
  * Regenerated from discovery document revision 20230711
@@ -22,6 +22,52 @@ module Google
22
22
  module Apis
23
23
  module ComputeV1
24
24
 
25
+ # Contains the configurations necessary to generate a signature for access to
26
+ # private storage buckets that support Signature Version 4 for authentication.
27
+ # The service name for generating the authentication header will always default
28
+ # to 's3'.
29
+ class Awsv4Signature
30
+ include Google::Apis::Core::Hashable
31
+
32
+ # The access key used for s3 bucket authentication. Required for updating or
33
+ # creating a backend that uses AWS v4 signature authentication, but will not be
34
+ # returned as part of the configuration when queried with a REST API GET request.
35
+ # @InputOnly
36
+ # Corresponds to the JSON property `accessKey`
37
+ # @return [String]
38
+ attr_accessor :access_key
39
+
40
+ # The identifier of an access key used for s3 bucket authentication.
41
+ # Corresponds to the JSON property `accessKeyId`
42
+ # @return [String]
43
+ attr_accessor :access_key_id
44
+
45
+ # The optional version identifier for the access key. You can use this to keep
46
+ # track of different iterations of your access key.
47
+ # Corresponds to the JSON property `accessKeyVersion`
48
+ # @return [String]
49
+ attr_accessor :access_key_version
50
+
51
+ # The name of the cloud region of your origin. This is a free-form field with
52
+ # the name of the region your cloud uses to host your origin. For example, "us-
53
+ # east-1" for AWS or "us-ashburn-1" for OCI.
54
+ # Corresponds to the JSON property `originRegion`
55
+ # @return [String]
56
+ attr_accessor :origin_region
57
+
58
+ def initialize(**args)
59
+ update!(**args)
60
+ end
61
+
62
+ # Update properties of this object
63
+ def update!(**args)
64
+ @access_key = args[:access_key] if args.key?(:access_key)
65
+ @access_key_id = args[:access_key_id] if args.key?(:access_key_id)
66
+ @access_key_version = args[:access_key_version] if args.key?(:access_key_version)
67
+ @origin_region = args[:origin_region] if args.key?(:origin_region)
68
+ end
69
+ end
70
+
25
71
  # A specification of the type and number of accelerator cards attached to the
26
72
  # instance.
27
73
  class AcceleratorConfig
@@ -1565,8 +1611,7 @@ module Google
1565
1611
 
1566
1612
  # Required for each regional disk associated with the instance. Specify the URLs
1567
1613
  # of the zones where the disk should be replicated to. You must provide exactly
1568
- # two replica zones, and one zone must be the same as the instance zone. You can'
1569
- # t use this option with boot disks.
1614
+ # two replica zones, and one zone must be the same as the instance zone.
1570
1615
  # Corresponds to the JSON property `replicaZones`
1571
1616
  # @return [Array<String>]
1572
1617
  attr_accessor :replica_zones
@@ -4863,6 +4908,12 @@ module Google
4863
4908
  class BulkInsertInstanceResourcePerInstanceProperties
4864
4909
  include Google::Apis::Core::Hashable
4865
4910
 
4911
+ # Specifies the hostname of the instance. More details in: https://cloud.google.
4912
+ # com/compute/docs/instances/custom-hostname-vm#naming_convention
4913
+ # Corresponds to the JSON property `hostname`
4914
+ # @return [String]
4915
+ attr_accessor :hostname
4916
+
4866
4917
  # This field is only temporary. It will be removed. Do not use it.
4867
4918
  # Corresponds to the JSON property `name`
4868
4919
  # @return [String]
@@ -4874,6 +4925,7 @@ module Google
4874
4925
 
4875
4926
  # Update properties of this object
4876
4927
  def update!(**args)
4928
+ @hostname = args[:hostname] if args.key?(:hostname)
4877
4929
  @name = args[:name] if args.key?(:name)
4878
4930
  end
4879
4931
  end
@@ -9259,7 +9311,7 @@ module Google
9259
9311
 
9260
9312
  # This is used in PSC consumer ForwardingRule to control whether it should try
9261
9313
  # to auto-generate a DNS zone or not. Non-PSC forwarding rules do not use this
9262
- # field.
9314
+ # field. Once set, this field is not mutable.
9263
9315
  # Corresponds to the JSON property `noAutomateDnsZone`
9264
9316
  # @return [Boolean]
9265
9317
  attr_accessor :no_automate_dns_zone
@@ -9375,6 +9427,7 @@ module Google
9375
9427
  # API bundle: - vpc-sc - APIs that support VPC Service Controls. - all-apis -
9376
9428
  # All supported Google APIs. - For Private Service Connect forwarding rules that
9377
9429
  # forward traffic to managed services, the target must be a service attachment.
9430
+ # The target is not mutable once set as a service attachment.
9378
9431
  # Corresponds to the JSON property `target`
9379
9432
  # @return [String]
9380
9433
  attr_accessor :target
@@ -21016,6 +21069,81 @@ module Google
21016
21069
  end
21017
21070
  end
21018
21071
 
21072
+ # Contains NAT IP information of a NAT config (i.e. usage status, mode).
21073
+ class NatIpInfo
21074
+ include Google::Apis::Core::Hashable
21075
+
21076
+ # A list of all NAT IPs assigned to this NAT config.
21077
+ # Corresponds to the JSON property `natIpInfoMappings`
21078
+ # @return [Array<Google::Apis::ComputeV1::NatIpInfoNatIpInfoMapping>]
21079
+ attr_accessor :nat_ip_info_mappings
21080
+
21081
+ # Name of the NAT config which the NAT IP belongs to.
21082
+ # Corresponds to the JSON property `natName`
21083
+ # @return [String]
21084
+ attr_accessor :nat_name
21085
+
21086
+ def initialize(**args)
21087
+ update!(**args)
21088
+ end
21089
+
21090
+ # Update properties of this object
21091
+ def update!(**args)
21092
+ @nat_ip_info_mappings = args[:nat_ip_info_mappings] if args.key?(:nat_ip_info_mappings)
21093
+ @nat_name = args[:nat_name] if args.key?(:nat_name)
21094
+ end
21095
+ end
21096
+
21097
+ # Contains information of a NAT IP.
21098
+ class NatIpInfoNatIpInfoMapping
21099
+ include Google::Apis::Core::Hashable
21100
+
21101
+ # Specifies whether NAT IP is auto or manual.
21102
+ # Corresponds to the JSON property `mode`
21103
+ # @return [String]
21104
+ attr_accessor :mode
21105
+
21106
+ # NAT IP address. For example: 203.0.113.11.
21107
+ # Corresponds to the JSON property `natIp`
21108
+ # @return [String]
21109
+ attr_accessor :nat_ip
21110
+
21111
+ # Specifies whether NAT IP is currently serving at least one endpoint or not.
21112
+ # Corresponds to the JSON property `usage`
21113
+ # @return [String]
21114
+ attr_accessor :usage
21115
+
21116
+ def initialize(**args)
21117
+ update!(**args)
21118
+ end
21119
+
21120
+ # Update properties of this object
21121
+ def update!(**args)
21122
+ @mode = args[:mode] if args.key?(:mode)
21123
+ @nat_ip = args[:nat_ip] if args.key?(:nat_ip)
21124
+ @usage = args[:usage] if args.key?(:usage)
21125
+ end
21126
+ end
21127
+
21128
+ #
21129
+ class NatIpInfoResponse
21130
+ include Google::Apis::Core::Hashable
21131
+
21132
+ # [Output Only] A list of NAT IP information.
21133
+ # Corresponds to the JSON property `result`
21134
+ # @return [Array<Google::Apis::ComputeV1::NatIpInfo>]
21135
+ attr_accessor :result
21136
+
21137
+ def initialize(**args)
21138
+ update!(**args)
21139
+ end
21140
+
21141
+ # Update properties of this object
21142
+ def update!(**args)
21143
+ @result = args[:result] if args.key?(:result)
21144
+ end
21145
+ end
21146
+
21019
21147
  # Represents a VPC Network resource. Networks connect resources to each other
21020
21148
  # and to the internet. For more information, read Virtual Private Cloud (VPC)
21021
21149
  # Network.
@@ -25436,7 +25564,7 @@ module Google
25436
25564
  # responses. Operations can be global, regional or zonal. - For global
25437
25565
  # operations, use the `globalOperations` resource. - For regional operations,
25438
25566
  # use the `regionOperations` resource. - For zonal operations, use the `
25439
- # zonalOperations` resource. For more information, read Global, Regional, and
25567
+ # zoneOperations` resource. For more information, read Global, Regional, and
25440
25568
  # Zonal Resources.
25441
25569
  class Operation
25442
25570
  include Google::Apis::Core::Hashable
@@ -25537,6 +25665,12 @@ module Google
25537
25665
  # @return [String]
25538
25666
  attr_accessor :self_link
25539
25667
 
25668
+ # [Output Only] If the operation is for projects.setCommonInstanceMetadata, this
25669
+ # field will contain information on all underlying zonal actions and their state.
25670
+ # Corresponds to the JSON property `setCommonInstanceMetadataOperationMetadata`
25671
+ # @return [Google::Apis::ComputeV1::SetCommonInstanceMetadataOperationMetadata]
25672
+ attr_accessor :set_common_instance_metadata_operation_metadata
25673
+
25540
25674
  # [Output Only] The time that this operation was started by the server. This
25541
25675
  # value is in RFC3339 text format.
25542
25676
  # Corresponds to the JSON property `startTime`
@@ -25569,7 +25703,7 @@ module Google
25569
25703
  attr_accessor :target_link
25570
25704
 
25571
25705
  # [Output Only] User who requested the operation, for example: `user@example.com`
25572
- # .
25706
+ # or `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.
25573
25707
  # Corresponds to the JSON property `user`
25574
25708
  # @return [String]
25575
25709
  attr_accessor :user
@@ -25608,6 +25742,7 @@ module Google
25608
25742
  @progress = args[:progress] if args.key?(:progress)
25609
25743
  @region = args[:region] if args.key?(:region)
25610
25744
  @self_link = args[:self_link] if args.key?(:self_link)
25745
+ @set_common_instance_metadata_operation_metadata = args[:set_common_instance_metadata_operation_metadata] if args.key?(:set_common_instance_metadata_operation_metadata)
25611
25746
  @start_time = args[:start_time] if args.key?(:start_time)
25612
25747
  @status = args[:status] if args.key?(:status)
25613
25748
  @status_message = args[:status_message] if args.key?(:status_message)
@@ -34333,6 +34468,12 @@ module Google
34333
34468
  # @return [String]
34334
34469
  attr_accessor :rule_visibility
34335
34470
 
34471
+ # Configuration options for layer7 adaptive protection for various customizable
34472
+ # thresholds.
34473
+ # Corresponds to the JSON property `thresholdConfigs`
34474
+ # @return [Array<Google::Apis::ComputeV1::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig>]
34475
+ attr_accessor :threshold_configs
34476
+
34336
34477
  def initialize(**args)
34337
34478
  update!(**args)
34338
34479
  end
@@ -34341,6 +34482,51 @@ module Google
34341
34482
  def update!(**args)
34342
34483
  @enable = args[:enable] if args.key?(:enable)
34343
34484
  @rule_visibility = args[:rule_visibility] if args.key?(:rule_visibility)
34485
+ @threshold_configs = args[:threshold_configs] if args.key?(:threshold_configs)
34486
+ end
34487
+ end
34488
+
34489
+ #
34490
+ class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig
34491
+ include Google::Apis::Core::Hashable
34492
+
34493
+ #
34494
+ # Corresponds to the JSON property `autoDeployConfidenceThreshold`
34495
+ # @return [Float]
34496
+ attr_accessor :auto_deploy_confidence_threshold
34497
+
34498
+ #
34499
+ # Corresponds to the JSON property `autoDeployExpirationSec`
34500
+ # @return [Fixnum]
34501
+ attr_accessor :auto_deploy_expiration_sec
34502
+
34503
+ #
34504
+ # Corresponds to the JSON property `autoDeployImpactedBaselineThreshold`
34505
+ # @return [Float]
34506
+ attr_accessor :auto_deploy_impacted_baseline_threshold
34507
+
34508
+ #
34509
+ # Corresponds to the JSON property `autoDeployLoadThreshold`
34510
+ # @return [Float]
34511
+ attr_accessor :auto_deploy_load_threshold
34512
+
34513
+ # The name must be 1-63 characters long, and comply with RFC1035. The name must
34514
+ # be unique within the security policy.
34515
+ # Corresponds to the JSON property `name`
34516
+ # @return [String]
34517
+ attr_accessor :name
34518
+
34519
+ def initialize(**args)
34520
+ update!(**args)
34521
+ end
34522
+
34523
+ # Update properties of this object
34524
+ def update!(**args)
34525
+ @auto_deploy_confidence_threshold = args[:auto_deploy_confidence_threshold] if args.key?(:auto_deploy_confidence_threshold)
34526
+ @auto_deploy_expiration_sec = args[:auto_deploy_expiration_sec] if args.key?(:auto_deploy_expiration_sec)
34527
+ @auto_deploy_impacted_baseline_threshold = args[:auto_deploy_impacted_baseline_threshold] if args.key?(:auto_deploy_impacted_baseline_threshold)
34528
+ @auto_deploy_load_threshold = args[:auto_deploy_load_threshold] if args.key?(:auto_deploy_load_threshold)
34529
+ @name = args[:name] if args.key?(:name)
34344
34530
  end
34345
34531
  end
34346
34532
 
@@ -35090,6 +35276,14 @@ module Google
35090
35276
  class SecuritySettings
35091
35277
  include Google::Apis::Core::Hashable
35092
35278
 
35279
+ # Contains the configurations necessary to generate a signature for access to
35280
+ # private storage buckets that support Signature Version 4 for authentication.
35281
+ # The service name for generating the authentication header will always default
35282
+ # to 's3'.
35283
+ # Corresponds to the JSON property `awsV4Authentication`
35284
+ # @return [Google::Apis::ComputeV1::Awsv4Signature]
35285
+ attr_accessor :aws_v4_authentication
35286
+
35093
35287
  # Optional. A URL referring to a networksecurity.ClientTlsPolicy resource that
35094
35288
  # describes how clients should authenticate with this service's backends.
35095
35289
  # clientTlsPolicy only applies to a global BackendService with the
@@ -35121,6 +35315,7 @@ module Google
35121
35315
 
35122
35316
  # Update properties of this object
35123
35317
  def update!(**args)
35318
+ @aws_v4_authentication = args[:aws_v4_authentication] if args.key?(:aws_v4_authentication)
35124
35319
  @client_tls_policy = args[:client_tls_policy] if args.key?(:client_tls_policy)
35125
35320
  @subject_alt_names = args[:subject_alt_names] if args.key?(:subject_alt_names)
35126
35321
  end
@@ -35788,6 +35983,63 @@ module Google
35788
35983
  end
35789
35984
  end
35790
35985
 
35986
+ #
35987
+ class SetCommonInstanceMetadataOperationMetadata
35988
+ include Google::Apis::Core::Hashable
35989
+
35990
+ # [Output Only] The client operation id.
35991
+ # Corresponds to the JSON property `clientOperationId`
35992
+ # @return [String]
35993
+ attr_accessor :client_operation_id
35994
+
35995
+ # [Output Only] Status information per location (location name is key). Example
35996
+ # key: zones/us-central1-a
35997
+ # Corresponds to the JSON property `perLocationOperations`
35998
+ # @return [Hash<String,Google::Apis::ComputeV1::SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo>]
35999
+ attr_accessor :per_location_operations
36000
+
36001
+ def initialize(**args)
36002
+ update!(**args)
36003
+ end
36004
+
36005
+ # Update properties of this object
36006
+ def update!(**args)
36007
+ @client_operation_id = args[:client_operation_id] if args.key?(:client_operation_id)
36008
+ @per_location_operations = args[:per_location_operations] if args.key?(:per_location_operations)
36009
+ end
36010
+ end
36011
+
36012
+ #
36013
+ class SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo
36014
+ include Google::Apis::Core::Hashable
36015
+
36016
+ # The `Status` type defines a logical error model that is suitable for different
36017
+ # programming environments, including REST APIs and RPC APIs. It is used by [
36018
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
36019
+ # data: error code, error message, and error details. You can find out more
36020
+ # about this error model and how to work with it in the [API Design Guide](https:
36021
+ # //cloud.google.com/apis/design/errors).
36022
+ # Corresponds to the JSON property `error`
36023
+ # @return [Google::Apis::ComputeV1::Status]
36024
+ attr_accessor :error
36025
+
36026
+ # [Output Only] Status of the action, which can be one of the following: `
36027
+ # PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.
36028
+ # Corresponds to the JSON property `state`
36029
+ # @return [String]
36030
+ attr_accessor :state
36031
+
36032
+ def initialize(**args)
36033
+ update!(**args)
36034
+ end
36035
+
36036
+ # Update properties of this object
36037
+ def update!(**args)
36038
+ @error = args[:error] if args.key?(:error)
36039
+ @state = args[:state] if args.key?(:state)
36040
+ end
36041
+ end
36042
+
35791
36043
  # The share setting for reservations and sole tenancy node groups.
35792
36044
  class ShareSettings
35793
36045
  include Google::Apis::Core::Hashable
@@ -37635,6 +37887,45 @@ module Google
37635
37887
  end
37636
37888
  end
37637
37889
 
37890
+ # The `Status` type defines a logical error model that is suitable for different
37891
+ # programming environments, including REST APIs and RPC APIs. It is used by [
37892
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
37893
+ # data: error code, error message, and error details. You can find out more
37894
+ # about this error model and how to work with it in the [API Design Guide](https:
37895
+ # //cloud.google.com/apis/design/errors).
37896
+ class Status
37897
+ include Google::Apis::Core::Hashable
37898
+
37899
+ # The status code, which should be an enum value of google.rpc.Code.
37900
+ # Corresponds to the JSON property `code`
37901
+ # @return [Fixnum]
37902
+ attr_accessor :code
37903
+
37904
+ # A list of messages that carry the error details. There is a common set of
37905
+ # message types for APIs to use.
37906
+ # Corresponds to the JSON property `details`
37907
+ # @return [Array<Hash<String,Object>>]
37908
+ attr_accessor :details
37909
+
37910
+ # A developer-facing error message, which should be in English. Any user-facing
37911
+ # error message should be localized and sent in the google.rpc.Status.details
37912
+ # field, or localized by the client.
37913
+ # Corresponds to the JSON property `message`
37914
+ # @return [String]
37915
+ attr_accessor :message
37916
+
37917
+ def initialize(**args)
37918
+ update!(**args)
37919
+ end
37920
+
37921
+ # Update properties of this object
37922
+ def update!(**args)
37923
+ @code = args[:code] if args.key?(:code)
37924
+ @details = args[:details] if args.key?(:details)
37925
+ @message = args[:message] if args.key?(:message)
37926
+ end
37927
+ end
37928
+
37638
37929
  # Represents a Subnetwork resource. A subnetwork (also known as a subnet) is a
37639
37930
  # logical partition of a Virtual Private Cloud network with one primary IP range
37640
37931
  # and zero or more secondary IP ranges. For more information, read Virtual
@@ -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.74.0"
19
+ GEM_VERSION = "0.75.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230711"
25
+ REVISION = "20230725"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,12 @@ module Google
22
22
  module Apis
23
23
  module ComputeV1
24
24
 
25
+ class Awsv4Signature
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
25
31
  class AcceleratorConfig
26
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
33
 
@@ -2614,6 +2620,24 @@ module Google
2614
2620
  include Google::Apis::Core::JsonObjectSupport
2615
2621
  end
2616
2622
 
2623
+ class NatIpInfo
2624
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2625
+
2626
+ include Google::Apis::Core::JsonObjectSupport
2627
+ end
2628
+
2629
+ class NatIpInfoNatIpInfoMapping
2630
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2631
+
2632
+ include Google::Apis::Core::JsonObjectSupport
2633
+ end
2634
+
2635
+ class NatIpInfoResponse
2636
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2637
+
2638
+ include Google::Apis::Core::JsonObjectSupport
2639
+ end
2640
+
2617
2641
  class Network
2618
2642
  class Representation < Google::Apis::Core::JsonRepresentation; end
2619
2643
 
@@ -4444,6 +4468,12 @@ module Google
4444
4468
  include Google::Apis::Core::JsonObjectSupport
4445
4469
  end
4446
4470
 
4471
+ class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig
4472
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4473
+
4474
+ include Google::Apis::Core::JsonObjectSupport
4475
+ end
4476
+
4447
4477
  class SecurityPolicyAdvancedOptionsConfig
4448
4478
  class Representation < Google::Apis::Core::JsonRepresentation; end
4449
4479
 
@@ -4660,6 +4690,18 @@ module Google
4660
4690
  include Google::Apis::Core::JsonObjectSupport
4661
4691
  end
4662
4692
 
4693
+ class SetCommonInstanceMetadataOperationMetadata
4694
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4695
+
4696
+ include Google::Apis::Core::JsonObjectSupport
4697
+ end
4698
+
4699
+ class SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo
4700
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4701
+
4702
+ include Google::Apis::Core::JsonObjectSupport
4703
+ end
4704
+
4663
4705
  class ShareSettings
4664
4706
  class Representation < Google::Apis::Core::JsonRepresentation; end
4665
4707
 
@@ -4918,6 +4960,12 @@ module Google
4918
4960
  include Google::Apis::Core::JsonObjectSupport
4919
4961
  end
4920
4962
 
4963
+ class Status
4964
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4965
+
4966
+ include Google::Apis::Core::JsonObjectSupport
4967
+ end
4968
+
4921
4969
  class Subnetwork
4922
4970
  class Representation < Google::Apis::Core::JsonRepresentation; end
4923
4971
 
@@ -5938,6 +5986,16 @@ module Google
5938
5986
  include Google::Apis::Core::JsonObjectSupport
5939
5987
  end
5940
5988
 
5989
+ class Awsv4Signature
5990
+ # @private
5991
+ class Representation < Google::Apis::Core::JsonRepresentation
5992
+ property :access_key, as: 'accessKey'
5993
+ property :access_key_id, as: 'accessKeyId'
5994
+ property :access_key_version, as: 'accessKeyVersion'
5995
+ property :origin_region, as: 'originRegion'
5996
+ end
5997
+ end
5998
+
5941
5999
  class AcceleratorConfig
5942
6000
  # @private
5943
6001
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6997,6 +7055,7 @@ module Google
6997
7055
  class BulkInsertInstanceResourcePerInstanceProperties
6998
7056
  # @private
6999
7057
  class Representation < Google::Apis::Core::JsonRepresentation
7058
+ property :hostname, as: 'hostname'
7000
7059
  property :name, as: 'name'
7001
7060
  end
7002
7061
  end
@@ -10905,6 +10964,32 @@ module Google
10905
10964
  end
10906
10965
  end
10907
10966
 
10967
+ class NatIpInfo
10968
+ # @private
10969
+ class Representation < Google::Apis::Core::JsonRepresentation
10970
+ collection :nat_ip_info_mappings, as: 'natIpInfoMappings', class: Google::Apis::ComputeV1::NatIpInfoNatIpInfoMapping, decorator: Google::Apis::ComputeV1::NatIpInfoNatIpInfoMapping::Representation
10971
+
10972
+ property :nat_name, as: 'natName'
10973
+ end
10974
+ end
10975
+
10976
+ class NatIpInfoNatIpInfoMapping
10977
+ # @private
10978
+ class Representation < Google::Apis::Core::JsonRepresentation
10979
+ property :mode, as: 'mode'
10980
+ property :nat_ip, as: 'natIp'
10981
+ property :usage, as: 'usage'
10982
+ end
10983
+ end
10984
+
10985
+ class NatIpInfoResponse
10986
+ # @private
10987
+ class Representation < Google::Apis::Core::JsonRepresentation
10988
+ collection :result, as: 'result', class: Google::Apis::ComputeV1::NatIpInfo, decorator: Google::Apis::ComputeV1::NatIpInfo::Representation
10989
+
10990
+ end
10991
+ end
10992
+
10908
10993
  class Network
10909
10994
  # @private
10910
10995
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -12043,6 +12128,8 @@ module Google
12043
12128
  property :progress, as: 'progress'
12044
12129
  property :region, as: 'region'
12045
12130
  property :self_link, as: 'selfLink'
12131
+ property :set_common_instance_metadata_operation_metadata, as: 'setCommonInstanceMetadataOperationMetadata', class: Google::Apis::ComputeV1::SetCommonInstanceMetadataOperationMetadata, decorator: Google::Apis::ComputeV1::SetCommonInstanceMetadataOperationMetadata::Representation
12132
+
12046
12133
  property :start_time, as: 'startTime'
12047
12134
  property :status, as: 'status'
12048
12135
  property :status_message, as: 'statusMessage'
@@ -14281,6 +14368,19 @@ module Google
14281
14368
  class Representation < Google::Apis::Core::JsonRepresentation
14282
14369
  property :enable, as: 'enable'
14283
14370
  property :rule_visibility, as: 'ruleVisibility'
14371
+ collection :threshold_configs, as: 'thresholdConfigs', class: Google::Apis::ComputeV1::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig, decorator: Google::Apis::ComputeV1::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig::Representation
14372
+
14373
+ end
14374
+ end
14375
+
14376
+ class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig
14377
+ # @private
14378
+ class Representation < Google::Apis::Core::JsonRepresentation
14379
+ property :auto_deploy_confidence_threshold, as: 'autoDeployConfidenceThreshold'
14380
+ property :auto_deploy_expiration_sec, as: 'autoDeployExpirationSec'
14381
+ property :auto_deploy_impacted_baseline_threshold, as: 'autoDeployImpactedBaselineThreshold'
14382
+ property :auto_deploy_load_threshold, as: 'autoDeployLoadThreshold'
14383
+ property :name, as: 'name'
14284
14384
  end
14285
14385
  end
14286
14386
 
@@ -14486,6 +14586,8 @@ module Google
14486
14586
  class SecuritySettings
14487
14587
  # @private
14488
14588
  class Representation < Google::Apis::Core::JsonRepresentation
14589
+ property :aws_v4_authentication, as: 'awsV4Authentication', class: Google::Apis::ComputeV1::Awsv4Signature, decorator: Google::Apis::ComputeV1::Awsv4Signature::Representation
14590
+
14489
14591
  property :client_tls_policy, as: 'clientTlsPolicy'
14490
14592
  collection :subject_alt_names, as: 'subjectAltNames'
14491
14593
  end
@@ -14657,6 +14759,24 @@ module Google
14657
14759
  end
14658
14760
  end
14659
14761
 
14762
+ class SetCommonInstanceMetadataOperationMetadata
14763
+ # @private
14764
+ class Representation < Google::Apis::Core::JsonRepresentation
14765
+ property :client_operation_id, as: 'clientOperationId'
14766
+ hash :per_location_operations, as: 'perLocationOperations', class: Google::Apis::ComputeV1::SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo, decorator: Google::Apis::ComputeV1::SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo::Representation
14767
+
14768
+ end
14769
+ end
14770
+
14771
+ class SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo
14772
+ # @private
14773
+ class Representation < Google::Apis::Core::JsonRepresentation
14774
+ property :error, as: 'error', class: Google::Apis::ComputeV1::Status, decorator: Google::Apis::ComputeV1::Status::Representation
14775
+
14776
+ property :state, as: 'state'
14777
+ end
14778
+ end
14779
+
14660
14780
  class ShareSettings
14661
14781
  # @private
14662
14782
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -15130,6 +15250,15 @@ module Google
15130
15250
  end
15131
15251
  end
15132
15252
 
15253
+ class Status
15254
+ # @private
15255
+ class Representation < Google::Apis::Core::JsonRepresentation
15256
+ property :code, as: 'code'
15257
+ collection :details, as: 'details'
15258
+ property :message, as: 'message'
15259
+ end
15260
+ end
15261
+
15133
15262
  class Subnetwork
15134
15263
  # @private
15135
15264
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -31614,6 +31614,50 @@ module Google
31614
31614
  execute_or_queue_command(command, &block)
31615
31615
  end
31616
31616
 
31617
+ # Retrieves runtime NAT IP information.
31618
+ # @param [String] project
31619
+ # Project ID for this request.
31620
+ # @param [String] region
31621
+ # Name of the region for this request.
31622
+ # @param [String] router
31623
+ # Name of the Router resource to query for Nat IP information. The name should
31624
+ # conform to RFC1035.
31625
+ # @param [String] nat_name
31626
+ # Name of the nat service to filter the NAT IP information. If it is omitted,
31627
+ # all nats for this router will be returned. Name should conform to RFC1035.
31628
+ # @param [String] fields
31629
+ # Selector specifying which fields to include in a partial response.
31630
+ # @param [String] quota_user
31631
+ # Available to use for quota purposes for server-side applications. Can be any
31632
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
31633
+ # @param [String] user_ip
31634
+ # Legacy name for parameter that has been superseded by `quotaUser`.
31635
+ # @param [Google::Apis::RequestOptions] options
31636
+ # Request-specific options
31637
+ #
31638
+ # @yield [result, err] Result & error if block supplied
31639
+ # @yieldparam result [Google::Apis::ComputeV1::NatIpInfoResponse] parsed result object
31640
+ # @yieldparam err [StandardError] error object if request failed
31641
+ #
31642
+ # @return [Google::Apis::ComputeV1::NatIpInfoResponse]
31643
+ #
31644
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
31645
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
31646
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
31647
+ def get_router_nat_ip_info(project, region, router, nat_name: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
31648
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/routers/{router}/getNatIpInfo', options)
31649
+ command.response_representation = Google::Apis::ComputeV1::NatIpInfoResponse::Representation
31650
+ command.response_class = Google::Apis::ComputeV1::NatIpInfoResponse
31651
+ command.params['project'] = project unless project.nil?
31652
+ command.params['region'] = region unless region.nil?
31653
+ command.params['router'] = router unless router.nil?
31654
+ command.query['natName'] = nat_name unless nat_name.nil?
31655
+ command.query['fields'] = fields unless fields.nil?
31656
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
31657
+ command.query['userIp'] = user_ip unless user_ip.nil?
31658
+ execute_or_queue_command(command, &block)
31659
+ end
31660
+
31617
31661
  # Retrieves runtime Nat mapping information of VM endpoints.
31618
31662
  # @param [String] project
31619
31663
  # 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.74.0
4
+ version: 0.75.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-07-16 00:00:00.000000000 Z
11
+ date: 2023-08-06 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.74.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.75.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: []