google-apis-compute_beta 0.75.0 → 0.76.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a4c4df59d5d8879ef0ab0d2741119382e4de0dafbfb999f0bfa7110c630bfbc7
|
4
|
+
data.tar.gz: 4cb41b60f53a7077f05d22da8283c441cafcff738d270078c0f5d89155435bf0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9617d624ef6a417a9bb072399f39c819142f91396190f0402718856ca5b6d9104e0c086bc16242d52a92d4c445daa467111bdf26f879f7076cdd5a8b956c9d6b
|
7
|
+
data.tar.gz: 92c8b4657df17dc93bf61e2a3aa944c180be23c30e9930c640938d2c5df9bb23ce172558e83be6ce3c55e9b809de0950f6504979711c0b6f136e85bcdb19fe91
|
data/CHANGELOG.md
CHANGED
@@ -1673,8 +1673,7 @@ module Google
|
|
1673
1673
|
|
1674
1674
|
# Required for each regional disk associated with the instance. Specify the URLs
|
1675
1675
|
# of the zones where the disk should be replicated to. You must provide exactly
|
1676
|
-
# two replica zones, and one zone must be the same as the instance zone.
|
1677
|
-
# t use this option with boot disks.
|
1676
|
+
# two replica zones, and one zone must be the same as the instance zone.
|
1678
1677
|
# Corresponds to the JSON property `replicaZones`
|
1679
1678
|
# @return [Array<String>]
|
1680
1679
|
attr_accessor :replica_zones
|
@@ -9739,7 +9738,7 @@ module Google
|
|
9739
9738
|
|
9740
9739
|
# This is used in PSC consumer ForwardingRule to control whether it should try
|
9741
9740
|
# to auto-generate a DNS zone or not. Non-PSC forwarding rules do not use this
|
9742
|
-
# field.
|
9741
|
+
# field. Once set, this field is not mutable.
|
9743
9742
|
# Corresponds to the JSON property `noAutomateDnsZone`
|
9744
9743
|
# @return [Boolean]
|
9745
9744
|
attr_accessor :no_automate_dns_zone
|
@@ -9855,6 +9854,7 @@ module Google
|
|
9855
9854
|
# API bundle: - vpc-sc - APIs that support VPC Service Controls. - all-apis -
|
9856
9855
|
# All supported Google APIs. - For Private Service Connect forwarding rules that
|
9857
9856
|
# forward traffic to managed services, the target must be a service attachment.
|
9857
|
+
# The target is not mutable once set as a service attachment.
|
9858
9858
|
# Corresponds to the JSON property `target`
|
9859
9859
|
# @return [String]
|
9860
9860
|
attr_accessor :target
|
@@ -23063,6 +23063,81 @@ module Google
|
|
23063
23063
|
end
|
23064
23064
|
end
|
23065
23065
|
|
23066
|
+
# Contains NAT IP information of a NAT config (i.e. usage status, mode).
|
23067
|
+
class NatIpInfo
|
23068
|
+
include Google::Apis::Core::Hashable
|
23069
|
+
|
23070
|
+
# A list of all NAT IPs assigned to this NAT config.
|
23071
|
+
# Corresponds to the JSON property `natIpInfoMappings`
|
23072
|
+
# @return [Array<Google::Apis::ComputeBeta::NatIpInfoNatIpInfoMapping>]
|
23073
|
+
attr_accessor :nat_ip_info_mappings
|
23074
|
+
|
23075
|
+
# Name of the NAT config which the NAT IP belongs to.
|
23076
|
+
# Corresponds to the JSON property `natName`
|
23077
|
+
# @return [String]
|
23078
|
+
attr_accessor :nat_name
|
23079
|
+
|
23080
|
+
def initialize(**args)
|
23081
|
+
update!(**args)
|
23082
|
+
end
|
23083
|
+
|
23084
|
+
# Update properties of this object
|
23085
|
+
def update!(**args)
|
23086
|
+
@nat_ip_info_mappings = args[:nat_ip_info_mappings] if args.key?(:nat_ip_info_mappings)
|
23087
|
+
@nat_name = args[:nat_name] if args.key?(:nat_name)
|
23088
|
+
end
|
23089
|
+
end
|
23090
|
+
|
23091
|
+
# Contains information of a NAT IP.
|
23092
|
+
class NatIpInfoNatIpInfoMapping
|
23093
|
+
include Google::Apis::Core::Hashable
|
23094
|
+
|
23095
|
+
# Specifies whether NAT IP is auto or manual.
|
23096
|
+
# Corresponds to the JSON property `mode`
|
23097
|
+
# @return [String]
|
23098
|
+
attr_accessor :mode
|
23099
|
+
|
23100
|
+
# NAT IP address. For example: 203.0.113.11.
|
23101
|
+
# Corresponds to the JSON property `natIp`
|
23102
|
+
# @return [String]
|
23103
|
+
attr_accessor :nat_ip
|
23104
|
+
|
23105
|
+
# Specifies whether NAT IP is currently serving at least one endpoint or not.
|
23106
|
+
# Corresponds to the JSON property `usage`
|
23107
|
+
# @return [String]
|
23108
|
+
attr_accessor :usage
|
23109
|
+
|
23110
|
+
def initialize(**args)
|
23111
|
+
update!(**args)
|
23112
|
+
end
|
23113
|
+
|
23114
|
+
# Update properties of this object
|
23115
|
+
def update!(**args)
|
23116
|
+
@mode = args[:mode] if args.key?(:mode)
|
23117
|
+
@nat_ip = args[:nat_ip] if args.key?(:nat_ip)
|
23118
|
+
@usage = args[:usage] if args.key?(:usage)
|
23119
|
+
end
|
23120
|
+
end
|
23121
|
+
|
23122
|
+
#
|
23123
|
+
class NatIpInfoResponse
|
23124
|
+
include Google::Apis::Core::Hashable
|
23125
|
+
|
23126
|
+
# [Output Only] A list of NAT IP information.
|
23127
|
+
# Corresponds to the JSON property `result`
|
23128
|
+
# @return [Array<Google::Apis::ComputeBeta::NatIpInfo>]
|
23129
|
+
attr_accessor :result
|
23130
|
+
|
23131
|
+
def initialize(**args)
|
23132
|
+
update!(**args)
|
23133
|
+
end
|
23134
|
+
|
23135
|
+
# Update properties of this object
|
23136
|
+
def update!(**args)
|
23137
|
+
@result = args[:result] if args.key?(:result)
|
23138
|
+
end
|
23139
|
+
end
|
23140
|
+
|
23066
23141
|
# Represents a VPC Network resource. Networks connect resources to each other
|
23067
23142
|
# and to the internet. For more information, read Virtual Private Cloud (VPC)
|
23068
23143
|
# Network.
|
@@ -27654,7 +27729,7 @@ module Google
|
|
27654
27729
|
# Handling API responses. Operations can be global, regional or zonal. - For
|
27655
27730
|
# global operations, use the `globalOperations` resource. - For regional
|
27656
27731
|
# operations, use the `regionOperations` resource. - For zonal operations, use
|
27657
|
-
# the `
|
27732
|
+
# the `zoneOperations` resource. For more information, read Global, Regional,
|
27658
27733
|
# and Zonal Resources.
|
27659
27734
|
class Operation
|
27660
27735
|
include Google::Apis::Core::Hashable
|
@@ -27760,6 +27835,12 @@ module Google
|
|
27760
27835
|
# @return [String]
|
27761
27836
|
attr_accessor :self_link
|
27762
27837
|
|
27838
|
+
# [Output Only] If the operation is for projects.setCommonInstanceMetadata, this
|
27839
|
+
# field will contain information on all underlying zonal actions and their state.
|
27840
|
+
# Corresponds to the JSON property `setCommonInstanceMetadataOperationMetadata`
|
27841
|
+
# @return [Google::Apis::ComputeBeta::SetCommonInstanceMetadataOperationMetadata]
|
27842
|
+
attr_accessor :set_common_instance_metadata_operation_metadata
|
27843
|
+
|
27763
27844
|
# [Output Only] The time that this operation was started by the server. This
|
27764
27845
|
# value is in RFC3339 text format.
|
27765
27846
|
# Corresponds to the JSON property `startTime`
|
@@ -27792,7 +27873,7 @@ module Google
|
|
27792
27873
|
attr_accessor :target_link
|
27793
27874
|
|
27794
27875
|
# [Output Only] User who requested the operation, for example: `user@example.com`
|
27795
|
-
#
|
27876
|
+
# or `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.
|
27796
27877
|
# Corresponds to the JSON property `user`
|
27797
27878
|
# @return [String]
|
27798
27879
|
attr_accessor :user
|
@@ -27832,6 +27913,7 @@ module Google
|
|
27832
27913
|
@progress = args[:progress] if args.key?(:progress)
|
27833
27914
|
@region = args[:region] if args.key?(:region)
|
27834
27915
|
@self_link = args[:self_link] if args.key?(:self_link)
|
27916
|
+
@set_common_instance_metadata_operation_metadata = args[:set_common_instance_metadata_operation_metadata] if args.key?(:set_common_instance_metadata_operation_metadata)
|
27835
27917
|
@start_time = args[:start_time] if args.key?(:start_time)
|
27836
27918
|
@status = args[:status] if args.key?(:status)
|
27837
27919
|
@status_message = args[:status_message] if args.key?(:status_message)
|
@@ -38905,6 +38987,63 @@ module Google
|
|
38905
38987
|
end
|
38906
38988
|
end
|
38907
38989
|
|
38990
|
+
#
|
38991
|
+
class SetCommonInstanceMetadataOperationMetadata
|
38992
|
+
include Google::Apis::Core::Hashable
|
38993
|
+
|
38994
|
+
# [Output Only] The client operation id.
|
38995
|
+
# Corresponds to the JSON property `clientOperationId`
|
38996
|
+
# @return [String]
|
38997
|
+
attr_accessor :client_operation_id
|
38998
|
+
|
38999
|
+
# [Output Only] Status information per location (location name is key). Example
|
39000
|
+
# key: zones/us-central1-a
|
39001
|
+
# Corresponds to the JSON property `perLocationOperations`
|
39002
|
+
# @return [Hash<String,Google::Apis::ComputeBeta::SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo>]
|
39003
|
+
attr_accessor :per_location_operations
|
39004
|
+
|
39005
|
+
def initialize(**args)
|
39006
|
+
update!(**args)
|
39007
|
+
end
|
39008
|
+
|
39009
|
+
# Update properties of this object
|
39010
|
+
def update!(**args)
|
39011
|
+
@client_operation_id = args[:client_operation_id] if args.key?(:client_operation_id)
|
39012
|
+
@per_location_operations = args[:per_location_operations] if args.key?(:per_location_operations)
|
39013
|
+
end
|
39014
|
+
end
|
39015
|
+
|
39016
|
+
#
|
39017
|
+
class SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo
|
39018
|
+
include Google::Apis::Core::Hashable
|
39019
|
+
|
39020
|
+
# The `Status` type defines a logical error model that is suitable for different
|
39021
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
39022
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
39023
|
+
# data: error code, error message, and error details. You can find out more
|
39024
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
39025
|
+
# //cloud.google.com/apis/design/errors).
|
39026
|
+
# Corresponds to the JSON property `error`
|
39027
|
+
# @return [Google::Apis::ComputeBeta::Status]
|
39028
|
+
attr_accessor :error
|
39029
|
+
|
39030
|
+
# [Output Only] Status of the action, which can be one of the following: `
|
39031
|
+
# PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.
|
39032
|
+
# Corresponds to the JSON property `state`
|
39033
|
+
# @return [String]
|
39034
|
+
attr_accessor :state
|
39035
|
+
|
39036
|
+
def initialize(**args)
|
39037
|
+
update!(**args)
|
39038
|
+
end
|
39039
|
+
|
39040
|
+
# Update properties of this object
|
39041
|
+
def update!(**args)
|
39042
|
+
@error = args[:error] if args.key?(:error)
|
39043
|
+
@state = args[:state] if args.key?(:state)
|
39044
|
+
end
|
39045
|
+
end
|
39046
|
+
|
38908
39047
|
# The share setting for reservations and sole tenancy node groups.
|
38909
39048
|
class ShareSettings
|
38910
39049
|
include Google::Apis::Core::Hashable
|
@@ -39625,6 +39764,71 @@ module Google
|
|
39625
39764
|
end
|
39626
39765
|
end
|
39627
39766
|
|
39767
|
+
#
|
39768
|
+
class SnapshotSettings
|
39769
|
+
include Google::Apis::Core::Hashable
|
39770
|
+
|
39771
|
+
# Policy of which storage location is going to be resolved, and additional data
|
39772
|
+
# that particularizes how the policy is going to be carried out.
|
39773
|
+
# Corresponds to the JSON property `storageLocation`
|
39774
|
+
# @return [Google::Apis::ComputeBeta::SnapshotSettingsStorageLocationSettings]
|
39775
|
+
attr_accessor :storage_location
|
39776
|
+
|
39777
|
+
def initialize(**args)
|
39778
|
+
update!(**args)
|
39779
|
+
end
|
39780
|
+
|
39781
|
+
# Update properties of this object
|
39782
|
+
def update!(**args)
|
39783
|
+
@storage_location = args[:storage_location] if args.key?(:storage_location)
|
39784
|
+
end
|
39785
|
+
end
|
39786
|
+
|
39787
|
+
#
|
39788
|
+
class SnapshotSettingsStorageLocationSettings
|
39789
|
+
include Google::Apis::Core::Hashable
|
39790
|
+
|
39791
|
+
# When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the
|
39792
|
+
# locations listed in this field. Keys are GCS bucket locations.
|
39793
|
+
# Corresponds to the JSON property `locations`
|
39794
|
+
# @return [Hash<String,Google::Apis::ComputeBeta::SnapshotSettingsStorageLocationSettingsStorageLocationPreference>]
|
39795
|
+
attr_accessor :locations
|
39796
|
+
|
39797
|
+
# The chosen location policy.
|
39798
|
+
# Corresponds to the JSON property `policy`
|
39799
|
+
# @return [String]
|
39800
|
+
attr_accessor :policy
|
39801
|
+
|
39802
|
+
def initialize(**args)
|
39803
|
+
update!(**args)
|
39804
|
+
end
|
39805
|
+
|
39806
|
+
# Update properties of this object
|
39807
|
+
def update!(**args)
|
39808
|
+
@locations = args[:locations] if args.key?(:locations)
|
39809
|
+
@policy = args[:policy] if args.key?(:policy)
|
39810
|
+
end
|
39811
|
+
end
|
39812
|
+
|
39813
|
+
# A structure for specifying storage locations.
|
39814
|
+
class SnapshotSettingsStorageLocationSettingsStorageLocationPreference
|
39815
|
+
include Google::Apis::Core::Hashable
|
39816
|
+
|
39817
|
+
# Name of the location. It should be one of the GCS buckets.
|
39818
|
+
# Corresponds to the JSON property `name`
|
39819
|
+
# @return [String]
|
39820
|
+
attr_accessor :name
|
39821
|
+
|
39822
|
+
def initialize(**args)
|
39823
|
+
update!(**args)
|
39824
|
+
end
|
39825
|
+
|
39826
|
+
# Update properties of this object
|
39827
|
+
def update!(**args)
|
39828
|
+
@name = args[:name] if args.key?(:name)
|
39829
|
+
end
|
39830
|
+
end
|
39831
|
+
|
39628
39832
|
#
|
39629
39833
|
class SourceDiskEncryptionKey
|
39630
39834
|
include Google::Apis::Core::Hashable
|
@@ -40974,6 +41178,45 @@ module Google
|
|
40974
41178
|
end
|
40975
41179
|
end
|
40976
41180
|
|
41181
|
+
# The `Status` type defines a logical error model that is suitable for different
|
41182
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
41183
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
41184
|
+
# data: error code, error message, and error details. You can find out more
|
41185
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
41186
|
+
# //cloud.google.com/apis/design/errors).
|
41187
|
+
class Status
|
41188
|
+
include Google::Apis::Core::Hashable
|
41189
|
+
|
41190
|
+
# The status code, which should be an enum value of google.rpc.Code.
|
41191
|
+
# Corresponds to the JSON property `code`
|
41192
|
+
# @return [Fixnum]
|
41193
|
+
attr_accessor :code
|
41194
|
+
|
41195
|
+
# A list of messages that carry the error details. There is a common set of
|
41196
|
+
# message types for APIs to use.
|
41197
|
+
# Corresponds to the JSON property `details`
|
41198
|
+
# @return [Array<Hash<String,Object>>]
|
41199
|
+
attr_accessor :details
|
41200
|
+
|
41201
|
+
# A developer-facing error message, which should be in English. Any user-facing
|
41202
|
+
# error message should be localized and sent in the google.rpc.Status.details
|
41203
|
+
# field, or localized by the client.
|
41204
|
+
# Corresponds to the JSON property `message`
|
41205
|
+
# @return [String]
|
41206
|
+
attr_accessor :message
|
41207
|
+
|
41208
|
+
def initialize(**args)
|
41209
|
+
update!(**args)
|
41210
|
+
end
|
41211
|
+
|
41212
|
+
# Update properties of this object
|
41213
|
+
def update!(**args)
|
41214
|
+
@code = args[:code] if args.key?(:code)
|
41215
|
+
@details = args[:details] if args.key?(:details)
|
41216
|
+
@message = args[:message] if args.key?(:message)
|
41217
|
+
end
|
41218
|
+
end
|
41219
|
+
|
40977
41220
|
# Represents a Subnetwork resource. A subnetwork (also known as a subnet) is a
|
40978
41221
|
# logical partition of a Virtual Private Cloud network with one primary IP range
|
40979
41222
|
# 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 ComputeBeta
|
18
18
|
# Version of the google-apis-compute_beta gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.76.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 = "
|
25
|
+
REVISION = "20230725"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -2860,6 +2860,24 @@ module Google
|
|
2860
2860
|
include Google::Apis::Core::JsonObjectSupport
|
2861
2861
|
end
|
2862
2862
|
|
2863
|
+
class NatIpInfo
|
2864
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2865
|
+
|
2866
|
+
include Google::Apis::Core::JsonObjectSupport
|
2867
|
+
end
|
2868
|
+
|
2869
|
+
class NatIpInfoNatIpInfoMapping
|
2870
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2871
|
+
|
2872
|
+
include Google::Apis::Core::JsonObjectSupport
|
2873
|
+
end
|
2874
|
+
|
2875
|
+
class NatIpInfoResponse
|
2876
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2877
|
+
|
2878
|
+
include Google::Apis::Core::JsonObjectSupport
|
2879
|
+
end
|
2880
|
+
|
2863
2881
|
class Network
|
2864
2882
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2865
2883
|
|
@@ -5050,6 +5068,18 @@ module Google
|
|
5050
5068
|
include Google::Apis::Core::JsonObjectSupport
|
5051
5069
|
end
|
5052
5070
|
|
5071
|
+
class SetCommonInstanceMetadataOperationMetadata
|
5072
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5073
|
+
|
5074
|
+
include Google::Apis::Core::JsonObjectSupport
|
5075
|
+
end
|
5076
|
+
|
5077
|
+
class SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo
|
5078
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5079
|
+
|
5080
|
+
include Google::Apis::Core::JsonObjectSupport
|
5081
|
+
end
|
5082
|
+
|
5053
5083
|
class ShareSettings
|
5054
5084
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5055
5085
|
|
@@ -5140,6 +5170,24 @@ module Google
|
|
5140
5170
|
include Google::Apis::Core::JsonObjectSupport
|
5141
5171
|
end
|
5142
5172
|
|
5173
|
+
class SnapshotSettings
|
5174
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5175
|
+
|
5176
|
+
include Google::Apis::Core::JsonObjectSupport
|
5177
|
+
end
|
5178
|
+
|
5179
|
+
class SnapshotSettingsStorageLocationSettings
|
5180
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5181
|
+
|
5182
|
+
include Google::Apis::Core::JsonObjectSupport
|
5183
|
+
end
|
5184
|
+
|
5185
|
+
class SnapshotSettingsStorageLocationSettingsStorageLocationPreference
|
5186
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5187
|
+
|
5188
|
+
include Google::Apis::Core::JsonObjectSupport
|
5189
|
+
end
|
5190
|
+
|
5143
5191
|
class SourceDiskEncryptionKey
|
5144
5192
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5145
5193
|
|
@@ -5338,6 +5386,12 @@ module Google
|
|
5338
5386
|
include Google::Apis::Core::JsonObjectSupport
|
5339
5387
|
end
|
5340
5388
|
|
5389
|
+
class Status
|
5390
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5391
|
+
|
5392
|
+
include Google::Apis::Core::JsonObjectSupport
|
5393
|
+
end
|
5394
|
+
|
5341
5395
|
class Subnetwork
|
5342
5396
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5343
5397
|
|
@@ -11823,6 +11877,32 @@ module Google
|
|
11823
11877
|
end
|
11824
11878
|
end
|
11825
11879
|
|
11880
|
+
class NatIpInfo
|
11881
|
+
# @private
|
11882
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
11883
|
+
collection :nat_ip_info_mappings, as: 'natIpInfoMappings', class: Google::Apis::ComputeBeta::NatIpInfoNatIpInfoMapping, decorator: Google::Apis::ComputeBeta::NatIpInfoNatIpInfoMapping::Representation
|
11884
|
+
|
11885
|
+
property :nat_name, as: 'natName'
|
11886
|
+
end
|
11887
|
+
end
|
11888
|
+
|
11889
|
+
class NatIpInfoNatIpInfoMapping
|
11890
|
+
# @private
|
11891
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
11892
|
+
property :mode, as: 'mode'
|
11893
|
+
property :nat_ip, as: 'natIp'
|
11894
|
+
property :usage, as: 'usage'
|
11895
|
+
end
|
11896
|
+
end
|
11897
|
+
|
11898
|
+
class NatIpInfoResponse
|
11899
|
+
# @private
|
11900
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
11901
|
+
collection :result, as: 'result', class: Google::Apis::ComputeBeta::NatIpInfo, decorator: Google::Apis::ComputeBeta::NatIpInfo::Representation
|
11902
|
+
|
11903
|
+
end
|
11904
|
+
end
|
11905
|
+
|
11826
11906
|
class Network
|
11827
11907
|
# @private
|
11828
11908
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -13009,6 +13089,8 @@ module Google
|
|
13009
13089
|
property :progress, as: 'progress'
|
13010
13090
|
property :region, as: 'region'
|
13011
13091
|
property :self_link, as: 'selfLink'
|
13092
|
+
property :set_common_instance_metadata_operation_metadata, as: 'setCommonInstanceMetadataOperationMetadata', class: Google::Apis::ComputeBeta::SetCommonInstanceMetadataOperationMetadata, decorator: Google::Apis::ComputeBeta::SetCommonInstanceMetadataOperationMetadata::Representation
|
13093
|
+
|
13012
13094
|
property :start_time, as: 'startTime'
|
13013
13095
|
property :status, as: 'status'
|
13014
13096
|
property :status_message, as: 'statusMessage'
|
@@ -15851,6 +15933,24 @@ module Google
|
|
15851
15933
|
end
|
15852
15934
|
end
|
15853
15935
|
|
15936
|
+
class SetCommonInstanceMetadataOperationMetadata
|
15937
|
+
# @private
|
15938
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
15939
|
+
property :client_operation_id, as: 'clientOperationId'
|
15940
|
+
hash :per_location_operations, as: 'perLocationOperations', class: Google::Apis::ComputeBeta::SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo, decorator: Google::Apis::ComputeBeta::SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo::Representation
|
15941
|
+
|
15942
|
+
end
|
15943
|
+
end
|
15944
|
+
|
15945
|
+
class SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo
|
15946
|
+
# @private
|
15947
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
15948
|
+
property :error, as: 'error', class: Google::Apis::ComputeBeta::Status, decorator: Google::Apis::ComputeBeta::Status::Representation
|
15949
|
+
|
15950
|
+
property :state, as: 'state'
|
15951
|
+
end
|
15952
|
+
end
|
15953
|
+
|
15854
15954
|
class ShareSettings
|
15855
15955
|
# @private
|
15856
15956
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -16024,6 +16124,30 @@ module Google
|
|
16024
16124
|
end
|
16025
16125
|
end
|
16026
16126
|
|
16127
|
+
class SnapshotSettings
|
16128
|
+
# @private
|
16129
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
16130
|
+
property :storage_location, as: 'storageLocation', class: Google::Apis::ComputeBeta::SnapshotSettingsStorageLocationSettings, decorator: Google::Apis::ComputeBeta::SnapshotSettingsStorageLocationSettings::Representation
|
16131
|
+
|
16132
|
+
end
|
16133
|
+
end
|
16134
|
+
|
16135
|
+
class SnapshotSettingsStorageLocationSettings
|
16136
|
+
# @private
|
16137
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
16138
|
+
hash :locations, as: 'locations', class: Google::Apis::ComputeBeta::SnapshotSettingsStorageLocationSettingsStorageLocationPreference, decorator: Google::Apis::ComputeBeta::SnapshotSettingsStorageLocationSettingsStorageLocationPreference::Representation
|
16139
|
+
|
16140
|
+
property :policy, as: 'policy'
|
16141
|
+
end
|
16142
|
+
end
|
16143
|
+
|
16144
|
+
class SnapshotSettingsStorageLocationSettingsStorageLocationPreference
|
16145
|
+
# @private
|
16146
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
16147
|
+
property :name, as: 'name'
|
16148
|
+
end
|
16149
|
+
end
|
16150
|
+
|
16027
16151
|
class SourceDiskEncryptionKey
|
16028
16152
|
# @private
|
16029
16153
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -16381,6 +16505,15 @@ module Google
|
|
16381
16505
|
end
|
16382
16506
|
end
|
16383
16507
|
|
16508
|
+
class Status
|
16509
|
+
# @private
|
16510
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
16511
|
+
property :code, as: 'code'
|
16512
|
+
collection :details, as: 'details'
|
16513
|
+
property :message, as: 'message'
|
16514
|
+
end
|
16515
|
+
end
|
16516
|
+
|
16384
16517
|
class Subnetwork
|
16385
16518
|
# @private
|
16386
16519
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -18170,6 +18170,62 @@ module Google
|
|
18170
18170
|
execute_or_queue_command(command, &block)
|
18171
18171
|
end
|
18172
18172
|
|
18173
|
+
# Patches the specified NetworkAttachment resource with the data included in the
|
18174
|
+
# request. This method supports PATCH semantics and uses JSON merge patch format
|
18175
|
+
# and processing rules.
|
18176
|
+
# @param [String] project
|
18177
|
+
# Project ID for this request.
|
18178
|
+
# @param [String] region
|
18179
|
+
# Name of the region for this request.
|
18180
|
+
# @param [String] network_attachment
|
18181
|
+
# Name of the NetworkAttachment resource to patch.
|
18182
|
+
# @param [Google::Apis::ComputeBeta::NetworkAttachment] network_attachment_object
|
18183
|
+
# @param [String] request_id
|
18184
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
18185
|
+
# that if you must retry your request, the server will know to ignore the
|
18186
|
+
# request if it has already been completed. For example, consider a situation
|
18187
|
+
# where you make an initial request and the request times out. If you make the
|
18188
|
+
# request again with the same request ID, the server can check if original
|
18189
|
+
# operation with the same request ID was received, and if so, will ignore the
|
18190
|
+
# second request. This prevents clients from accidentally creating duplicate
|
18191
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
18192
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000). end_interface:
|
18193
|
+
# MixerMutationRequestBuilder
|
18194
|
+
# @param [String] fields
|
18195
|
+
# Selector specifying which fields to include in a partial response.
|
18196
|
+
# @param [String] quota_user
|
18197
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
18198
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
18199
|
+
# @param [String] user_ip
|
18200
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
18201
|
+
# @param [Google::Apis::RequestOptions] options
|
18202
|
+
# Request-specific options
|
18203
|
+
#
|
18204
|
+
# @yield [result, err] Result & error if block supplied
|
18205
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
18206
|
+
# @yieldparam err [StandardError] error object if request failed
|
18207
|
+
#
|
18208
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
18209
|
+
#
|
18210
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
18211
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
18212
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
18213
|
+
def patch_network_attachment(project, region, network_attachment, network_attachment_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
18214
|
+
command = make_simple_command(:patch, 'projects/{project}/regions/{region}/networkAttachments/{networkAttachment}', options)
|
18215
|
+
command.request_representation = Google::Apis::ComputeBeta::NetworkAttachment::Representation
|
18216
|
+
command.request_object = network_attachment_object
|
18217
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
18218
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
18219
|
+
command.params['project'] = project unless project.nil?
|
18220
|
+
command.params['region'] = region unless region.nil?
|
18221
|
+
command.params['networkAttachment'] = network_attachment unless network_attachment.nil?
|
18222
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
18223
|
+
command.query['fields'] = fields unless fields.nil?
|
18224
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
18225
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
18226
|
+
execute_or_queue_command(command, &block)
|
18227
|
+
end
|
18228
|
+
|
18173
18229
|
# Sets the access control policy on the specified resource. Replaces any
|
18174
18230
|
# existing policy.
|
18175
18231
|
# @param [String] project
|
@@ -36107,6 +36163,50 @@ module Google
|
|
36107
36163
|
execute_or_queue_command(command, &block)
|
36108
36164
|
end
|
36109
36165
|
|
36166
|
+
# Retrieves runtime NAT IP information.
|
36167
|
+
# @param [String] project
|
36168
|
+
# Project ID for this request.
|
36169
|
+
# @param [String] region
|
36170
|
+
# Name of the region for this request.
|
36171
|
+
# @param [String] router
|
36172
|
+
# Name of the Router resource to query for Nat IP information. The name should
|
36173
|
+
# conform to RFC1035.
|
36174
|
+
# @param [String] nat_name
|
36175
|
+
# Name of the nat service to filter the NAT IP information. If it is omitted,
|
36176
|
+
# all nats for this router will be returned. Name should conform to RFC1035.
|
36177
|
+
# @param [String] fields
|
36178
|
+
# Selector specifying which fields to include in a partial response.
|
36179
|
+
# @param [String] quota_user
|
36180
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
36181
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
36182
|
+
# @param [String] user_ip
|
36183
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
36184
|
+
# @param [Google::Apis::RequestOptions] options
|
36185
|
+
# Request-specific options
|
36186
|
+
#
|
36187
|
+
# @yield [result, err] Result & error if block supplied
|
36188
|
+
# @yieldparam result [Google::Apis::ComputeBeta::NatIpInfoResponse] parsed result object
|
36189
|
+
# @yieldparam err [StandardError] error object if request failed
|
36190
|
+
#
|
36191
|
+
# @return [Google::Apis::ComputeBeta::NatIpInfoResponse]
|
36192
|
+
#
|
36193
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
36194
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
36195
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
36196
|
+
def get_router_nat_ip_info(project, region, router, nat_name: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
36197
|
+
command = make_simple_command(:get, 'projects/{project}/regions/{region}/routers/{router}/getNatIpInfo', options)
|
36198
|
+
command.response_representation = Google::Apis::ComputeBeta::NatIpInfoResponse::Representation
|
36199
|
+
command.response_class = Google::Apis::ComputeBeta::NatIpInfoResponse
|
36200
|
+
command.params['project'] = project unless project.nil?
|
36201
|
+
command.params['region'] = region unless region.nil?
|
36202
|
+
command.params['router'] = router unless router.nil?
|
36203
|
+
command.query['natName'] = nat_name unless nat_name.nil?
|
36204
|
+
command.query['fields'] = fields unless fields.nil?
|
36205
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
36206
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
36207
|
+
execute_or_queue_command(command, &block)
|
36208
|
+
end
|
36209
|
+
|
36110
36210
|
# Retrieves runtime Nat mapping information of VM endpoints.
|
36111
36211
|
# @param [String] project
|
36112
36212
|
# Project ID for this request.
|
@@ -38066,6 +38166,89 @@ module Google
|
|
38066
38166
|
execute_or_queue_command(command, &block)
|
38067
38167
|
end
|
38068
38168
|
|
38169
|
+
# Get snapshot settings.
|
38170
|
+
# @param [String] project
|
38171
|
+
# Project ID for this request.
|
38172
|
+
# @param [String] fields
|
38173
|
+
# Selector specifying which fields to include in a partial response.
|
38174
|
+
# @param [String] quota_user
|
38175
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
38176
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
38177
|
+
# @param [String] user_ip
|
38178
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
38179
|
+
# @param [Google::Apis::RequestOptions] options
|
38180
|
+
# Request-specific options
|
38181
|
+
#
|
38182
|
+
# @yield [result, err] Result & error if block supplied
|
38183
|
+
# @yieldparam result [Google::Apis::ComputeBeta::SnapshotSettings] parsed result object
|
38184
|
+
# @yieldparam err [StandardError] error object if request failed
|
38185
|
+
#
|
38186
|
+
# @return [Google::Apis::ComputeBeta::SnapshotSettings]
|
38187
|
+
#
|
38188
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
38189
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
38190
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
38191
|
+
def get_snapshot_setting(project, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
38192
|
+
command = make_simple_command(:get, 'projects/{project}/global/snapshotSettings', options)
|
38193
|
+
command.response_representation = Google::Apis::ComputeBeta::SnapshotSettings::Representation
|
38194
|
+
command.response_class = Google::Apis::ComputeBeta::SnapshotSettings
|
38195
|
+
command.params['project'] = project unless project.nil?
|
38196
|
+
command.query['fields'] = fields unless fields.nil?
|
38197
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
38198
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
38199
|
+
execute_or_queue_command(command, &block)
|
38200
|
+
end
|
38201
|
+
|
38202
|
+
# Patch snapshot settings.
|
38203
|
+
# @param [String] project
|
38204
|
+
# Project ID for this request.
|
38205
|
+
# @param [Google::Apis::ComputeBeta::SnapshotSettings] snapshot_settings_object
|
38206
|
+
# @param [String] request_id
|
38207
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
38208
|
+
# that if you must retry your request, the server will know to ignore the
|
38209
|
+
# request if it has already been completed. For example, consider a situation
|
38210
|
+
# where you make an initial request and the request times out. If you make the
|
38211
|
+
# request again with the same request ID, the server can check if original
|
38212
|
+
# operation with the same request ID was received, and if so, will ignore the
|
38213
|
+
# second request. This prevents clients from accidentally creating duplicate
|
38214
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
38215
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
38216
|
+
# @param [String] update_mask
|
38217
|
+
# update_mask indicates fields to be updated as part of this request.
|
38218
|
+
# @param [String] fields
|
38219
|
+
# Selector specifying which fields to include in a partial response.
|
38220
|
+
# @param [String] quota_user
|
38221
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
38222
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
38223
|
+
# @param [String] user_ip
|
38224
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
38225
|
+
# @param [Google::Apis::RequestOptions] options
|
38226
|
+
# Request-specific options
|
38227
|
+
#
|
38228
|
+
# @yield [result, err] Result & error if block supplied
|
38229
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
38230
|
+
# @yieldparam err [StandardError] error object if request failed
|
38231
|
+
#
|
38232
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
38233
|
+
#
|
38234
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
38235
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
38236
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
38237
|
+
def patch_snapshot_setting(project, snapshot_settings_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
38238
|
+
command = make_simple_command(:patch, 'projects/{project}/global/snapshotSettings', options)
|
38239
|
+
command.request_representation = Google::Apis::ComputeBeta::SnapshotSettings::Representation
|
38240
|
+
command.request_object = snapshot_settings_object
|
38241
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
38242
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
38243
|
+
command.params['project'] = project unless project.nil?
|
38244
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
38245
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
38246
|
+
command.query['fields'] = fields unless fields.nil?
|
38247
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
38248
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
38249
|
+
execute_or_queue_command(command, &block)
|
38250
|
+
end
|
38251
|
+
|
38069
38252
|
# Deletes the specified Snapshot resource. Keep in mind that deleting a single
|
38070
38253
|
# snapshot might not necessarily delete all the data on that snapshot. If any
|
38071
38254
|
# data on the snapshot that is marked for deletion is needed for subsequent
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-compute_beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.76.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-
|
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_beta/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.76.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|