google-apis-compute_beta 0.2.0 → 0.3.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: a7e4714b9cd71c746a6f8fb446f4e28255649db139ae9852195da4a70f7c1179
4
- data.tar.gz: 8dec9100fd79eee926c11c2219353e3f0e109a6fa4bac4b5f5e74f840d5d0e51
3
+ metadata.gz: eeedce7a61ada297430e4625ea77907ed5d53aa6d70e0d3d6b02ce008b8e90c3
4
+ data.tar.gz: ea987d7fd72d5b5b2ccf702e71c728c16955d6a63bb5558f60ada394bb7d0a8a
5
5
  SHA512:
6
- metadata.gz: e80f98366202511d99468c13c53f8c5d468ea29a9e05a2bcffd1be97983cc7473ba334494e4b8409161f437291e82d9ee39ee5b7652c0ab190c99d39d0b89e12
7
- data.tar.gz: 10c7ebe2a2cbb9dfc79fde09750e9123b1a1227d0e5ba9ed9e40d5fea8c7a2d7c1a2dfb95c7158784bfb16765da35aad12e946dd03aacfc4ee4ec2a35fb6c211
6
+ metadata.gz: 2f035356394b34c2cbaa0c6b18a00c3c79a4cbe8de8cea86a7ce42e45caf4a27ac396272570effb695bca213e042481eda9408909c1665c5875f2e10d42acd51
7
+ data.tar.gz: afa5533378d6ee06dbdac55cd9e8c1e1329508955d707892301999405bf6fbd0f803bdb6a2ebb6e2864c6c7751ab85c5666a3e1640826e36ed16cc24c2e1ac2b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-compute_beta
2
2
 
3
+ ### v0.3.0 (2021-02-16)
4
+
5
+ * Regenerated from discovery document revision 20210129
6
+
3
7
  ### v0.2.0 (2021-01-29)
4
8
 
5
9
  * Regenerated from discovery document revision 20210111
@@ -655,9 +655,9 @@ module Google
655
655
  # @return [String]
656
656
  attr_accessor :purpose
657
657
 
658
- # [Output Only] The URL of the region where the regional address resides. This
659
- # field is not applicable to global addresses. You must specify this field as
660
- # part of the HTTP request URL.
658
+ # [Output Only] The URL of the region where a regional address resides. For
659
+ # regional addresses, you must specify the region as a path parameter in the
660
+ # HTTP request URL. This field is not applicable to global addresses.
661
661
  # Corresponds to the JSON property `region`
662
662
  # @return [String]
663
663
  attr_accessor :region
@@ -1145,6 +1145,12 @@ module Google
1145
1145
  # @return [Array<Google::Apis::ComputeBeta::AllocationSpecificSkuAllocationAllocatedInstancePropertiesReservedDisk>]
1146
1146
  attr_accessor :local_ssds
1147
1147
 
1148
+ # An opaque location hint used to place the allocation close to other resources.
1149
+ # This field is for use by internal tools that use the public API.
1150
+ # Corresponds to the JSON property `locationHint`
1151
+ # @return [String]
1152
+ attr_accessor :location_hint
1153
+
1148
1154
  # Specifies type of machine (name only) which has fixed number of vCPUs and
1149
1155
  # fixed amount of memory. This also includes specifying custom machine type
1150
1156
  # following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
@@ -1165,6 +1171,7 @@ module Google
1165
1171
  def update!(**args)
1166
1172
  @guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators)
1167
1173
  @local_ssds = args[:local_ssds] if args.key?(:local_ssds)
1174
+ @location_hint = args[:location_hint] if args.key?(:location_hint)
1168
1175
  @machine_type = args[:machine_type] if args.key?(:machine_type)
1169
1176
  @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
1170
1177
  end
@@ -3222,8 +3229,8 @@ module Google
3222
3229
 
3223
3230
  # Deprecated in favor of portName. The TCP port to connect on the backend. The
3224
3231
  # default value is 80.
3225
- # This cannot be used if the loadBalancingScheme is INTERNAL (Internal TCP/UDP
3226
- # Load Balancing).
3232
+ # Backend services for Internal TCP/UDP Load Balancing and Network Load
3233
+ # Balancing require you omit port.
3227
3234
  # Corresponds to the JSON property `port`
3228
3235
  # @return [Fixnum]
3229
3236
  attr_accessor :port
@@ -7994,8 +8001,7 @@ module Google
7994
8001
  # @return [String]
7995
8002
  attr_accessor :action
7996
8003
 
7997
- # An optional description of this resource. Provide this property when you
7998
- # create the resource.
8004
+ # An optional description for this resource.
7999
8005
  # Corresponds to the JSON property `description`
8000
8006
  # @return [String]
8001
8007
  attr_accessor :description
@@ -8458,6 +8464,11 @@ module Google
8458
8464
  # @return [Array<String>]
8459
8465
  attr_accessor :ports
8460
8466
 
8467
+ # [Output Only] The PSC connection id of the PSC Forwarding Rule.
8468
+ # Corresponds to the JSON property `pscConnectionId`
8469
+ # @return [Fixnum]
8470
+ attr_accessor :psc_connection_id
8471
+
8461
8472
  # [Output Only] URL of the region where the regional forwarding rule resides.
8462
8473
  # This field is not applicable to global forwarding rules. You must specify this
8463
8474
  # field as part of the HTTP request URL. It is not settable as a field in the
@@ -8545,6 +8556,7 @@ module Google
8545
8556
  @network_tier = args[:network_tier] if args.key?(:network_tier)
8546
8557
  @port_range = args[:port_range] if args.key?(:port_range)
8547
8558
  @ports = args[:ports] if args.key?(:ports)
8559
+ @psc_connection_id = args[:psc_connection_id] if args.key?(:psc_connection_id)
8548
8560
  @region = args[:region] if args.key?(:region)
8549
8561
  @self_link = args[:self_link] if args.key?(:self_link)
8550
8562
  @service_directory_registrations = args[:service_directory_registrations] if args.key?(:service_directory_registrations)
@@ -8831,6 +8843,14 @@ module Google
8831
8843
  # @return [String]
8832
8844
  attr_accessor :service
8833
8845
 
8846
+ # [Optional] Service Directory region to register this global forwarding rule
8847
+ # under. Default to "us-central1". Only used for PSC for Google APIs. All PSC
8848
+ # for Google APIs Forwarding Rules on the same network should use the same
8849
+ # Service Directory region.
8850
+ # Corresponds to the JSON property `serviceDirectoryRegion`
8851
+ # @return [String]
8852
+ attr_accessor :service_directory_region
8853
+
8834
8854
  def initialize(**args)
8835
8855
  update!(**args)
8836
8856
  end
@@ -8839,6 +8859,7 @@ module Google
8839
8859
  def update!(**args)
8840
8860
  @namespace = args[:namespace] if args.key?(:namespace)
8841
8861
  @service = args[:service] if args.key?(:service)
8862
+ @service_directory_region = args[:service_directory_region] if args.key?(:service_directory_region)
8842
8863
  end
8843
8864
  end
8844
8865
 
@@ -10347,7 +10368,9 @@ module Google
10347
10368
  # @return [String]
10348
10369
  attr_accessor :instance
10349
10370
 
10350
- # A forwarding rule IP address assigned to this instance.
10371
+ # For target pool based Network Load Balancing, it indicates the forwarding rule'
10372
+ # s IP address assigned to this instance. For other types of load balancing, the
10373
+ # field indicates VM internal ip.
10351
10374
  # Corresponds to the JSON property `ipAddress`
10352
10375
  # @return [String]
10353
10376
  attr_accessor :ip_address
@@ -11804,6 +11827,12 @@ module Google
11804
11827
  # @return [Google::Apis::ComputeBeta::Image::RawDisk]
11805
11828
  attr_accessor :raw_disk
11806
11829
 
11830
+ # [Output Only] Reserved for future use.
11831
+ # Corresponds to the JSON property `satisfiesPzs`
11832
+ # @return [Boolean]
11833
+ attr_accessor :satisfies_pzs
11834
+ alias_method :satisfies_pzs?, :satisfies_pzs
11835
+
11807
11836
  # [Output Only] Server-defined URL for the resource.
11808
11837
  # Corresponds to the JSON property `selfLink`
11809
11838
  # @return [String]
@@ -11930,6 +11959,7 @@ module Google
11930
11959
  @licenses = args[:licenses] if args.key?(:licenses)
11931
11960
  @name = args[:name] if args.key?(:name)
11932
11961
  @raw_disk = args[:raw_disk] if args.key?(:raw_disk)
11962
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
11933
11963
  @self_link = args[:self_link] if args.key?(:self_link)
11934
11964
  @shielded_instance_initial_state = args[:shielded_instance_initial_state] if args.key?(:shielded_instance_initial_state)
11935
11965
  @source_disk = args[:source_disk] if args.key?(:source_disk)
@@ -12320,6 +12350,11 @@ module Google
12320
12350
  # @return [Array<Google::Apis::ComputeBeta::NetworkInterface>]
12321
12351
  attr_accessor :network_interfaces
12322
12352
 
12353
+ #
12354
+ # Corresponds to the JSON property `networkPerformanceConfig`
12355
+ # @return [Google::Apis::ComputeBeta::NetworkPerformanceConfig]
12356
+ attr_accessor :network_performance_config
12357
+
12323
12358
  # The private IPv6 google access type for the VM. If not specified, use
12324
12359
  # INHERIT_FROM_SUBNETWORK as default.
12325
12360
  # Corresponds to the JSON property `privateIpv6GoogleAccess`
@@ -12342,7 +12377,7 @@ module Google
12342
12377
  attr_accessor :satisfies_pzs
12343
12378
  alias_method :satisfies_pzs?, :satisfies_pzs
12344
12379
 
12345
- # Sets the scheduling options for an Instance. NextID: 13
12380
+ # Sets the scheduling options for an Instance. NextID: 17
12346
12381
  # Corresponds to the JSON property `scheduling`
12347
12382
  # @return [Google::Apis::ComputeBeta::Scheduling]
12348
12383
  attr_accessor :scheduling
@@ -12456,6 +12491,7 @@ module Google
12456
12491
  @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
12457
12492
  @name = args[:name] if args.key?(:name)
12458
12493
  @network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces)
12494
+ @network_performance_config = args[:network_performance_config] if args.key?(:network_performance_config)
12459
12495
  @private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
12460
12496
  @reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
12461
12497
  @resource_policies = args[:resource_policies] if args.key?(:resource_policies)
@@ -15074,6 +15110,11 @@ module Google
15074
15110
  # @return [Array<Google::Apis::ComputeBeta::NetworkInterface>]
15075
15111
  attr_accessor :network_interfaces
15076
15112
 
15113
+ #
15114
+ # Corresponds to the JSON property `networkPerformanceConfig`
15115
+ # @return [Google::Apis::ComputeBeta::NetworkPerformanceConfig]
15116
+ attr_accessor :network_performance_config
15117
+
15077
15118
  # PostKeyRevocationActionType of the instance.
15078
15119
  # Corresponds to the JSON property `postKeyRevocationActionType`
15079
15120
  # @return [String]
@@ -15096,7 +15137,7 @@ module Google
15096
15137
  # @return [Array<String>]
15097
15138
  attr_accessor :resource_policies
15098
15139
 
15099
- # Sets the scheduling options for an Instance. NextID: 13
15140
+ # Sets the scheduling options for an Instance. NextID: 17
15100
15141
  # Corresponds to the JSON property `scheduling`
15101
15142
  # @return [Google::Apis::ComputeBeta::Scheduling]
15102
15143
  attr_accessor :scheduling
@@ -15142,6 +15183,7 @@ module Google
15142
15183
  @metadata = args[:metadata] if args.key?(:metadata)
15143
15184
  @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
15144
15185
  @network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces)
15186
+ @network_performance_config = args[:network_performance_config] if args.key?(:network_performance_config)
15145
15187
  @post_key_revocation_action_type = args[:post_key_revocation_action_type] if args.key?(:post_key_revocation_action_type)
15146
15188
  @private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
15147
15189
  @reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
@@ -18060,6 +18102,12 @@ module Google
18060
18102
  # @return [String]
18061
18103
  attr_accessor :name
18062
18104
 
18105
+ # [Output Only] Reserved for future use.
18106
+ # Corresponds to the JSON property `satisfiesPzs`
18107
+ # @return [Boolean]
18108
+ attr_accessor :satisfies_pzs
18109
+ alias_method :satisfies_pzs?, :satisfies_pzs
18110
+
18063
18111
  # [Output Only] The URL for this machine image. The server defines this URL.
18064
18112
  # Corresponds to the JSON property `selfLink`
18065
18113
  # @return [String]
@@ -18117,6 +18165,7 @@ module Google
18117
18165
  @kind = args[:kind] if args.key?(:kind)
18118
18166
  @machine_image_encryption_key = args[:machine_image_encryption_key] if args.key?(:machine_image_encryption_key)
18119
18167
  @name = args[:name] if args.key?(:name)
18168
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
18120
18169
  @self_link = args[:self_link] if args.key?(:self_link)
18121
18170
  @source_disk_encryption_keys = args[:source_disk_encryption_keys] if args.key?(:source_disk_encryption_keys)
18122
18171
  @source_instance = args[:source_instance] if args.key?(:source_instance)
@@ -20474,6 +20523,25 @@ module Google
20474
20523
  end
20475
20524
  end
20476
20525
 
20526
+ #
20527
+ class NetworkPerformanceConfig
20528
+ include Google::Apis::Core::Hashable
20529
+
20530
+ #
20531
+ # Corresponds to the JSON property `totalEgressBandwidthTier`
20532
+ # @return [String]
20533
+ attr_accessor :total_egress_bandwidth_tier
20534
+
20535
+ def initialize(**args)
20536
+ update!(**args)
20537
+ end
20538
+
20539
+ # Update properties of this object
20540
+ def update!(**args)
20541
+ @total_egress_bandwidth_tier = args[:total_egress_bandwidth_tier] if args.key?(:total_egress_bandwidth_tier)
20542
+ end
20543
+ end
20544
+
20477
20545
  # A routing configuration attached to a network resource. The message includes
20478
20546
  # the list of routers associated with the network, and a flag indicating the
20479
20547
  # type of routing behavior to enforce network-wide.
@@ -20722,6 +20790,13 @@ module Google
20722
20790
  # @return [String]
20723
20791
  attr_accessor :kind
20724
20792
 
20793
+ # An opaque location hint used to place the Node close to other resources. This
20794
+ # field is for use by internal tools that use the public API. The location hint
20795
+ # here on the NodeGroup overrides any location_hint present in the NodeTemplate.
20796
+ # Corresponds to the JSON property `locationHint`
20797
+ # @return [String]
20798
+ attr_accessor :location_hint
20799
+
20725
20800
  # Specifies how to handle instances when a node in the group undergoes
20726
20801
  # maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or
20727
20802
  # MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information,
@@ -20785,6 +20860,7 @@ module Google
20785
20860
  @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
20786
20861
  @id = args[:id] if args.key?(:id)
20787
20862
  @kind = args[:kind] if args.key?(:kind)
20863
+ @location_hint = args[:location_hint] if args.key?(:location_hint)
20788
20864
  @maintenance_policy = args[:maintenance_policy] if args.key?(:maintenance_policy)
20789
20865
  @maintenance_window = args[:maintenance_window] if args.key?(:maintenance_window)
20790
20866
  @name = args[:name] if args.key?(:name)
@@ -21136,6 +21212,12 @@ module Google
21136
21212
  # @return [String]
21137
21213
  attr_accessor :node_type
21138
21214
 
21215
+ # [Output Only] Reserved for future use.
21216
+ # Corresponds to the JSON property `satisfiesPzs`
21217
+ # @return [Boolean]
21218
+ attr_accessor :satisfies_pzs
21219
+ alias_method :satisfies_pzs?, :satisfies_pzs
21220
+
21139
21221
  # Binding properties for the physical server.
21140
21222
  # Corresponds to the JSON property `serverBinding`
21141
21223
  # @return [Google::Apis::ComputeBeta::ServerBinding]
@@ -21163,6 +21245,7 @@ module Google
21163
21245
  @instances = args[:instances] if args.key?(:instances)
21164
21246
  @name = args[:name] if args.key?(:name)
21165
21247
  @node_type = args[:node_type] if args.key?(:node_type)
21248
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
21166
21249
  @server_binding = args[:server_binding] if args.key?(:server_binding)
21167
21250
  @server_id = args[:server_id] if args.key?(:server_id)
21168
21251
  @status = args[:status] if args.key?(:status)
@@ -27090,6 +27173,12 @@ module Google
27090
27173
  # @return [String]
27091
27174
  attr_accessor :name
27092
27175
 
27176
+ # [Output Only] Reserved for future use.
27177
+ # Corresponds to the JSON property `satisfiesPzs`
27178
+ # @return [Boolean]
27179
+ attr_accessor :satisfies_pzs
27180
+ alias_method :satisfies_pzs?, :satisfies_pzs
27181
+
27093
27182
  # [Output Only] Server-defined fully-qualified URL for this resource.
27094
27183
  # Corresponds to the JSON property `selfLink`
27095
27184
  # @return [String]
@@ -27131,6 +27220,7 @@ module Google
27131
27220
  @id = args[:id] if args.key?(:id)
27132
27221
  @kind = args[:kind] if args.key?(:kind)
27133
27222
  @name = args[:name] if args.key?(:name)
27223
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
27134
27224
  @self_link = args[:self_link] if args.key?(:self_link)
27135
27225
  @specific_reservation = args[:specific_reservation] if args.key?(:specific_reservation)
27136
27226
  @specific_reservation_required = args[:specific_reservation_required] if args.key?(:specific_reservation_required)
@@ -27704,6 +27794,12 @@ module Google
27704
27794
  # @return [Fixnum]
27705
27795
  attr_accessor :id
27706
27796
 
27797
+ # An InstanceSchedulePolicy specifies when and how frequent certain operations
27798
+ # are performed on the instance.
27799
+ # Corresponds to the JSON property `instanceSchedulePolicy`
27800
+ # @return [Google::Apis::ComputeBeta::ResourcePolicyInstanceSchedulePolicy]
27801
+ attr_accessor :instance_schedule_policy
27802
+
27707
27803
  # [Output Only] Type of the resource. Always compute#resource_policies for
27708
27804
  # resource policies.
27709
27805
  # Corresponds to the JSON property `kind`
@@ -27726,6 +27822,13 @@ module Google
27726
27822
  # @return [String]
27727
27823
  attr_accessor :region
27728
27824
 
27825
+ # Contains output only fields. Use this sub-message for all output fields set on
27826
+ # ResourcePolicy. The internal structure of this "status" field should mimic the
27827
+ # structure of ResourcePolicy proto specification.
27828
+ # Corresponds to the JSON property `resourceStatus`
27829
+ # @return [Google::Apis::ComputeBeta::ResourcePolicyResourceStatus]
27830
+ attr_accessor :resource_status
27831
+
27729
27832
  # [Output Only] Server-defined fully-qualified URL for this resource.
27730
27833
  # Corresponds to the JSON property `selfLink`
27731
27834
  # @return [String]
@@ -27753,9 +27856,11 @@ module Google
27753
27856
  @description = args[:description] if args.key?(:description)
27754
27857
  @group_placement_policy = args[:group_placement_policy] if args.key?(:group_placement_policy)
27755
27858
  @id = args[:id] if args.key?(:id)
27859
+ @instance_schedule_policy = args[:instance_schedule_policy] if args.key?(:instance_schedule_policy)
27756
27860
  @kind = args[:kind] if args.key?(:kind)
27757
27861
  @name = args[:name] if args.key?(:name)
27758
27862
  @region = args[:region] if args.key?(:region)
27863
+ @resource_status = args[:resource_status] if args.key?(:resource_status)
27759
27864
  @self_link = args[:self_link] if args.key?(:self_link)
27760
27865
  @snapshot_schedule_policy = args[:snapshot_schedule_policy] if args.key?(:snapshot_schedule_policy)
27761
27866
  @status = args[:status] if args.key?(:status)
@@ -27994,6 +28099,71 @@ module Google
27994
28099
  end
27995
28100
  end
27996
28101
 
28102
+ # An InstanceSchedulePolicy specifies when and how frequent certain operations
28103
+ # are performed on the instance.
28104
+ class ResourcePolicyInstanceSchedulePolicy
28105
+ include Google::Apis::Core::Hashable
28106
+
28107
+ # The expiration time of the schedule. The timestamp is an RFC3339 string.
28108
+ # Corresponds to the JSON property `expirationTime`
28109
+ # @return [String]
28110
+ attr_accessor :expiration_time
28111
+
28112
+ # The start time of the schedule. The timestamp is an RFC3339 string.
28113
+ # Corresponds to the JSON property `startTime`
28114
+ # @return [String]
28115
+ attr_accessor :start_time
28116
+
28117
+ # Specifies the time zone to be used in interpreting Schedule.schedule. The
28118
+ # value of this field must be a time zone name from the tz database: http://en.
28119
+ # wikipedia.org/wiki/Tz_database.
28120
+ # Corresponds to the JSON property `timeZone`
28121
+ # @return [String]
28122
+ attr_accessor :time_zone
28123
+
28124
+ # Schedule for an instance operation.
28125
+ # Corresponds to the JSON property `vmStartSchedule`
28126
+ # @return [Google::Apis::ComputeBeta::ResourcePolicyInstanceSchedulePolicySchedule]
28127
+ attr_accessor :vm_start_schedule
28128
+
28129
+ # Schedule for an instance operation.
28130
+ # Corresponds to the JSON property `vmStopSchedule`
28131
+ # @return [Google::Apis::ComputeBeta::ResourcePolicyInstanceSchedulePolicySchedule]
28132
+ attr_accessor :vm_stop_schedule
28133
+
28134
+ def initialize(**args)
28135
+ update!(**args)
28136
+ end
28137
+
28138
+ # Update properties of this object
28139
+ def update!(**args)
28140
+ @expiration_time = args[:expiration_time] if args.key?(:expiration_time)
28141
+ @start_time = args[:start_time] if args.key?(:start_time)
28142
+ @time_zone = args[:time_zone] if args.key?(:time_zone)
28143
+ @vm_start_schedule = args[:vm_start_schedule] if args.key?(:vm_start_schedule)
28144
+ @vm_stop_schedule = args[:vm_stop_schedule] if args.key?(:vm_stop_schedule)
28145
+ end
28146
+ end
28147
+
28148
+ # Schedule for an instance operation.
28149
+ class ResourcePolicyInstanceSchedulePolicySchedule
28150
+ include Google::Apis::Core::Hashable
28151
+
28152
+ # Specifies the frequency for the operation, using the unix-cron format.
28153
+ # Corresponds to the JSON property `schedule`
28154
+ # @return [String]
28155
+ attr_accessor :schedule
28156
+
28157
+ def initialize(**args)
28158
+ update!(**args)
28159
+ end
28160
+
28161
+ # Update properties of this object
28162
+ def update!(**args)
28163
+ @schedule = args[:schedule] if args.key?(:schedule)
28164
+ end
28165
+ end
28166
+
27997
28167
  #
27998
28168
  class ResourcePolicyList
27999
28169
  include Google::Apis::Core::Hashable
@@ -28119,6 +28289,56 @@ module Google
28119
28289
  end
28120
28290
  end
28121
28291
 
28292
+ # Contains output only fields. Use this sub-message for all output fields set on
28293
+ # ResourcePolicy. The internal structure of this "status" field should mimic the
28294
+ # structure of ResourcePolicy proto specification.
28295
+ class ResourcePolicyResourceStatus
28296
+ include Google::Apis::Core::Hashable
28297
+
28298
+ # [Output Only] Specifies a set of output values reffering to the
28299
+ # instance_schedule_policy system status. This field should have the same name
28300
+ # as corresponding policy field.
28301
+ # Corresponds to the JSON property `instanceSchedulePolicy`
28302
+ # @return [Google::Apis::ComputeBeta::ResourcePolicyResourceStatusInstanceSchedulePolicyStatus]
28303
+ attr_accessor :instance_schedule_policy
28304
+
28305
+ def initialize(**args)
28306
+ update!(**args)
28307
+ end
28308
+
28309
+ # Update properties of this object
28310
+ def update!(**args)
28311
+ @instance_schedule_policy = args[:instance_schedule_policy] if args.key?(:instance_schedule_policy)
28312
+ end
28313
+ end
28314
+
28315
+ #
28316
+ class ResourcePolicyResourceStatusInstanceSchedulePolicyStatus
28317
+ include Google::Apis::Core::Hashable
28318
+
28319
+ # [Output Only] The last time the schedule successfully ran. The timestamp is an
28320
+ # RFC3339 string.
28321
+ # Corresponds to the JSON property `lastRunStartTime`
28322
+ # @return [String]
28323
+ attr_accessor :last_run_start_time
28324
+
28325
+ # [Output Only] The next time the schedule is planned to run. The actual time
28326
+ # might be slightly different. The timestamp is an RFC3339 string.
28327
+ # Corresponds to the JSON property `nextRunStartTime`
28328
+ # @return [String]
28329
+ attr_accessor :next_run_start_time
28330
+
28331
+ def initialize(**args)
28332
+ update!(**args)
28333
+ end
28334
+
28335
+ # Update properties of this object
28336
+ def update!(**args)
28337
+ @last_run_start_time = args[:last_run_start_time] if args.key?(:last_run_start_time)
28338
+ @next_run_start_time = args[:next_run_start_time] if args.key?(:next_run_start_time)
28339
+ end
28340
+ end
28341
+
28122
28342
  # A snapshot schedule policy specifies when and how frequently snapshots are to
28123
28343
  # be created for the target disk. Also specifies how many and how long these
28124
28344
  # scheduled snapshots should be retained.
@@ -30099,7 +30319,7 @@ module Google
30099
30319
  end
30100
30320
  end
30101
30321
 
30102
- # Sets the scheduling options for an Instance. NextID: 13
30322
+ # Sets the scheduling options for an Instance. NextID: 17
30103
30323
  class Scheduling
30104
30324
  include Google::Apis::Core::Hashable
30105
30325
 
@@ -31004,7 +31224,7 @@ module Google
31004
31224
  # A service attachment represents a service that a producer has exposed. It
31005
31225
  # encapsulates the load balancer which fronts the service runs and a list of NAT
31006
31226
  # IP ranges that the producers uses to represent the consumers connecting to the
31007
- # service.
31227
+ # service. next tag = 16
31008
31228
  class ServiceAttachment
31009
31229
  include Google::Apis::Core::Hashable
31010
31230
 
@@ -31107,6 +31327,129 @@ module Google
31107
31327
  end
31108
31328
  end
31109
31329
 
31330
+ # Contains a list of ServiceAttachmentsScopedList.
31331
+ class ServiceAttachmentAggregatedList
31332
+ include Google::Apis::Core::Hashable
31333
+
31334
+ # [Output Only] Unique identifier for the resource; defined by the server.
31335
+ # Corresponds to the JSON property `id`
31336
+ # @return [String]
31337
+ attr_accessor :id
31338
+
31339
+ # A list of ServiceAttachmentsScopedList resources.
31340
+ # Corresponds to the JSON property `items`
31341
+ # @return [Hash<String,Google::Apis::ComputeBeta::ServiceAttachmentsScopedList>]
31342
+ attr_accessor :items
31343
+
31344
+ # Type of resource.
31345
+ # Corresponds to the JSON property `kind`
31346
+ # @return [String]
31347
+ attr_accessor :kind
31348
+
31349
+ # [Output Only] This token allows you to get the next page of results for list
31350
+ # requests. If the number of results is larger than maxResults, use the
31351
+ # nextPageToken as a value for the query parameter pageToken in the next list
31352
+ # request. Subsequent list requests will have their own nextPageToken to
31353
+ # continue paging through the results.
31354
+ # Corresponds to the JSON property `nextPageToken`
31355
+ # @return [String]
31356
+ attr_accessor :next_page_token
31357
+
31358
+ # [Output Only] Server-defined URL for this resource.
31359
+ # Corresponds to the JSON property `selfLink`
31360
+ # @return [String]
31361
+ attr_accessor :self_link
31362
+
31363
+ # [Output Only] Unreachable resources.
31364
+ # Corresponds to the JSON property `unreachables`
31365
+ # @return [Array<String>]
31366
+ attr_accessor :unreachables
31367
+
31368
+ # [Output Only] Informational warning message.
31369
+ # Corresponds to the JSON property `warning`
31370
+ # @return [Google::Apis::ComputeBeta::ServiceAttachmentAggregatedList::Warning]
31371
+ attr_accessor :warning
31372
+
31373
+ def initialize(**args)
31374
+ update!(**args)
31375
+ end
31376
+
31377
+ # Update properties of this object
31378
+ def update!(**args)
31379
+ @id = args[:id] if args.key?(:id)
31380
+ @items = args[:items] if args.key?(:items)
31381
+ @kind = args[:kind] if args.key?(:kind)
31382
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
31383
+ @self_link = args[:self_link] if args.key?(:self_link)
31384
+ @unreachables = args[:unreachables] if args.key?(:unreachables)
31385
+ @warning = args[:warning] if args.key?(:warning)
31386
+ end
31387
+
31388
+ # [Output Only] Informational warning message.
31389
+ class Warning
31390
+ include Google::Apis::Core::Hashable
31391
+
31392
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
31393
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
31394
+ # Corresponds to the JSON property `code`
31395
+ # @return [String]
31396
+ attr_accessor :code
31397
+
31398
+ # [Output Only] Metadata about this warning in key: value format. For example:
31399
+ # "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
31400
+ # Corresponds to the JSON property `data`
31401
+ # @return [Array<Google::Apis::ComputeBeta::ServiceAttachmentAggregatedList::Warning::Datum>]
31402
+ attr_accessor :data
31403
+
31404
+ # [Output Only] A human-readable description of the warning code.
31405
+ # Corresponds to the JSON property `message`
31406
+ # @return [String]
31407
+ attr_accessor :message
31408
+
31409
+ def initialize(**args)
31410
+ update!(**args)
31411
+ end
31412
+
31413
+ # Update properties of this object
31414
+ def update!(**args)
31415
+ @code = args[:code] if args.key?(:code)
31416
+ @data = args[:data] if args.key?(:data)
31417
+ @message = args[:message] if args.key?(:message)
31418
+ end
31419
+
31420
+ #
31421
+ class Datum
31422
+ include Google::Apis::Core::Hashable
31423
+
31424
+ # [Output Only] A key that provides more detail on the warning being returned.
31425
+ # For example, for warnings where there are no results in a list request for a
31426
+ # particular zone, this key might be scope and the key value might be the zone
31427
+ # name. Other examples might be a key indicating a deprecated resource and a
31428
+ # suggested replacement, or a warning about invalid network settings (for
31429
+ # example, if an instance attempts to perform IP forwarding but is not enabled
31430
+ # for IP forwarding).
31431
+ # Corresponds to the JSON property `key`
31432
+ # @return [String]
31433
+ attr_accessor :key
31434
+
31435
+ # [Output Only] A warning data value corresponding to the key.
31436
+ # Corresponds to the JSON property `value`
31437
+ # @return [String]
31438
+ attr_accessor :value
31439
+
31440
+ def initialize(**args)
31441
+ update!(**args)
31442
+ end
31443
+
31444
+ # Update properties of this object
31445
+ def update!(**args)
31446
+ @key = args[:key] if args.key?(:key)
31447
+ @value = args[:value] if args.key?(:value)
31448
+ end
31449
+ end
31450
+ end
31451
+ end
31452
+
31110
31453
  # [Output Only] A consumer forwarding rule connected to this service attachment.
31111
31454
  class ServiceAttachmentConsumerForwardingRule
31112
31455
  include Google::Apis::Core::Hashable
@@ -31250,6 +31593,97 @@ module Google
31250
31593
  end
31251
31594
  end
31252
31595
 
31596
+ #
31597
+ class ServiceAttachmentsScopedList
31598
+ include Google::Apis::Core::Hashable
31599
+
31600
+ # A list of ServiceAttachments contained in this scope.
31601
+ # Corresponds to the JSON property `resources`
31602
+ # @return [Array<Google::Apis::ComputeBeta::ServiceAttachment>]
31603
+ attr_accessor :resources
31604
+
31605
+ # Informational warning which replaces the list of service attachments when the
31606
+ # list is empty.
31607
+ # Corresponds to the JSON property `warning`
31608
+ # @return [Google::Apis::ComputeBeta::ServiceAttachmentsScopedList::Warning]
31609
+ attr_accessor :warning
31610
+
31611
+ def initialize(**args)
31612
+ update!(**args)
31613
+ end
31614
+
31615
+ # Update properties of this object
31616
+ def update!(**args)
31617
+ @resources = args[:resources] if args.key?(:resources)
31618
+ @warning = args[:warning] if args.key?(:warning)
31619
+ end
31620
+
31621
+ # Informational warning which replaces the list of service attachments when the
31622
+ # list is empty.
31623
+ class Warning
31624
+ include Google::Apis::Core::Hashable
31625
+
31626
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
31627
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
31628
+ # Corresponds to the JSON property `code`
31629
+ # @return [String]
31630
+ attr_accessor :code
31631
+
31632
+ # [Output Only] Metadata about this warning in key: value format. For example:
31633
+ # "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
31634
+ # Corresponds to the JSON property `data`
31635
+ # @return [Array<Google::Apis::ComputeBeta::ServiceAttachmentsScopedList::Warning::Datum>]
31636
+ attr_accessor :data
31637
+
31638
+ # [Output Only] A human-readable description of the warning code.
31639
+ # Corresponds to the JSON property `message`
31640
+ # @return [String]
31641
+ attr_accessor :message
31642
+
31643
+ def initialize(**args)
31644
+ update!(**args)
31645
+ end
31646
+
31647
+ # Update properties of this object
31648
+ def update!(**args)
31649
+ @code = args[:code] if args.key?(:code)
31650
+ @data = args[:data] if args.key?(:data)
31651
+ @message = args[:message] if args.key?(:message)
31652
+ end
31653
+
31654
+ #
31655
+ class Datum
31656
+ include Google::Apis::Core::Hashable
31657
+
31658
+ # [Output Only] A key that provides more detail on the warning being returned.
31659
+ # For example, for warnings where there are no results in a list request for a
31660
+ # particular zone, this key might be scope and the key value might be the zone
31661
+ # name. Other examples might be a key indicating a deprecated resource and a
31662
+ # suggested replacement, or a warning about invalid network settings (for
31663
+ # example, if an instance attempts to perform IP forwarding but is not enabled
31664
+ # for IP forwarding).
31665
+ # Corresponds to the JSON property `key`
31666
+ # @return [String]
31667
+ attr_accessor :key
31668
+
31669
+ # [Output Only] A warning data value corresponding to the key.
31670
+ # Corresponds to the JSON property `value`
31671
+ # @return [String]
31672
+ attr_accessor :value
31673
+
31674
+ def initialize(**args)
31675
+ update!(**args)
31676
+ end
31677
+
31678
+ # Update properties of this object
31679
+ def update!(**args)
31680
+ @key = args[:key] if args.key?(:key)
31681
+ @value = args[:value] if args.key?(:value)
31682
+ end
31683
+ end
31684
+ end
31685
+ end
31686
+
31253
31687
  # A set of Shielded Instance options.
31254
31688
  class ShieldedInstanceConfig
31255
31689
  include Google::Apis::Core::Hashable
@@ -31967,7 +32401,7 @@ module Google
31967
32401
  # @return [String]
31968
32402
  attr_accessor :post_key_revocation_action_type
31969
32403
 
31970
- # Sets the scheduling options for an Instance. NextID: 13
32404
+ # Sets the scheduling options for an Instance. NextID: 17
31971
32405
  # Corresponds to the JSON property `scheduling`
31972
32406
  # @return [Google::Apis::ComputeBeta::Scheduling]
31973
32407
  attr_accessor :scheduling