diff --git a/api_names_out.yaml b/api_names_out.yaml index b4e8370d992..dc919625853 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -109494,8 +109494,11 @@ "/compute:beta/Backend/maxRatePerEndpoint": max_rate_per_endpoint "/compute:beta/Backend/maxRatePerInstance": max_rate_per_instance "/compute:beta/Backend/maxUtilization": max_utilization +"/compute:beta/Backend/orchestrationInfo": orchestration_info "/compute:beta/Backend/preference": preference "/compute:beta/Backend/trafficDuration": traffic_duration +"/compute:beta/BackendBackendOrchestrationInfo": backend_backend_orchestration_info +"/compute:beta/BackendBackendOrchestrationInfo/resourceUri": resource_uri "/compute:beta/BackendBucket": backend_bucket "/compute:beta/BackendBucket/bucketName": bucket_name "/compute:beta/BackendBucket/cdnPolicy": cdn_policy @@ -109647,6 +109650,7 @@ "/compute:beta/BackendService/name": name "/compute:beta/BackendService/network": network "/compute:beta/BackendService/networkPassThroughLbTrafficPolicy": network_pass_through_lb_traffic_policy +"/compute:beta/BackendService/orchestrationInfo": orchestration_info "/compute:beta/BackendService/outlierDetection": outlier_detection "/compute:beta/BackendService/params": params "/compute:beta/BackendService/port": port @@ -109791,6 +109795,8 @@ "/compute:beta/BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity": backend_service_network_pass_through_lb_traffic_policy_zonal_affinity "/compute:beta/BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity/spillover": spillover "/compute:beta/BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity/spilloverRatio": spillover_ratio +"/compute:beta/BackendServiceOrchestrationInfo": backend_service_orchestration_info +"/compute:beta/BackendServiceOrchestrationInfo/resourceUri": resource_uri "/compute:beta/BackendServiceParams": backend_service_params "/compute:beta/BackendServiceParams/resourceManagerTags": resource_manager_tags "/compute:beta/BackendServiceParams/resourceManagerTags/resource_manager_tag": resource_manager_tag @@ -109879,6 +109885,7 @@ "/compute:beta/Binding/role": role "/compute:beta/BulkInsertDiskResource": bulk_insert_disk_resource "/compute:beta/BulkInsertDiskResource/instantSnapshotGroupParameters": instant_snapshot_group_parameters +"/compute:beta/BulkInsertDiskResource/snapshotGroupParameters": snapshot_group_parameters "/compute:beta/BulkInsertDiskResource/sourceConsistencyGroupPolicy": source_consistency_group_policy "/compute:beta/BulkInsertInstanceResource": bulk_insert_instance_resource "/compute:beta/BulkInsertInstanceResource/count": count @@ -111896,6 +111903,9 @@ "/compute:beta/InstanceGroupManagersApplyUpdatesRequest/instances/instance": instance "/compute:beta/InstanceGroupManagersApplyUpdatesRequest/minimalAction": minimal_action "/compute:beta/InstanceGroupManagersApplyUpdatesRequest/mostDisruptiveAllowedAction": most_disruptive_allowed_action +"/compute:beta/InstanceGroupManagersConfigureAcceleratorTopologiesRequest": instance_group_managers_configure_accelerator_topologies_request +"/compute:beta/InstanceGroupManagersConfigureAcceleratorTopologiesRequest/acceleratorTopologyActions": accelerator_topology_actions +"/compute:beta/InstanceGroupManagersConfigureAcceleratorTopologiesRequest/acceleratorTopologyActions/accelerator_topology_action": accelerator_topology_action "/compute:beta/InstanceGroupManagersCreateInstancesRequest": instance_group_managers_create_instances_request "/compute:beta/InstanceGroupManagersCreateInstancesRequest/instances": instances "/compute:beta/InstanceGroupManagersCreateInstancesRequest/instances/instance": instance @@ -111910,9 +111920,34 @@ "/compute:beta/InstanceGroupManagersGetAvailableAcceleratorTopologiesResponse/acceleratorTopologiesInfo": accelerator_topologies_info ? "/compute:beta/InstanceGroupManagersGetAvailableAcceleratorTopologiesResponse/acceleratorTopologiesInfo/accelerator_topologies_info" : accelerator_topologies_info +"/compute:beta/InstanceGroupManagersGetAvailableAcceleratorTopologiesResponse/multiMig": multi_mig "/compute:beta/InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyInfo": instance_group_managers_get_available_accelerator_topologies_response_accelerator_topology_info "/compute:beta/InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyInfo/acceleratorTopology": accelerator_topology "/compute:beta/InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyInfo/acceleratorTopologyHealth": accelerator_topology_health +"/compute:beta/InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyInfo/acceleratorTopologyState": accelerator_topology_state +"/compute:beta/InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyInfo/instancesHealth": instances_health +"/compute:beta/InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyInfo/parent": parent +"/compute:beta/InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyState": instance_group_managers_get_available_accelerator_topologies_response_accelerator_topology_state +"/compute:beta/InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyState/currentState": current_state +"/compute:beta/InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyState/error": error +"/compute:beta/InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyState/error/errors": errors +"/compute:beta/InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyState/error/errors/error": error +"/compute:beta/InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyState/error/errors/error/code": code +? "/compute:beta/InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyState/error/errors/error/errorDetails" +: error_details +? "/compute:beta/InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyState/error/errors/error/errorDetails/error_detail" +: error_detail +? "/compute:beta/InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyState/error/errors/error/errorDetails/error_detail/errorInfo" +: error_info +? "/compute:beta/InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyState/error/errors/error/errorDetails/error_detail/help" +: help +? "/compute:beta/InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyState/error/errors/error/errorDetails/error_detail/localizedMessage" +: localized_message +? "/compute:beta/InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyState/error/errors/error/errorDetails/error_detail/quotaInfo" +: quota_info +"/compute:beta/InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyState/error/errors/error/location": location +"/compute:beta/InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyState/error/errors/error/message": message +"/compute:beta/InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyState/errorTimestamp": error_timestamp "/compute:beta/InstanceGroupManagersListErrorsResponse": instance_group_managers_list_errors_response "/compute:beta/InstanceGroupManagersListErrorsResponse/items": items "/compute:beta/InstanceGroupManagersListErrorsResponse/items/item": item @@ -112972,6 +113007,23 @@ "/compute:beta/ListInstantSnapshotGroups/warning/data/datum/key": key "/compute:beta/ListInstantSnapshotGroups/warning/data/datum/value": value "/compute:beta/ListInstantSnapshotGroups/warning/message": message +"/compute:beta/ListSnapshotGroups": list_snapshot_groups +"/compute:beta/ListSnapshotGroups/etag": etag +"/compute:beta/ListSnapshotGroups/id": id +"/compute:beta/ListSnapshotGroups/items": items +"/compute:beta/ListSnapshotGroups/items/item": item +"/compute:beta/ListSnapshotGroups/kind": kind +"/compute:beta/ListSnapshotGroups/nextPageToken": next_page_token +"/compute:beta/ListSnapshotGroups/selfLink": self_link +"/compute:beta/ListSnapshotGroups/unreachables": unreachables +"/compute:beta/ListSnapshotGroups/unreachables/unreachable": unreachable +"/compute:beta/ListSnapshotGroups/warning": warning +"/compute:beta/ListSnapshotGroups/warning/code": code +"/compute:beta/ListSnapshotGroups/warning/data": data +"/compute:beta/ListSnapshotGroups/warning/data/datum": datum +"/compute:beta/ListSnapshotGroups/warning/data/datum/key": key +"/compute:beta/ListSnapshotGroups/warning/data/datum/value": value +"/compute:beta/ListSnapshotGroups/warning/message": message "/compute:beta/LocalDisk": local_disk "/compute:beta/LocalDisk/diskCount": disk_count "/compute:beta/LocalDisk/diskSizeGb": disk_size_gb @@ -112983,11 +113035,15 @@ "/compute:beta/LocationPolicy/locations": locations "/compute:beta/LocationPolicy/locations/location": location "/compute:beta/LocationPolicy/targetShape": target_shape +"/compute:beta/LocationPolicy/zones": zones +"/compute:beta/LocationPolicy/zones/zone": zone "/compute:beta/LocationPolicyLocation": location_policy_location "/compute:beta/LocationPolicyLocation/constraints": constraints "/compute:beta/LocationPolicyLocation/preference": preference "/compute:beta/LocationPolicyLocationConstraints": location_policy_location_constraints "/compute:beta/LocationPolicyLocationConstraints/maxCount": max_count +"/compute:beta/LocationPolicyZoneConfiguration": location_policy_zone_configuration +"/compute:beta/LocationPolicyZoneConfiguration/zone": zone "/compute:beta/LogConfig": log_config "/compute:beta/LogConfig/cloudAudit": cloud_audit "/compute:beta/LogConfig/counter": counter @@ -113252,6 +113308,13 @@ "/compute:beta/NamedPort": named_port "/compute:beta/NamedPort/name": name "/compute:beta/NamedPort/port": port +"/compute:beta/NamedSet": named_set +"/compute:beta/NamedSet/description": description +"/compute:beta/NamedSet/elements": elements +"/compute:beta/NamedSet/elements/element": element +"/compute:beta/NamedSet/fingerprint": fingerprint +"/compute:beta/NamedSet/name": name +"/compute:beta/NamedSet/type": type "/compute:beta/NatIpInfo": nat_ip_info "/compute:beta/NatIpInfo/natIpInfoMappings": nat_ip_info_mappings "/compute:beta/NatIpInfo/natIpInfoMappings/nat_ip_info_mapping": nat_ip_info_mapping @@ -114825,6 +114888,7 @@ "/compute:beta/Reservation/linkedCommitments": linked_commitments "/compute:beta/Reservation/linkedCommitments/linked_commitment": linked_commitment "/compute:beta/Reservation/name": name +"/compute:beta/Reservation/params": params "/compute:beta/Reservation/protectionTier": protection_tier "/compute:beta/Reservation/reservationMode": reservation_mode "/compute:beta/Reservation/reservationSharingPolicy": reservation_sharing_policy @@ -114925,6 +114989,9 @@ "/compute:beta/ReservationList/warning/data/datum/key": key "/compute:beta/ReservationList/warning/data/datum/value": value "/compute:beta/ReservationList/warning/message": message +"/compute:beta/ReservationParams": reservation_params +"/compute:beta/ReservationParams/resourceManagerTags": resource_manager_tags +"/compute:beta/ReservationParams/resourceManagerTags/resource_manager_tag": resource_manager_tag "/compute:beta/ReservationSlot": reservation_slot "/compute:beta/ReservationSlot/creationTimestamp": creation_timestamp "/compute:beta/ReservationSlot/id": id @@ -115635,6 +115702,9 @@ "/compute:beta/RouterStatusResponse": router_status_response "/compute:beta/RouterStatusResponse/kind": kind "/compute:beta/RouterStatusResponse/result": result +"/compute:beta/RoutersGetNamedSetResponse": routers_get_named_set_response +"/compute:beta/RoutersGetNamedSetResponse/etag": etag +"/compute:beta/RoutersGetNamedSetResponse/resource": resource "/compute:beta/RoutersGetRoutePolicyResponse": routers_get_route_policy_response "/compute:beta/RoutersGetRoutePolicyResponse/resource": resource "/compute:beta/RoutersListBgpRoutes": routers_list_bgp_routes @@ -115654,6 +115724,23 @@ "/compute:beta/RoutersListBgpRoutes/warning/data/datum/key": key "/compute:beta/RoutersListBgpRoutes/warning/data/datum/value": value "/compute:beta/RoutersListBgpRoutes/warning/message": message +"/compute:beta/RoutersListNamedSets": routers_list_named_sets +"/compute:beta/RoutersListNamedSets/etag": etag +"/compute:beta/RoutersListNamedSets/id": id +"/compute:beta/RoutersListNamedSets/kind": kind +"/compute:beta/RoutersListNamedSets/nextPageToken": next_page_token +"/compute:beta/RoutersListNamedSets/result": result +"/compute:beta/RoutersListNamedSets/result/result": result +"/compute:beta/RoutersListNamedSets/selfLink": self_link +"/compute:beta/RoutersListNamedSets/unreachables": unreachables +"/compute:beta/RoutersListNamedSets/unreachables/unreachable": unreachable +"/compute:beta/RoutersListNamedSets/warning": warning +"/compute:beta/RoutersListNamedSets/warning/code": code +"/compute:beta/RoutersListNamedSets/warning/data": data +"/compute:beta/RoutersListNamedSets/warning/data/datum": datum +"/compute:beta/RoutersListNamedSets/warning/data/datum/key": key +"/compute:beta/RoutersListNamedSets/warning/data/datum/value": value +"/compute:beta/RoutersListNamedSets/warning/message": message "/compute:beta/RoutersListRoutePolicies": routers_list_route_policies "/compute:beta/RoutersListRoutePolicies/etag": etag "/compute:beta/RoutersListRoutePolicies/id": id @@ -116209,6 +116296,8 @@ "/compute:beta/Snapshot/satisfiesPzs": satisfies_pzs "/compute:beta/Snapshot/selfLink": self_link "/compute:beta/Snapshot/snapshotEncryptionKey": snapshot_encryption_key +"/compute:beta/Snapshot/snapshotGroupId": snapshot_group_id +"/compute:beta/Snapshot/snapshotGroupName": snapshot_group_name "/compute:beta/Snapshot/snapshotType": snapshot_type "/compute:beta/Snapshot/sourceDisk": source_disk "/compute:beta/Snapshot/sourceDiskEncryptionKey": source_disk_encryption_key @@ -116243,6 +116332,29 @@ "/compute:beta/SnapshotAggregatedList/warning/data/datum/key": key "/compute:beta/SnapshotAggregatedList/warning/data/datum/value": value "/compute:beta/SnapshotAggregatedList/warning/message": message +"/compute:beta/SnapshotGroup": snapshot_group +"/compute:beta/SnapshotGroup/creationTimestamp": creation_timestamp +"/compute:beta/SnapshotGroup/description": description +"/compute:beta/SnapshotGroup/id": id +"/compute:beta/SnapshotGroup/kind": kind +"/compute:beta/SnapshotGroup/name": name +"/compute:beta/SnapshotGroup/selfLink": self_link +"/compute:beta/SnapshotGroup/selfLinkWithId": self_link_with_id +"/compute:beta/SnapshotGroup/sourceInfo": source_info +"/compute:beta/SnapshotGroup/sourceInstantSnapshotGroup": source_instant_snapshot_group +"/compute:beta/SnapshotGroup/sourceInstantSnapshotGroupInfo": source_instant_snapshot_group_info +"/compute:beta/SnapshotGroup/status": status +"/compute:beta/SnapshotGroupParameters": snapshot_group_parameters +"/compute:beta/SnapshotGroupParameters/replicaZones": replica_zones +"/compute:beta/SnapshotGroupParameters/replicaZones/replica_zone": replica_zone +"/compute:beta/SnapshotGroupParameters/sourceSnapshotGroup": source_snapshot_group +"/compute:beta/SnapshotGroupParameters/type": type +"/compute:beta/SnapshotGroupSourceInfo": snapshot_group_source_info +"/compute:beta/SnapshotGroupSourceInfo/consistencyGroup": consistency_group +"/compute:beta/SnapshotGroupSourceInfo/consistencyGroupId": consistency_group_id +"/compute:beta/SnapshotGroupSourceInstantSnapshotGroupInfo": snapshot_group_source_instant_snapshot_group_info +"/compute:beta/SnapshotGroupSourceInstantSnapshotGroupInfo/instantSnapshotGroup": instant_snapshot_group +"/compute:beta/SnapshotGroupSourceInstantSnapshotGroupInfo/instantSnapshotGroupId": instant_snapshot_group_id "/compute:beta/SnapshotList": snapshot_list "/compute:beta/SnapshotList/id": id "/compute:beta/SnapshotList/items": items @@ -118820,6 +118932,11 @@ "/compute:beta/compute.instanceGroupManagers.applyUpdatesToInstances/instanceGroupManager": instance_group_manager "/compute:beta/compute.instanceGroupManagers.applyUpdatesToInstances/project": project "/compute:beta/compute.instanceGroupManagers.applyUpdatesToInstances/zone": zone +"/compute:beta/compute.instanceGroupManagers.configureAcceleratorTopologies": configure_instance_group_manager_accelerator_topologies +"/compute:beta/compute.instanceGroupManagers.configureAcceleratorTopologies/instanceGroupManager": instance_group_manager +"/compute:beta/compute.instanceGroupManagers.configureAcceleratorTopologies/project": project +"/compute:beta/compute.instanceGroupManagers.configureAcceleratorTopologies/requestId": request_id +"/compute:beta/compute.instanceGroupManagers.configureAcceleratorTopologies/zone": zone "/compute:beta/compute.instanceGroupManagers.createInstances": create_instance_group_manager_instances "/compute:beta/compute.instanceGroupManagers.createInstances/instanceGroupManager": instance_group_manager "/compute:beta/compute.instanceGroupManagers.createInstances/project": project @@ -122078,6 +122195,12 @@ "/compute:beta/compute.routers.delete/region": region "/compute:beta/compute.routers.delete/requestId": request_id "/compute:beta/compute.routers.delete/router": router +"/compute:beta/compute.routers.deleteNamedSet": delete_router_named_set +"/compute:beta/compute.routers.deleteNamedSet/namedSet": named_set +"/compute:beta/compute.routers.deleteNamedSet/project": project +"/compute:beta/compute.routers.deleteNamedSet/region": region +"/compute:beta/compute.routers.deleteNamedSet/requestId": request_id +"/compute:beta/compute.routers.deleteNamedSet/router": router "/compute:beta/compute.routers.deleteRoutePolicy": delete_router_route_policy "/compute:beta/compute.routers.deleteRoutePolicy/policy": policy "/compute:beta/compute.routers.deleteRoutePolicy/project": project @@ -122088,6 +122211,11 @@ "/compute:beta/compute.routers.get/project": project "/compute:beta/compute.routers.get/region": region "/compute:beta/compute.routers.get/router": router +"/compute:beta/compute.routers.getNamedSet": get_router_named_set +"/compute:beta/compute.routers.getNamedSet/namedSet": named_set +"/compute:beta/compute.routers.getNamedSet/project": project +"/compute:beta/compute.routers.getNamedSet/region": region +"/compute:beta/compute.routers.getNamedSet/router": router "/compute:beta/compute.routers.getNatIpInfo": get_router_nat_ip_info "/compute:beta/compute.routers.getNatIpInfo/natName": nat_name "/compute:beta/compute.routers.getNatIpInfo/project": project @@ -122138,6 +122266,15 @@ "/compute:beta/compute.routers.listBgpRoutes/returnPartialSuccess": return_partial_success "/compute:beta/compute.routers.listBgpRoutes/routeType": route_type "/compute:beta/compute.routers.listBgpRoutes/router": router +"/compute:beta/compute.routers.listNamedSets": list_router_named_sets +"/compute:beta/compute.routers.listNamedSets/filter": filter +"/compute:beta/compute.routers.listNamedSets/maxResults": max_results +"/compute:beta/compute.routers.listNamedSets/orderBy": order_by +"/compute:beta/compute.routers.listNamedSets/pageToken": page_token +"/compute:beta/compute.routers.listNamedSets/project": project +"/compute:beta/compute.routers.listNamedSets/region": region +"/compute:beta/compute.routers.listNamedSets/returnPartialSuccess": return_partial_success +"/compute:beta/compute.routers.listNamedSets/router": router "/compute:beta/compute.routers.listRoutePolicies": list_router_route_policies "/compute:beta/compute.routers.listRoutePolicies/filter": filter "/compute:beta/compute.routers.listRoutePolicies/maxResults": max_results @@ -122152,6 +122289,11 @@ "/compute:beta/compute.routers.patch/region": region "/compute:beta/compute.routers.patch/requestId": request_id "/compute:beta/compute.routers.patch/router": router +"/compute:beta/compute.routers.patchNamedSet": patch_router_named_set +"/compute:beta/compute.routers.patchNamedSet/project": project +"/compute:beta/compute.routers.patchNamedSet/region": region +"/compute:beta/compute.routers.patchNamedSet/requestId": request_id +"/compute:beta/compute.routers.patchNamedSet/router": router "/compute:beta/compute.routers.patchRoutePolicy": patch_router_route_policy "/compute:beta/compute.routers.patchRoutePolicy/project": project "/compute:beta/compute.routers.patchRoutePolicy/region": region @@ -122170,6 +122312,11 @@ "/compute:beta/compute.routers.update/region": region "/compute:beta/compute.routers.update/requestId": request_id "/compute:beta/compute.routers.update/router": router +"/compute:beta/compute.routers.updateNamedSet": update_router_named_set +"/compute:beta/compute.routers.updateNamedSet/project": project +"/compute:beta/compute.routers.updateNamedSet/region": region +"/compute:beta/compute.routers.updateNamedSet/requestId": request_id +"/compute:beta/compute.routers.updateNamedSet/router": router "/compute:beta/compute.routers.updateRoutePolicy": update_router_route_policy "/compute:beta/compute.routers.updateRoutePolicy/project": project "/compute:beta/compute.routers.updateRoutePolicy/region": region @@ -122307,6 +122454,33 @@ "/compute:beta/compute.serviceAttachments.testIamPermissions/project": project "/compute:beta/compute.serviceAttachments.testIamPermissions/region": region "/compute:beta/compute.serviceAttachments.testIamPermissions/resource": resource +"/compute:beta/compute.snapshotGroups.delete": delete_snapshot_group +"/compute:beta/compute.snapshotGroups.delete/project": project +"/compute:beta/compute.snapshotGroups.delete/requestId": request_id +"/compute:beta/compute.snapshotGroups.delete/snapshotGroup": snapshot_group +"/compute:beta/compute.snapshotGroups.get": get_snapshot_group +"/compute:beta/compute.snapshotGroups.get/project": project +"/compute:beta/compute.snapshotGroups.get/snapshotGroup": snapshot_group +"/compute:beta/compute.snapshotGroups.getIamPolicy": get_snapshot_group_iam_policy +"/compute:beta/compute.snapshotGroups.getIamPolicy/optionsRequestedPolicyVersion": options_requested_policy_version +"/compute:beta/compute.snapshotGroups.getIamPolicy/project": project +"/compute:beta/compute.snapshotGroups.getIamPolicy/resource": resource +"/compute:beta/compute.snapshotGroups.insert": insert_snapshot_group +"/compute:beta/compute.snapshotGroups.insert/project": project +"/compute:beta/compute.snapshotGroups.insert/requestId": request_id +"/compute:beta/compute.snapshotGroups.list": list_snapshot_groups +"/compute:beta/compute.snapshotGroups.list/filter": filter +"/compute:beta/compute.snapshotGroups.list/maxResults": max_results +"/compute:beta/compute.snapshotGroups.list/orderBy": order_by +"/compute:beta/compute.snapshotGroups.list/pageToken": page_token +"/compute:beta/compute.snapshotGroups.list/project": project +"/compute:beta/compute.snapshotGroups.list/returnPartialSuccess": return_partial_success +"/compute:beta/compute.snapshotGroups.setIamPolicy": set_snapshot_group_iam_policy +"/compute:beta/compute.snapshotGroups.setIamPolicy/project": project +"/compute:beta/compute.snapshotGroups.setIamPolicy/resource": resource +"/compute:beta/compute.snapshotGroups.testIamPermissions": test_snapshot_group_iam_permissions +"/compute:beta/compute.snapshotGroups.testIamPermissions/project": project +"/compute:beta/compute.snapshotGroups.testIamPermissions/resource": resource "/compute:beta/compute.snapshotSettings.get": get_snapshot_setting "/compute:beta/compute.snapshotSettings.get/project": project "/compute:beta/compute.snapshotSettings.patch": patch_snapshot_setting diff --git a/generated/google-apis-compute_beta/CHANGELOG.md b/generated/google-apis-compute_beta/CHANGELOG.md index 66624daccb4..73effe18c1f 100644 --- a/generated/google-apis-compute_beta/CHANGELOG.md +++ b/generated/google-apis-compute_beta/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-compute_beta +### v0.135.0 (2026-02-22) + +* Regenerated from discovery document revision 20260213 + ### v0.134.0 (2026-02-15) * Regenerated from discovery document revision 20260206 diff --git a/generated/google-apis-compute_beta/lib/google/apis/compute_beta/classes.rb b/generated/google-apis-compute_beta/lib/google/apis/compute_beta/classes.rb index 709c78ca52f..437cf8620f5 100644 --- a/generated/google-apis-compute_beta/lib/google/apis/compute_beta/classes.rb +++ b/generated/google-apis-compute_beta/lib/google/apis/compute_beta/classes.rb @@ -1925,14 +1925,6 @@ class AttachedDisk # @return [String] attr_accessor :type - # Output only. [Output Only] A list of user provided licenses. It represents a - # list of - # URLs to the license resource. Unlike regular licenses, user provided - # licenses can be modified after the disk is created. - # Corresponds to the JSON property `userLicenses` - # @return [Array] - attr_accessor :user_licenses - def initialize(**args) update!(**args) end @@ -1958,7 +1950,6 @@ def update!(**args) @shielded_instance_initial_state = args[:shielded_instance_initial_state] if args.key?(:shielded_instance_initial_state) @source = args[:source] if args.key?(:source) @type = args[:type] if args.key?(:type) - @user_licenses = args[:user_licenses] if args.key?(:user_licenses) end end @@ -2086,7 +2077,7 @@ class AttachedDiskInitializeParams # @return [Array] attr_accessor :replica_zones - # Resource manager tags to be bound to the disk. Tag keys and values + # Input only. Resource manager tags to be bound to the disk. Tag keys and values # have the same definition as resource # manager tags. Keys and values can be either in numeric format, # such as `tagKeys/`tag_key_id`` and `tagValues/456` or in namespaced @@ -3447,6 +3438,12 @@ class Backend # @return [Float] attr_accessor :max_utilization + # A message containing information about the resource or system that manages + # the backend. + # Corresponds to the JSON property `orchestrationInfo` + # @return [Google::Apis::ComputeBeta::BackendBackendOrchestrationInfo] + attr_accessor :orchestration_info + # This field indicates whether this backend should be fully utilized before # sending traffic to backends with default preference. The possible values # are: @@ -3488,11 +3485,32 @@ def update!(**args) @max_rate_per_endpoint = args[:max_rate_per_endpoint] if args.key?(:max_rate_per_endpoint) @max_rate_per_instance = args[:max_rate_per_instance] if args.key?(:max_rate_per_instance) @max_utilization = args[:max_utilization] if args.key?(:max_utilization) + @orchestration_info = args[:orchestration_info] if args.key?(:orchestration_info) @preference = args[:preference] if args.key?(:preference) @traffic_duration = args[:traffic_duration] if args.key?(:traffic_duration) end end + # A message containing information about the resource or system that manages + # the backend. + class BackendBackendOrchestrationInfo + include Google::Apis::Core::Hashable + + # The URI of the resource or system that manages the backend. + # Corresponds to the JSON property `resourceUri` + # @return [String] + attr_accessor :resource_uri + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @resource_uri = args[:resource_uri] if args.key?(:resource_uri) + end + end + # Represents a Cloud Storage Bucket resource. # This Cloud Storage bucket resource is referenced by a URL map of a load # balancer. For more information, readBackend Buckets. @@ -4836,6 +4854,12 @@ class BackendService # @return [Google::Apis::ComputeBeta::BackendServiceNetworkPassThroughLbTrafficPolicy] attr_accessor :network_pass_through_lb_traffic_policy + # A message containing information about the resource or system that manages + # the backend service. + # Corresponds to the JSON property `orchestrationInfo` + # @return [Google::Apis::ComputeBeta::BackendServiceOrchestrationInfo] + attr_accessor :orchestration_info + # Settings controlling the eviction of unhealthy hosts from the load balancing # pool for the backend service. # Corresponds to the JSON property `outlierDetection` @@ -5010,6 +5034,7 @@ def update!(**args) @name = args[:name] if args.key?(:name) @network = args[:network] if args.key?(:network) @network_pass_through_lb_traffic_policy = args[:network_pass_through_lb_traffic_policy] if args.key?(:network_pass_through_lb_traffic_policy) + @orchestration_info = args[:orchestration_info] if args.key?(:orchestration_info) @outlier_detection = args[:outlier_detection] if args.key?(:outlier_detection) @params = args[:params] if args.key?(:params) @port = args[:port] if args.key?(:port) @@ -6348,6 +6373,27 @@ def update!(**args) end end + # A message containing information about the resource or system that manages + # the backend service. + class BackendServiceOrchestrationInfo + include Google::Apis::Core::Hashable + + # The resource URI of the resource or system that manages the backend + # service. + # Corresponds to the JSON property `resourceUri` + # @return [String] + attr_accessor :resource_uri + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @resource_uri = args[:resource_uri] if args.key?(:resource_uri) + end + end + # Additional Backend Service parameters. class BackendServiceParams include Google::Apis::Core::Hashable @@ -7135,6 +7181,11 @@ class BulkInsertDiskResource # @return [Google::Apis::ComputeBeta::InstantSnapshotGroupParameters] attr_accessor :instant_snapshot_group_parameters + # The parameters for the snapshot group. + # Corresponds to the JSON property `snapshotGroupParameters` + # @return [Google::Apis::ComputeBeta::SnapshotGroupParameters] + attr_accessor :snapshot_group_parameters + # The URL of the DiskConsistencyGroupPolicy for the group of disks to clone. # This may be a full or partial URL, such as: # @@ -7159,6 +7210,7 @@ def initialize(**args) # Update properties of this object def update!(**args) @instant_snapshot_group_parameters = args[:instant_snapshot_group_parameters] if args.key?(:instant_snapshot_group_parameters) + @snapshot_group_parameters = args[:snapshot_group_parameters] if args.key?(:snapshot_group_parameters) @source_consistency_group_policy = args[:source_consistency_group_policy] if args.key?(:source_consistency_group_policy) end end @@ -10186,16 +10238,6 @@ class Disk # @return [String] attr_accessor :type - # A list of publicly visible user-licenses. Unlike regular licenses, user - # provided licenses can be modified after the disk is created. This includes - # a list of URLs to the license resource. For example, to provide a debian - # license: - # https://www.googleapis.com/compute/v1/projects/debian-cloud/global/licenses/ - # debian-9-stretch - # Corresponds to the JSON property `userLicenses` - # @return [Array] - attr_accessor :user_licenses - # Output only. [Output Only] Links to the users of the disk (attached instances) # in form:projects/project/zones/zone/instances/instance # Corresponds to the JSON property `users` @@ -10268,7 +10310,6 @@ def update!(**args) @storage_pool = args[:storage_pool] if args.key?(:storage_pool) @storage_type = args[:storage_type] if args.key?(:storage_type) @type = args[:type] if args.key?(:type) - @user_licenses = args[:user_licenses] if args.key?(:user_licenses) @users = args[:users] if args.key?(:users) @zone = args[:zone] if args.key?(:zone) end @@ -10703,7 +10744,7 @@ def update!(**args) class DiskParams include Google::Apis::Core::Hashable - # Resource manager tags to be bound to the disk. Tag keys and values + # Input only. Resource manager tags to be bound to the disk. Tag keys and values # have the same definition as resource # manager tags. Keys and values can be either in numeric format, # such as `tagKeys/`tag_key_id`` and `tagValues/456` or in namespaced @@ -20981,16 +21022,6 @@ class Image # @return [Array] attr_accessor :storage_locations - # A list of publicly visible user-licenses. Unlike regular licenses, user - # provided licenses can be modified after the disk is created. This includes - # a list of URLs to the license resource. For example, to provide a debian - # license: - # https://www.googleapis.com/compute/v1/projects/debian-cloud/global/licenses/ - # debian-9-stretch - # Corresponds to the JSON property `userLicenses` - # @return [Array] - attr_accessor :user_licenses - def initialize(**args) update!(**args) end @@ -21034,7 +21065,6 @@ def update!(**args) @source_type = args[:source_type] if args.key?(:source_type) @status = args[:status] if args.key?(:status) @storage_locations = args[:storage_locations] if args.key?(:storage_locations) - @user_licenses = args[:user_licenses] if args.key?(:user_licenses) end # The parameters of the raw disk image. @@ -21234,7 +21264,8 @@ def update!(**args) class ImageParams include Google::Apis::Core::Hashable - # Resource manager tags to be bound to the image. Tag keys and values have + # Input only. Resource manager tags to be bound to the image. Tag keys and + # values have # the same definition as resource # manager tags. Keys and values can be either in numeric format, # such as `tagKeys/`tag_key_id`` and `tagValues/456` or in namespaced @@ -23333,7 +23364,8 @@ def update!(**args) class InstanceGroupManagerParams include Google::Apis::Core::Hashable - # Resource manager tags to bind to the managed instance group. The tags are + # Input only. Resource manager tags to bind to the managed instance group. The + # tags are # key-value pairs. Keys and values can be either in numeric format, # such as `tagKeys/`tag_key_id`` and `tagValues/456` or in namespaced # format such as ``org_id|project_id`/`tag_key_short_name`` and @@ -24704,6 +24736,27 @@ def update!(**args) end end + # InstanceGroupManagers.ConfigureAcceleratorTopologies + class InstanceGroupManagersConfigureAcceleratorTopologiesRequest + include Google::Apis::Core::Hashable + + # Map of accelerator topologies that should have their state changed to + # the specified value. The key is the hashed topology locus id. It can be + # obtained from the GetAvailableAcceleratorTopologies rpc. + # Corresponds to the JSON property `acceleratorTopologyActions` + # @return [Hash] + attr_accessor :accelerator_topology_actions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @accelerator_topology_actions = args[:accelerator_topology_actions] if args.key?(:accelerator_topology_actions) + end + end + # InstanceGroupManagers.createInstances class InstanceGroupManagersCreateInstancesRequest include Google::Apis::Core::Hashable @@ -24788,6 +24841,11 @@ class InstanceGroupManagersGetAvailableAcceleratorTopologiesResponse # @return [Hash] attr_accessor :accelerator_topologies_info + # URL to MMIG this MIG belongs to. + # Corresponds to the JSON property `multiMig` + # @return [String] + attr_accessor :multi_mig + def initialize(**args) update!(**args) end @@ -24795,6 +24853,7 @@ def initialize(**args) # Update properties of this object def update!(**args) @accelerator_topologies_info = args[:accelerator_topologies_info] if args.key?(:accelerator_topologies_info) + @multi_mig = args[:multi_mig] if args.key?(:multi_mig) end end @@ -24812,6 +24871,22 @@ class InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorT # @return [String] attr_accessor :accelerator_topology_health + # Specifies the topology state + # Corresponds to the JSON property `acceleratorTopologyState` + # @return [Google::Apis::ComputeBeta::InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyState] + attr_accessor :accelerator_topology_state + + # + # Corresponds to the JSON property `instancesHealth` + # @return [String] + attr_accessor :instances_health + + # Identified by the topology Id in the accelerator_topology_info map. Empty + # for the top-level topology + # Corresponds to the JSON property `parent` + # @return [String] + attr_accessor :parent + def initialize(**args) update!(**args) end @@ -24820,6 +24895,161 @@ def initialize(**args) def update!(**args) @accelerator_topology = args[:accelerator_topology] if args.key?(:accelerator_topology) @accelerator_topology_health = args[:accelerator_topology_health] if args.key?(:accelerator_topology_health) + @accelerator_topology_state = args[:accelerator_topology_state] if args.key?(:accelerator_topology_state) + @instances_health = args[:instances_health] if args.key?(:instances_health) + @parent = args[:parent] if args.key?(:parent) + end + end + + # Specifies the topology state + class InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyState + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `currentState` + # @return [String] + attr_accessor :current_state + + # Reason why the topology state change failed + # Corresponds to the JSON property `error` + # @return [Google::Apis::ComputeBeta::InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyState::Error] + attr_accessor :error + + # Timestamp when the last error happened + # Corresponds to the JSON property `errorTimestamp` + # @return [String] + attr_accessor :error_timestamp + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @current_state = args[:current_state] if args.key?(:current_state) + @error = args[:error] if args.key?(:error) + @error_timestamp = args[:error_timestamp] if args.key?(:error_timestamp) + end + + # Reason why the topology state change failed + class Error + include Google::Apis::Core::Hashable + + # [Output Only] The array of errors encountered while processing this + # operation. + # Corresponds to the JSON property `errors` + # @return [Array] + attr_accessor :errors + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @errors = args[:errors] if args.key?(:errors) + end + + # + class Error + include Google::Apis::Core::Hashable + + # [Output Only] The error type identifier for this error. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] An optional list of messages that contain the error + # details. There is a set of defined message types to use for providing + # details.The syntax depends on the error code. For example, + # QuotaExceededInfo will have details when the error code is + # QUOTA_EXCEEDED. + # Corresponds to the JSON property `errorDetails` + # @return [Array] + attr_accessor :error_details + + # [Output Only] Indicates the field in the request that caused the error. + # This property is optional. + # Corresponds to the JSON property `location` + # @return [String] + attr_accessor :location + + # [Output Only] An optional, human-readable error message. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @error_details = args[:error_details] if args.key?(:error_details) + @location = args[:location] if args.key?(:location) + @message = args[:message] if args.key?(:message) + end + + # + class ErrorDetail + include Google::Apis::Core::Hashable + + # Describes the cause of the error with structured details. + # Example of an error when contacting the "pubsub.googleapis.com" API when it + # is not enabled: + # ` "reason": "API_DISABLED" + # "domain": "googleapis.com" + # "metadata": ` + # "resource": "projects/123", + # "service": "pubsub.googleapis.com" + # ` + # ` + # This response indicates that the pubsub.googleapis.com API is not enabled. + # Example of an error that is returned when attempting to create a Spanner + # instance in a region that is out of stock: + # ` "reason": "STOCKOUT" + # "domain": "spanner.googleapis.com", + # "metadata": ` + # "availableRegions": "us-central1,us-east2" + # ` + # ` + # Corresponds to the JSON property `errorInfo` + # @return [Google::Apis::ComputeBeta::ErrorInfo] + attr_accessor :error_info + + # Provides links to documentation or for performing an out of band action. + # For example, if a quota check failed with an error indicating the calling + # project hasn't enabled the accessed service, this can contain a URL pointing + # directly to the right place in the developer console to flip the bit. + # Corresponds to the JSON property `help` + # @return [Google::Apis::ComputeBeta::Help] + attr_accessor :help + + # Provides a localized error message that is safe to return to the user + # which can be attached to an RPC error. + # Corresponds to the JSON property `localizedMessage` + # @return [Google::Apis::ComputeBeta::LocalizedMessage] + attr_accessor :localized_message + + # Additional details for quota exceeded error for resource quota. + # Corresponds to the JSON property `quotaInfo` + # @return [Google::Apis::ComputeBeta::QuotaExceededInfo] + attr_accessor :quota_info + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @error_info = args[:error_info] if args.key?(:error_info) + @help = args[:help] if args.key?(:help) + @localized_message = args[:localized_message] if args.key?(:localized_message) + @quota_info = args[:quota_info] if args.key?(:quota_info) + end + end + end end end @@ -26082,7 +26312,8 @@ class InstanceParams # @return [Google::Apis::ComputeBeta::Duration] attr_accessor :request_valid_for_duration - # Resource manager tags to be bound to the instance. Tag keys and values + # Input only. Resource manager tags to be bound to the instance. Tag keys and + # values # have the same definition as resource # manager tags. Keys and values can be either in numeric format, # such as `tagKeys/`tag_key_id`` and `tagValues/456` or in namespaced @@ -26227,7 +26458,8 @@ class InstanceProperties # @return [Google::Apis::ComputeBeta::ReservationAffinity] attr_accessor :reservation_affinity - # Resource manager tags to be bound to the instance. Tag keys and values + # Input only. Resource manager tags to be bound to the instance. Tag keys and + # values # have the same definition as resource # manager tags. Keys must be in the format `tagKeys/`tag_key_id``, and # values are in the format `tagValues/456`. The field is ignored (both PUT & @@ -33466,6 +33698,143 @@ def update!(**args) end end + # Contains a list of SnapshotGroup resources. + class ListSnapshotGroups + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `etag` + # @return [String] + attr_accessor :etag + + # [Output Only] Unique identifier for the resource; defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # A list of SnapshotGroup resources. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # Output only. Type of resource. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # [Output Only] This token allows you to get the next page of results for + # list requests. If the number of results is larger thanmaxResults, use the + # nextPageToken as a value for + # the query parameter pageToken in the next list request. + # Subsequent list requests will have their own nextPageToken to + # continue paging through the results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # Output only. [Output Only] Server-defined URL for this resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + # Output only. [Output Only] Unreachable resources. + # end_interface: MixerListResponseWithEtagBuilder + # Corresponds to the JSON property `unreachables` + # @return [Array] + attr_accessor :unreachables + + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::ListSnapshotGroups::Warning] + attr_accessor :warning + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @etag = args[:etag] if args.key?(:etag) + @id = args[:id] if args.key?(:id) + @items = args[:items] if args.key?(:items) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @self_link = args[:self_link] if args.key?(:self_link) + @unreachables = args[:unreachables] if args.key?(:unreachables) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute + # Engine returns NO_RESULTS_ON_PAGE if there + # are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: + # value format. For example: + # "data": [ + # ` + # "key": "scope", + # "value": "zones/us-east1-d" + # ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being + # returned. For example, for warnings where there are no results in a list + # request for a particular zone, this key might be scope and + # the key value might be the zone name. Other examples might be a key + # indicating a deprecated resource and a suggested replacement, or a + # warning about invalid network settings (for example, if an instance + # attempts to perform IP forwarding but is not enabled for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end + end + end + # class LocalDisk include Google::Apis::Core::Hashable @@ -33536,6 +33905,13 @@ class LocationPolicy # Location configurations mapped by location name. # Currently only zone names are supported and must be represented as valid # internal URLs, such as zones/us-central1-a. + # The bulkInsert operation doesn't create instances in an AI zone, even if + # an AI zone is available in the specified region. For example, if you set a + # DENY preference for us-central1-a, Compute Engine will consider + # us-central1-b and us-central1-c for instance creation, but not + # us-central1-ai1a. Also, you can't use the locations[] configuration to + # allow instance creation in an AI zone. To include an AI zone in bulkInsert + # operations, use the locationPolicy.zones[] field. # Corresponds to the JSON property `locations` # @return [Hash] attr_accessor :locations @@ -33545,6 +33921,13 @@ class LocationPolicy # @return [String] attr_accessor :target_shape + # The bulkInsert operation applies any preferences set in the locations + # field to the specific zones listed in the zones field if the same zones + # are specified in both fields. + # Corresponds to the JSON property `zones` + # @return [Array] + attr_accessor :zones + def initialize(**args) update!(**args) end @@ -33553,6 +33936,7 @@ def initialize(**args) def update!(**args) @locations = args[:locations] if args.key?(:locations) @target_shape = args[:target_shape] if args.key?(:target_shape) + @zones = args[:zones] if args.key?(:zones) end end @@ -33601,6 +33985,28 @@ def update!(**args) end end + # + class LocationPolicyZoneConfiguration + include Google::Apis::Core::Hashable + + # The URL of the zone. + # The zone must exist in the region where the request is called. + # Zones must be represented as valid partial URLs, + # such as zones/us-central1-a. + # Corresponds to the JSON property `zone` + # @return [String] + attr_accessor :zone + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @zone = args[:zone] if args.key?(:zone) + end + end + # Represents a machine image resource. # A machine image is a Compute Engine resource that stores all the # configuration, metadata, permissions, and data from one or more disks @@ -35688,6 +36094,59 @@ def update!(**args) end end + # + class NamedSet + include Google::Apis::Core::Hashable + + # An optional description of named set. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # CEL expressions that are comparable to constructs of this set's type + # (see Policy Language). + # Corresponds to the JSON property `elements` + # @return [Array] + attr_accessor :elements + + # A fingerprint for the Named Set being applied to this Router, which is + # essentially a hash of the Named Set used for optimistic locking. + # The fingerprint is initially generated by Compute Engine and changes + # after every request to modify or update the Named Set. You must always + # provide an up-to-date fingerprint hash in order to update or change + # labels. + # To see the latest fingerprint, make a getNamedSet() request + # to retrieve a Named Set. + # Corresponds to the JSON property `fingerprint` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :fingerprint + + # This set's name, which must be a resource ID segment and unique within all + # named sets owned by the Router. Name should conform to RFC1035. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # This named set's type + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @description = args[:description] if args.key?(:description) + @elements = args[:elements] if args.key?(:elements) + @fingerprint = args[:fingerprint] if args.key?(:fingerprint) + @name = args[:name] if args.key?(:name) + @type = args[:type] if args.key?(:type) + end + end + # Contains NAT IP information of a NAT config (i.e. usage status, mode). class NatIpInfo include Google::Apis::Core::Hashable @@ -48633,6 +49092,11 @@ class Reservation # @return [String] attr_accessor :name + # Additional reservation params. + # Corresponds to the JSON property `params` + # @return [Google::Apis::ComputeBeta::ReservationParams] + attr_accessor :params + # Protection tier for the workload which specifies the workload expectations # in the event of infrastructure failures at data center (e.g. power # and/or cooling failures). @@ -48738,6 +49202,7 @@ def update!(**args) @kind = args[:kind] if args.key?(:kind) @linked_commitments = args[:linked_commitments] if args.key?(:linked_commitments) @name = args[:name] if args.key?(:name) + @params = args[:params] if args.key?(:params) @protection_tier = args[:protection_tier] if args.key?(:protection_tier) @reservation_mode = args[:reservation_mode] if args.key?(:reservation_mode) @reservation_sharing_policy = args[:reservation_sharing_policy] if args.key?(:reservation_sharing_policy) @@ -49459,6 +49924,31 @@ def update!(**args) end end + # Additional reservation params. + class ReservationParams + include Google::Apis::Core::Hashable + + # Input only. Resource manager tags to be bound to the reservation. Tag keys and + # values have the same definition as resource + # manager tags. Keys and values can be either in numeric format, + # such as `tagKeys/`tag_key_id`` and `tagValues/`tag_value_id`` or in + # namespaced format such as ``org_id|project_id`/`tag_key_short_name`` and + # ``tag_value_short_name``. The field is ignored (both PUT & + # PATCH) when empty. + # Corresponds to the JSON property `resourceManagerTags` + # @return [Hash] + attr_accessor :resource_manager_tags + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags) + end + end + # Represents a reservation slot resource. class ReservationSlot include Google::Apis::Core::Hashable @@ -54861,6 +55351,31 @@ def update!(**args) end end + # + class RoutersGetNamedSetResponse + include Google::Apis::Core::Hashable + + # end_interface: MixerGetResponseWithEtagBuilder + # Corresponds to the JSON property `etag` + # @return [String] + attr_accessor :etag + + # + # Corresponds to the JSON property `resource` + # @return [Google::Apis::ComputeBeta::NamedSet] + attr_accessor :resource + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @etag = args[:etag] if args.key?(:etag) + @resource = args[:resource] if args.key?(:resource) + end + end + # class RoutersGetRoutePolicyResponse include Google::Apis::Core::Hashable @@ -55018,6 +55533,144 @@ def update!(**args) end end + # + class RoutersListNamedSets + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `etag` + # @return [String] + attr_accessor :etag + + # [Output Only] The unique identifier for the resource. This identifier is + # defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Output only. [Output Only] Type of resource. Alwayscompute# + # routersListNamedSets for lists of named sets. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # [Output Only] This token allows you to get the next page of results for + # list requests. If the number of results is larger thanmaxResults, use the + # nextPageToken as a value for + # the query parameter pageToken in the next list request. + # Subsequent list requests will have their own nextPageToken to + # continue paging through the results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # [Output Only] A list of named sets. + # Corresponds to the JSON property `result` + # @return [Array] + attr_accessor :result + + # Output only. [Output Only] Server-defined URL for this resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + # Output only. [Output Only] Unreachable resources. + # Corresponds to the JSON property `unreachables` + # @return [Array] + attr_accessor :unreachables + + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::RoutersListNamedSets::Warning] + attr_accessor :warning + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @etag = args[:etag] if args.key?(:etag) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @result = args[:result] if args.key?(:result) + @self_link = args[:self_link] if args.key?(:self_link) + @unreachables = args[:unreachables] if args.key?(:unreachables) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute + # Engine returns NO_RESULTS_ON_PAGE if there + # are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: + # value format. For example: + # "data": [ + # ` + # "key": "scope", + # "value": "zones/us-east1-d" + # ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being + # returned. For example, for warnings where there are no results in a list + # request for a particular zone, this key might be scope and + # the key value might be the zone name. Other examples might be a key + # indicating a deprecated resource and a suggested replacement, or a + # warning about invalid network settings (for example, if an instance + # attempts to perform IP forwarding but is not enabled for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end + end + end + # class RoutersListRoutePolicies include Google::Apis::Core::Hashable @@ -59259,6 +59912,18 @@ class Snapshot # @return [Google::Apis::ComputeBeta::CustomerEncryptionKey] attr_accessor :snapshot_encryption_key + # Output only. [Output Only] The unique ID of the snapshot group that this + # snapshot + # belongs to. + # Corresponds to the JSON property `snapshotGroupId` + # @return [String] + attr_accessor :snapshot_group_id + + # Output only. [Output only] The snapshot group that this snapshot belongs to. + # Corresponds to the JSON property `snapshotGroupName` + # @return [String] + attr_accessor :snapshot_group_name + # Indicates the type of the snapshot. # Corresponds to the JSON property `snapshotType` # @return [String] @@ -59361,12 +60026,6 @@ class Snapshot # @return [Array] attr_accessor :storage_locations - # [Output Only] A list of user provided licenses represented by a list of - # URLs to the license resource. - # Corresponds to the JSON property `userLicenses` - # @return [Array] - attr_accessor :user_licenses - def initialize(**args) update!(**args) end @@ -59398,6 +60057,8 @@ def update!(**args) @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs) @self_link = args[:self_link] if args.key?(:self_link) @snapshot_encryption_key = args[:snapshot_encryption_key] if args.key?(:snapshot_encryption_key) + @snapshot_group_id = args[:snapshot_group_id] if args.key?(:snapshot_group_id) + @snapshot_group_name = args[:snapshot_group_name] if args.key?(:snapshot_group_name) @snapshot_type = args[:snapshot_type] if args.key?(:snapshot_type) @source_disk = args[:source_disk] if args.key?(:source_disk) @source_disk_encryption_key = args[:source_disk_encryption_key] if args.key?(:source_disk_encryption_key) @@ -59412,7 +60073,6 @@ def update!(**args) @storage_bytes = args[:storage_bytes] if args.key?(:storage_bytes) @storage_bytes_status = args[:storage_bytes_status] if args.key?(:storage_bytes_status) @storage_locations = args[:storage_locations] if args.key?(:storage_locations) - @user_licenses = args[:user_licenses] if args.key?(:user_licenses) end end @@ -59554,6 +60214,194 @@ def update!(**args) end end + # Represents a SnapshotGroup resource. + # A snapshot group is a set of snapshots that represents a point in time state + # of a consistency group. + class SnapshotGroup + include Google::Apis::Core::Hashable + + # Output only. [Output Only] Creation timestamp inRFC3339 + # text format. + # Corresponds to the JSON property `creationTimestamp` + # @return [String] + attr_accessor :creation_timestamp + + # Optional. An optional description of this resource. Provide this property when + # you + # create the resource. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Output only. [Output Only] The unique identifier for the resource. This + # identifier is + # defined by the server. + # Corresponds to the JSON property `id` + # @return [Fixnum] + attr_accessor :id + + # Output only. [Output Only] Type of the resource. Alwayscompute#snapshotGroup + # for SnapshotGroup + # resources. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Identifier. Name of the resource; provided by the client when the resource is + # created. + # The name must be 1-63 characters long, and comply withRFC1035. + # Specifically, the name must be 1-63 characters long and match the regular + # expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + # character must be a lowercase letter, and all following characters must be + # a dash, lowercase letter, or digit, except the last character, which cannot + # be a dash. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Output only. [Output Only] Server-defined URL for the resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + # Output only. [Output Only] Server-defined URL for this resource's resource id. + # Corresponds to the JSON property `selfLinkWithId` + # @return [String] + attr_accessor :self_link_with_id + + # Output only. [Output Only] + # Corresponds to the JSON property `sourceInfo` + # @return [Google::Apis::ComputeBeta::SnapshotGroupSourceInfo] + attr_accessor :source_info + + # Input field for the source instant snapshot group. + # Corresponds to the JSON property `sourceInstantSnapshotGroup` + # @return [String] + attr_accessor :source_instant_snapshot_group + + # Output only. [Output Only] + # Corresponds to the JSON property `sourceInstantSnapshotGroupInfo` + # @return [Google::Apis::ComputeBeta::SnapshotGroupSourceInstantSnapshotGroupInfo] + attr_accessor :source_instant_snapshot_group_info + + # Output only. [Output Only] + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) + @description = args[:description] if args.key?(:description) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + @self_link = args[:self_link] if args.key?(:self_link) + @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id) + @source_info = args[:source_info] if args.key?(:source_info) + @source_instant_snapshot_group = args[:source_instant_snapshot_group] if args.key?(:source_instant_snapshot_group) + @source_instant_snapshot_group_info = args[:source_instant_snapshot_group_info] if args.key?(:source_instant_snapshot_group_info) + @status = args[:status] if args.key?(:status) + end + end + + # + class SnapshotGroupParameters + include Google::Apis::Core::Hashable + + # URLs of the zones where disks should be replicated to. Only applicable + # for regional resources. + # Corresponds to the JSON property `replicaZones` + # @return [Array] + attr_accessor :replica_zones + + # The source snapshot group used to create disks. You can provide this as a + # partial or full URL to the resource. For example, the following are valid + # values: + # + # + # - https://www.googleapis.com/compute/v1/projects/project/global/ + # snapshotGroups/snapshotGroup + # - projects/project/global/snapshotGroups/snapshotGroup + # - global/snapshotGroups/snapshotGroup + # Corresponds to the JSON property `sourceSnapshotGroup` + # @return [String] + attr_accessor :source_snapshot_group + + # URL of the disk type resource describing which disk type to use to create + # disks. Provide this when creating the disk. For example:projects/project/zones/ + # zone/diskTypes/pd-ssd. See Persistent disk + # types. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @replica_zones = args[:replica_zones] if args.key?(:replica_zones) + @source_snapshot_group = args[:source_snapshot_group] if args.key?(:source_snapshot_group) + @type = args[:type] if args.key?(:type) + end + end + + # + class SnapshotGroupSourceInfo + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `consistencyGroup` + # @return [String] + attr_accessor :consistency_group + + # + # Corresponds to the JSON property `consistencyGroupId` + # @return [String] + attr_accessor :consistency_group_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @consistency_group = args[:consistency_group] if args.key?(:consistency_group) + @consistency_group_id = args[:consistency_group_id] if args.key?(:consistency_group_id) + end + end + + # + class SnapshotGroupSourceInstantSnapshotGroupInfo + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `instantSnapshotGroup` + # @return [String] + attr_accessor :instant_snapshot_group + + # + # Corresponds to the JSON property `instantSnapshotGroupId` + # @return [String] + attr_accessor :instant_snapshot_group_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @instant_snapshot_group = args[:instant_snapshot_group] if args.key?(:instant_snapshot_group) + @instant_snapshot_group_id = args[:instant_snapshot_group_id] if args.key?(:instant_snapshot_group_id) + end + end + # Contains a list of Snapshot resources. class SnapshotList include Google::Apis::Core::Hashable @@ -59682,7 +60530,8 @@ def update!(**args) class SnapshotParams include Google::Apis::Core::Hashable - # Resource manager tags to be bound to the snapshot. Tag keys and values have + # Input only. Resource manager tags to be bound to the snapshot. Tag keys and + # values have # the same definition as resource # manager tags. Keys and values can be either in numeric format, # such as `tagKeys/`tag_key_id`` and `tagValues/456` or in namespaced @@ -69595,9 +70444,9 @@ class VmExtensionPolicy # @return [String] attr_accessor :description - # Required. A map of extension names (e.g., "cloudops") to their corresponding - # policy - # configurations. + # Required. A map of extension names (for example, "ops-agent") to their + # corresponding + # policy configurations. # Corresponds to the JSON property `extensionPolicies` # @return [Hash] attr_accessor :extension_policies @@ -69654,7 +70503,7 @@ class VmExtensionPolicy # The policy priority is an integer from 0 to 65535, inclusive. Lower # integers indicate higher priorities. If you do not specify a priority when # creating a rule, it is assigned a priority of 1000. If priorities are - # equal, the policy with the more recent creation timestamp takes precedence. + # equal, the policy with the most recent creation timestamp takes precedence. # Corresponds to the JSON property `priority` # @return [Fixnum] attr_accessor :priority diff --git a/generated/google-apis-compute_beta/lib/google/apis/compute_beta/gem_version.rb b/generated/google-apis-compute_beta/lib/google/apis/compute_beta/gem_version.rb index 8dee523b8a2..1390a980e4c 100644 --- a/generated/google-apis-compute_beta/lib/google/apis/compute_beta/gem_version.rb +++ b/generated/google-apis-compute_beta/lib/google/apis/compute_beta/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module ComputeBeta # Version of the google-apis-compute_beta gem - GEM_VERSION = "0.134.0" + GEM_VERSION = "0.135.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20260206" + REVISION = "20260213" end end end diff --git a/generated/google-apis-compute_beta/lib/google/apis/compute_beta/representations.rb b/generated/google-apis-compute_beta/lib/google/apis/compute_beta/representations.rb index 5a6929f1bc4..f377978311a 100644 --- a/generated/google-apis-compute_beta/lib/google/apis/compute_beta/representations.rb +++ b/generated/google-apis-compute_beta/lib/google/apis/compute_beta/representations.rb @@ -388,6 +388,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class BackendBackendOrchestrationInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class BackendBucket class Representation < Google::Apis::Core::JsonRepresentation; end @@ -688,6 +694,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class BackendServiceOrchestrationInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class BackendServiceParams class Representation < Google::Apis::Core::JsonRepresentation; end @@ -2734,6 +2746,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class InstanceGroupManagersConfigureAcceleratorTopologiesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class InstanceGroupManagersCreateInstancesRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -2764,6 +2782,30 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyState + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Error + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Error + class Representation < Google::Apis::Core::JsonRepresentation; end + + class ErrorDetail + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + class InstanceGroupManagersListErrorsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -3940,6 +3982,24 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class ListSnapshotGroups + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + class LocalDisk class Representation < Google::Apis::Core::JsonRepresentation; end @@ -3970,6 +4030,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class LocationPolicyZoneConfiguration + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class MachineImage class Representation < Google::Apis::Core::JsonRepresentation; end @@ -4252,6 +4318,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class NamedSet + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class NatIpInfo class Representation < Google::Apis::Core::JsonRepresentation; end @@ -6052,6 +6124,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class ReservationParams + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ReservationSlot class Representation < Google::Apis::Core::JsonRepresentation; end @@ -6724,6 +6802,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class RoutersGetNamedSetResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class RoutersGetRoutePolicyResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -6748,6 +6832,24 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class RoutersListNamedSets + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + class RoutersListRoutePolicies class Representation < Google::Apis::Core::JsonRepresentation; end @@ -7294,6 +7396,30 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class SnapshotGroup + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SnapshotGroupParameters + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SnapshotGroupSourceInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SnapshotGroupSourceInstantSnapshotGroupInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class SnapshotList class Representation < Google::Apis::Core::JsonRepresentation; end @@ -9453,7 +9579,6 @@ class Representation < Google::Apis::Core::JsonRepresentation property :source, as: 'source' property :type, as: 'type' - collection :user_licenses, as: 'userLicenses' end end @@ -9727,11 +9852,20 @@ class Representation < Google::Apis::Core::JsonRepresentation property :max_rate_per_endpoint, as: 'maxRatePerEndpoint' property :max_rate_per_instance, as: 'maxRatePerInstance' property :max_utilization, as: 'maxUtilization' + property :orchestration_info, as: 'orchestrationInfo', class: Google::Apis::ComputeBeta::BackendBackendOrchestrationInfo, decorator: Google::Apis::ComputeBeta::BackendBackendOrchestrationInfo::Representation + property :preference, as: 'preference' property :traffic_duration, as: 'trafficDuration' end end + class BackendBackendOrchestrationInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :resource_uri, as: 'resourceUri' + end + end + class BackendBucket # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -10001,6 +10135,8 @@ class Representation < Google::Apis::Core::JsonRepresentation property :network, as: 'network' property :network_pass_through_lb_traffic_policy, as: 'networkPassThroughLbTrafficPolicy', class: Google::Apis::ComputeBeta::BackendServiceNetworkPassThroughLbTrafficPolicy, decorator: Google::Apis::ComputeBeta::BackendServiceNetworkPassThroughLbTrafficPolicy::Representation + property :orchestration_info, as: 'orchestrationInfo', class: Google::Apis::ComputeBeta::BackendServiceOrchestrationInfo, decorator: Google::Apis::ComputeBeta::BackendServiceOrchestrationInfo::Representation + property :outlier_detection, as: 'outlierDetection', class: Google::Apis::ComputeBeta::OutlierDetection, decorator: Google::Apis::ComputeBeta::OutlierDetection::Representation property :params, as: 'params', class: Google::Apis::ComputeBeta::BackendServiceParams, decorator: Google::Apis::ComputeBeta::BackendServiceParams::Representation @@ -10309,6 +10445,13 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class BackendServiceOrchestrationInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :resource_uri, as: 'resourceUri' + end + end + class BackendServiceParams # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -10482,6 +10625,8 @@ class BulkInsertDiskResource class Representation < Google::Apis::Core::JsonRepresentation property :instant_snapshot_group_parameters, as: 'instantSnapshotGroupParameters', class: Google::Apis::ComputeBeta::InstantSnapshotGroupParameters, decorator: Google::Apis::ComputeBeta::InstantSnapshotGroupParameters::Representation + property :snapshot_group_parameters, as: 'snapshotGroupParameters', class: Google::Apis::ComputeBeta::SnapshotGroupParameters, decorator: Google::Apis::ComputeBeta::SnapshotGroupParameters::Representation + property :source_consistency_group_policy, as: 'sourceConsistencyGroupPolicy' end end @@ -11112,7 +11257,6 @@ class Representation < Google::Apis::Core::JsonRepresentation property :storage_pool, as: 'storagePool' property :storage_type, as: 'storageType' property :type, as: 'type' - collection :user_licenses, as: 'userLicenses' collection :users, as: 'users' property :zone, as: 'zone' end @@ -13447,7 +13591,6 @@ class Representation < Google::Apis::Core::JsonRepresentation property :source_type, as: 'sourceType' property :status, as: 'status' collection :storage_locations, as: 'storageLocations' - collection :user_licenses, as: 'userLicenses' end class RawDisk @@ -14294,6 +14437,13 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class InstanceGroupManagersConfigureAcceleratorTopologiesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :accelerator_topology_actions, as: 'acceleratorTopologyActions' + end + end + class InstanceGroupManagersCreateInstancesRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -14322,6 +14472,7 @@ class InstanceGroupManagersGetAvailableAcceleratorTopologiesResponse class Representation < Google::Apis::Core::JsonRepresentation hash :accelerator_topologies_info, as: 'acceleratorTopologiesInfo', class: Google::Apis::ComputeBeta::InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyInfo, decorator: Google::Apis::ComputeBeta::InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyInfo::Representation + property :multi_mig, as: 'multiMig' end end @@ -14330,6 +14481,53 @@ class InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorT class Representation < Google::Apis::Core::JsonRepresentation property :accelerator_topology, as: 'acceleratorTopology' property :accelerator_topology_health, as: 'acceleratorTopologyHealth' + property :accelerator_topology_state, as: 'acceleratorTopologyState', class: Google::Apis::ComputeBeta::InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyState, decorator: Google::Apis::ComputeBeta::InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyState::Representation + + property :instances_health, as: 'instancesHealth' + property :parent, as: 'parent' + end + end + + class InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyState + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :current_state, as: 'currentState' + property :error, as: 'error', class: Google::Apis::ComputeBeta::InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyState::Error, decorator: Google::Apis::ComputeBeta::InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyState::Error::Representation + + property :error_timestamp, as: 'errorTimestamp' + end + + class Error + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :errors, as: 'errors', class: Google::Apis::ComputeBeta::InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyState::Error::Error, decorator: Google::Apis::ComputeBeta::InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyState::Error::Error::Representation + + end + + class Error + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :error_details, as: 'errorDetails', class: Google::Apis::ComputeBeta::InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyState::Error::Error::ErrorDetail, decorator: Google::Apis::ComputeBeta::InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyState::Error::Error::ErrorDetail::Representation + + property :location, as: 'location' + property :message, as: 'message' + end + + class ErrorDetail + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :error_info, as: 'errorInfo', class: Google::Apis::ComputeBeta::ErrorInfo, decorator: Google::Apis::ComputeBeta::ErrorInfo::Representation + + property :help, as: 'help', class: Google::Apis::ComputeBeta::Help, decorator: Google::Apis::ComputeBeta::Help::Representation + + property :localized_message, as: 'localizedMessage', class: Google::Apis::ComputeBeta::LocalizedMessage, decorator: Google::Apis::ComputeBeta::LocalizedMessage::Representation + + property :quota_info, as: 'quotaInfo', class: Google::Apis::ComputeBeta::QuotaExceededInfo, decorator: Google::Apis::ComputeBeta::QuotaExceededInfo::Representation + + end + end + end end end @@ -16438,6 +16636,40 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class ListSnapshotGroups + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :etag, as: 'etag' + property :id, as: 'id' + collection :items, as: 'items', class: Google::Apis::ComputeBeta::SnapshotGroup, decorator: Google::Apis::ComputeBeta::SnapshotGroup::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + property :self_link, as: 'selfLink' + collection :unreachables, as: 'unreachables' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::ListSnapshotGroups::Warning, decorator: Google::Apis::ComputeBeta::ListSnapshotGroups::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::ListSnapshotGroups::Warning::Datum, decorator: Google::Apis::ComputeBeta::ListSnapshotGroups::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end + end + end + class LocalDisk # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -16461,6 +16693,8 @@ class Representation < Google::Apis::Core::JsonRepresentation hash :locations, as: 'locations', class: Google::Apis::ComputeBeta::LocationPolicyLocation, decorator: Google::Apis::ComputeBeta::LocationPolicyLocation::Representation property :target_shape, as: 'targetShape' + collection :zones, as: 'zones', class: Google::Apis::ComputeBeta::LocationPolicyZoneConfiguration, decorator: Google::Apis::ComputeBeta::LocationPolicyZoneConfiguration::Representation + end end @@ -16480,6 +16714,13 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class LocationPolicyZoneConfiguration + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :zone, as: 'zone' + end + end + class MachineImage # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -17001,6 +17242,18 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class NamedSet + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + collection :elements, as: 'elements', class: Google::Apis::ComputeBeta::Expr, decorator: Google::Apis::ComputeBeta::Expr::Representation + + property :fingerprint, :base64 => true, as: 'fingerprint' + property :name, as: 'name' + property :type, as: 'type' + end + end + class NatIpInfo # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -20113,6 +20366,8 @@ class Representation < Google::Apis::Core::JsonRepresentation property :kind, as: 'kind' collection :linked_commitments, as: 'linkedCommitments' property :name, as: 'name' + property :params, as: 'params', class: Google::Apis::ComputeBeta::ReservationParams, decorator: Google::Apis::ComputeBeta::ReservationParams::Representation + property :protection_tier, as: 'protectionTier' property :reservation_mode, as: 'reservationMode' property :reservation_sharing_policy, as: 'reservationSharingPolicy', class: Google::Apis::ComputeBeta::AllocationReservationSharingPolicy, decorator: Google::Apis::ComputeBeta::AllocationReservationSharingPolicy::Representation @@ -20316,6 +20571,13 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class ReservationParams + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :resource_manager_tags, as: 'resourceManagerTags' + end + end + class ReservationSlot # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -21599,6 +21861,15 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class RoutersGetNamedSetResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :etag, as: 'etag' + property :resource, as: 'resource', class: Google::Apis::ComputeBeta::NamedSet, decorator: Google::Apis::ComputeBeta::NamedSet::Representation + + end + end + class RoutersGetRoutePolicyResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -21641,6 +21912,40 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class RoutersListNamedSets + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :etag, as: 'etag' + property :id, as: 'id' + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + collection :result, as: 'result', class: Google::Apis::ComputeBeta::NamedSet, decorator: Google::Apis::ComputeBeta::NamedSet::Representation + + property :self_link, as: 'selfLink' + collection :unreachables, as: 'unreachables' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::RoutersListNamedSets::Warning, decorator: Google::Apis::ComputeBeta::RoutersListNamedSets::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::RoutersListNamedSets::Warning::Datum, decorator: Google::Apis::ComputeBeta::RoutersListNamedSets::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end + end + end + class RoutersListRoutePolicies # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -22630,6 +22935,8 @@ class Representation < Google::Apis::Core::JsonRepresentation property :self_link, as: 'selfLink' property :snapshot_encryption_key, as: 'snapshotEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation + property :snapshot_group_id, as: 'snapshotGroupId' + property :snapshot_group_name, as: 'snapshotGroupName' property :snapshot_type, as: 'snapshotType' property :source_disk, as: 'sourceDisk' property :source_disk_encryption_key, as: 'sourceDiskEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation @@ -22646,7 +22953,6 @@ class Representation < Google::Apis::Core::JsonRepresentation property :storage_bytes, :numeric_string => true, as: 'storageBytes' property :storage_bytes_status, as: 'storageBytesStatus' collection :storage_locations, as: 'storageLocations' - collection :user_licenses, as: 'userLicenses' end end @@ -22684,6 +22990,50 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class SnapshotGroup + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :creation_timestamp, as: 'creationTimestamp' + property :description, as: 'description' + property :id, :numeric_string => true, as: 'id' + property :kind, as: 'kind' + property :name, as: 'name' + property :self_link, as: 'selfLink' + property :self_link_with_id, as: 'selfLinkWithId' + property :source_info, as: 'sourceInfo', class: Google::Apis::ComputeBeta::SnapshotGroupSourceInfo, decorator: Google::Apis::ComputeBeta::SnapshotGroupSourceInfo::Representation + + property :source_instant_snapshot_group, as: 'sourceInstantSnapshotGroup' + property :source_instant_snapshot_group_info, as: 'sourceInstantSnapshotGroupInfo', class: Google::Apis::ComputeBeta::SnapshotGroupSourceInstantSnapshotGroupInfo, decorator: Google::Apis::ComputeBeta::SnapshotGroupSourceInstantSnapshotGroupInfo::Representation + + property :status, as: 'status' + end + end + + class SnapshotGroupParameters + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :replica_zones, as: 'replicaZones' + property :source_snapshot_group, as: 'sourceSnapshotGroup' + property :type, as: 'type' + end + end + + class SnapshotGroupSourceInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :consistency_group, as: 'consistencyGroup' + property :consistency_group_id, as: 'consistencyGroupId' + end + end + + class SnapshotGroupSourceInstantSnapshotGroupInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :instant_snapshot_group, as: 'instantSnapshotGroup' + property :instant_snapshot_group_id, as: 'instantSnapshotGroupId' + end + end + class SnapshotList # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google-apis-compute_beta/lib/google/apis/compute_beta/service.rb b/generated/google-apis-compute_beta/lib/google/apis/compute_beta/service.rb index fe9cff8677f..23083a20009 100644 --- a/generated/google-apis-compute_beta/lib/google/apis/compute_beta/service.rb +++ b/generated/google-apis-compute_beta/lib/google/apis/compute_beta/service.rb @@ -5158,7 +5158,7 @@ def test_disk_iam_permissions(project, zone, resource, test_permissions_request_ # Updates the specified disk with the data included in the request. # The update is performed only on selected fields included as part - # of update-mask. Only the following fields can be modified: user_license. + # of update-mask. # @param [String] project # Project ID for this request. # @param [String] zone @@ -13235,6 +13235,63 @@ def apply_instance_group_manager_updates_to_instances(project, zone, instance_gr execute_or_queue_command(command, &block) end + # Updates the accelerator topologies configuration. + # @param [String] project + # Project ID for this request. + # @param [String] zone + # The name of thezone + # where the managed instance group is located. + # It should conform to RFC1035. + # @param [String] instance_group_manager + # The name of the managed instance group. + # It should conform to RFC1035. + # @param [Google::Apis::ComputeBeta::InstanceGroupManagersConfigureAcceleratorTopologiesRequest] instance_group_managers_configure_accelerator_topologies_request_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and + # the request times out. If you make the request again with the same + # request ID, the server can check if original operation with the same + # request ID was received, and if so, will ignore the second request. + # The request ID must be + # a valid UUID with the exception that zero UUID is not supported + # (00000000-0000-0000-0000-000000000000). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] user_ip + # Legacy name for parameter that has been superseded by `quotaUser`. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def configure_instance_group_manager_accelerator_topologies(project, zone, instance_group_manager, instance_group_managers_configure_accelerator_topologies_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/configureAcceleratorTopologies', options) + command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManagersConfigureAcceleratorTopologiesRequest::Representation + command.request_object = instance_group_managers_configure_accelerator_topologies_request_object + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['zone'] = zone unless zone.nil? + command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? + command.query['requestId'] = request_id unless request_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Creates instances with per-instance configurations in this managed instance # group. Instances are created using the current instance template. Thecreate # instances operation is marked DONE if thecreateInstances request is successful. @@ -37067,8 +37124,7 @@ def test_region_disk_iam_permissions(project, region, resource, test_permissions end # Update the specified disk with the data included in the request. Update is - # performed only on selected fields included as part of update-mask. Only the - # following fields can be modified: user_license. + # performed only on selected fields included as part of update-mask. # @param [String] project # Project ID for this request. # @param [String] region @@ -50450,7 +50506,7 @@ def update_reservation_slot(project, zone, parent_name, reservation_slot, reserv # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_reservation_sub_block(project, zone, parent_name, reservation_sub_block, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'projects/{project}/zones/{zone}/{parentName}/reservationSubBlocks/{reservationSubBlock}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/{+parentName}/reservationSubBlocks/{reservationSubBlock}', options) command.response_representation = Google::Apis::ComputeBeta::ReservationSubBlocksGetResponse::Representation command.response_class = Google::Apis::ComputeBeta::ReservationSubBlocksGetResponse command.params['project'] = project unless project.nil? @@ -50496,7 +50552,7 @@ def get_reservation_sub_block(project, zone, parent_name, reservation_sub_block, # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_reservation_sub_block_iam_policy(project, zone, parent_resource, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'projects/{project}/zones/{zone}/{parentResource}/reservationSubBlocks/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/{+parentResource}/reservationSubBlocks/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::Policy command.params['project'] = project unless project.nil? @@ -50614,7 +50670,7 @@ def get_reservation_sub_block_iam_policy(project, zone, parent_resource, resourc # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_reservation_sub_blocks(project, zone, parent_name, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'projects/{project}/zones/{zone}/{parentName}/reservationSubBlocks', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/{+parentName}/reservationSubBlocks', options) command.response_representation = Google::Apis::ComputeBeta::ReservationSubBlocksListResponse::Representation command.response_class = Google::Apis::ComputeBeta::ReservationSubBlocksListResponse command.params['project'] = project unless project.nil? @@ -50674,7 +50730,7 @@ def list_reservation_sub_blocks(project, zone, parent_name, filter: nil, max_res # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def perform_reservation_sub_block_maintenance(project, zone, parent_name, reservation_sub_block, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, 'projects/{project}/zones/{zone}/{parentName}/reservationSubBlocks/{reservationSubBlock}/performMaintenance', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/{+parentName}/reservationSubBlocks/{reservationSubBlock}/performMaintenance', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -50732,7 +50788,7 @@ def perform_reservation_sub_block_maintenance(project, zone, parent_name, reserv # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def report_reservation_sub_block_faulty(project, zone, parent_name, reservation_sub_block, reservation_sub_blocks_report_faulty_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, 'projects/{project}/zones/{zone}/{parentName}/reservationSubBlocks/{reservationSubBlock}/reportFaulty', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/{+parentName}/reservationSubBlocks/{reservationSubBlock}/reportFaulty', options) command.request_representation = Google::Apis::ComputeBeta::ReservationSubBlocksReportFaultyRequest::Representation command.request_object = reservation_sub_blocks_report_faulty_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -50779,7 +50835,7 @@ def report_reservation_sub_block_faulty(project, zone, parent_name, reservation_ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_reservation_sub_block_iam_policy(project, zone, parent_resource, resource, zone_set_nested_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, 'projects/{project}/zones/{zone}/{parentResource}/reservationSubBlocks/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/{+parentResource}/reservationSubBlocks/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeBeta::ZoneSetNestedPolicyRequest::Representation command.request_object = zone_set_nested_policy_request_object command.response_representation = Google::Apis::ComputeBeta::Policy::Representation @@ -50824,7 +50880,7 @@ def set_reservation_sub_block_iam_policy(project, zone, parent_resource, resourc # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_reservation_sub_block_iam_permissions(project, zone, parent_resource, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, 'projects/{project}/zones/{zone}/{parentResource}/reservationSubBlocks/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/{+parentResource}/reservationSubBlocks/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -52791,6 +52847,61 @@ def delete_router(project, region, router, request_id: nil, fields: nil, quota_u execute_or_queue_command(command, &block) end + # Deletes Named Set + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region for this request. + # @param [String] router + # Name of the Router resource where Named Set is defined. + # @param [String] named_set + # The Named Set name for this request. Name must conform to RFC1035 + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and + # the request times out. If you make the request again with the same + # request ID, the server can check if original operation with the same + # request ID was received, and if so, will ignore the second request. This + # prevents clients from accidentally creating duplicate commitments. + # The request ID must be + # a valid UUID with the exception that zero UUID is not supported + # (00000000-0000-0000-0000-000000000000). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] user_ip + # Legacy name for parameter that has been superseded by `quotaUser`. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_router_named_set(project, region, router, named_set: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/routers/{router}/deleteNamedSet', options) + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['router'] = router unless router.nil? + command.query['namedSet'] = named_set unless named_set.nil? + command.query['requestId'] = request_id unless request_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Deletes Route Policy # @param [String] project # Project ID for this request. @@ -52885,6 +52996,49 @@ def get_router(project, region, router, fields: nil, quota_user: nil, user_ip: n execute_or_queue_command(command, &block) end + # Returns specified Named Set + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region for this request. + # @param [String] router + # Name of the Router resource to query for the named set. The name should + # conform to RFC1035. + # @param [String] named_set + # The Named Set name for this request. Name must conform to RFC1035 + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] user_ip + # Legacy name for parameter that has been superseded by `quotaUser`. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::RoutersGetNamedSetResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::RoutersGetNamedSetResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_router_named_set(project, region, router, named_set: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/routers/{router}/getNamedSet', options) + command.response_representation = Google::Apis::ComputeBeta::RoutersGetNamedSetResponse::Representation + command.response_class = Google::Apis::ComputeBeta::RoutersGetNamedSetResponse + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['router'] = router unless router.nil? + command.query['namedSet'] = named_set unless named_set.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Retrieves runtime NAT IP information. # @param [String] project # Project ID for this request. @@ -53447,7 +53601,7 @@ def list_router_bgp_routes(project, region, router, address_family: nil, destina execute_or_queue_command(command, &block) end - # Retrieves a list of router route policy subresources available to the + # Retrieves a list of router named set subresources available to the # specified project. # @param [String] project # Project ID for this request. @@ -53543,18 +53697,18 @@ def list_router_bgp_routes(project, region, router, address_family: nil, destina # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ComputeBeta::RoutersListRoutePolicies] parsed result object + # @yieldparam result [Google::Apis::ComputeBeta::RoutersListNamedSets] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::ComputeBeta::RoutersListRoutePolicies] + # @return [Google::Apis::ComputeBeta::RoutersListNamedSets] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_router_route_policies(project, region, router, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'projects/{project}/regions/{region}/routers/{router}/listRoutePolicies', options) - command.response_representation = Google::Apis::ComputeBeta::RoutersListRoutePolicies::Representation - command.response_class = Google::Apis::ComputeBeta::RoutersListRoutePolicies + def list_router_named_sets(project, region, router, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/routers/{router}/listNamedSets', options) + command.response_representation = Google::Apis::ComputeBeta::RoutersListNamedSets::Representation + command.response_class = Google::Apis::ComputeBeta::RoutersListNamedSets command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['router'] = router unless router.nil? @@ -53569,29 +53723,91 @@ def list_router_route_policies(project, region, router, filter: nil, max_results execute_or_queue_command(command, &block) end - # Patches the specified Router resource with the data included in the - # request. This method supportsPATCH - # semantics and usesJSON merge - # patch format and processing rules. + # Retrieves a list of router route policy subresources available to the + # specified project. # @param [String] project # Project ID for this request. # @param [String] region # Name of the region for this request. # @param [String] router - # Name of the Router resource to patch. - # @param [Google::Apis::ComputeBeta::Router] router_object - # @param [String] request_id - # An optional request ID to identify requests. Specify a unique request ID so - # that if you must retry your request, the server will know to ignore the - # request if it has already been completed. - # For example, consider a situation where you make an initial request and - # the request times out. If you make the request again with the same - # request ID, the server can check if original operation with the same - # request ID was received, and if so, will ignore the second request. This - # prevents clients from accidentally creating duplicate commitments. - # The request ID must be - # a valid UUID with the exception that zero UUID is not supported - # (00000000-0000-0000-0000-000000000000). + # Name or id of the resource for this request. + # Name should conform to RFC1035. + # @param [String] filter + # A filter expression that filters resources listed in the response. Most + # Compute resources support two types of filter expressions: + # expressions that support regular expressions and expressions that follow + # API improvement proposal AIP-160. + # These two types of filter expressions cannot be mixed in one request. + # If you want to use AIP-160, your expression must specify the field name, an + # operator, and the value that you want to use for filtering. The value + # must be a string, a number, or a boolean. The operator + # must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. + # For example, if you are filtering Compute Engine instances, you can + # exclude instances named `example-instance` by specifying + # `name != example-instance`. + # The `:*` comparison can be used to test whether a key has been defined. + # For example, to find all objects with `owner` label use: + # ``` + # labels.owner:* + # ``` + # You can also filter nested fields. For example, you could specify + # `scheduling.automaticRestart = false` to include instances only + # if they are not scheduled for automatic restarts. You can use filtering + # on nested fields to filter based onresource labels. + # To filter on multiple expressions, provide each separate expression within + # parentheses. For example: + # ``` + # (scheduling.automaticRestart = true) + # (cpuPlatform = "Intel Skylake") + # ``` + # By default, each expression is an `AND` expression. However, you + # can include `AND` and `OR` expressions explicitly. + # For example: + # ``` + # (cpuPlatform = "Intel Skylake") OR + # (cpuPlatform = "Intel Broadwell") AND + # (scheduling.automaticRestart = true) + # ``` + # If you want to use a regular expression, use the `eq` (equal) or `ne` + # (not equal) operator against a single un-parenthesized expression with or + # without quotes or against multiple parenthesized expressions. Examples: + # `fieldname eq unquoted literal` + # `fieldname eq 'single quoted literal'` + # `fieldname eq "double quoted literal"` + # `(fieldname1 eq literal) (fieldname2 ne "literal")` + # The literal value is interpreted as a regular expression using GoogleRE2 + # library syntax. + # The literal value must match the entire field. + # For example, to filter for instances that do not end with name "instance", + # you would use `name ne .*instance`. + # You cannot combine constraints on multiple fields using regular + # expressions. + # @param [Fixnum] max_results + # The maximum number of results per page that should be returned. + # If the number of available results is larger than `maxResults`, + # Compute Engine returns a `nextPageToken` that can be used to get + # the next page of results in subsequent list requests. Acceptable values are + # `0` to `500`, inclusive. (Default: `500`) + # @param [String] order_by + # Sorts list results by a certain order. By default, results + # are returned in alphanumerical order based on the resource name. + # You can also sort results in descending order based on the creation + # timestamp using `orderBy="creationTimestamp desc"`. This sorts + # results based on the `creationTimestamp` field in + # reverse chronological order (newest result first). Use this to sort + # resources like operations so that the newest operation is returned first. + # Currently, only sorting by `name` or + # `creationTimestamp desc` is supported. + # @param [String] page_token + # Specifies a page token to use. Set `pageToken` to the + # `nextPageToken` returned by a previous list request to get + # the next page of results. + # @param [Boolean] return_partial_success + # Opt-in for partial success behavior which provides partial results in case + # of failure. The default value is false. + # For example, when partial success behavior is enabled, aggregatedList for a + # single zone scope either returns all resources in the zone or no resources, + # with an error code. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -53603,38 +53819,153 @@ def list_router_route_policies(project, region, router, filter: nil, max_results # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam result [Google::Apis::ComputeBeta::RoutersListRoutePolicies] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::ComputeBeta::Operation] + # @return [Google::Apis::ComputeBeta::RoutersListRoutePolicies] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def patch_router(project, region, router, router_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, 'projects/{project}/regions/{region}/routers/{router}', options) - command.request_representation = Google::Apis::ComputeBeta::Router::Representation - command.request_object = router_object - command.response_representation = Google::Apis::ComputeBeta::Operation::Representation - command.response_class = Google::Apis::ComputeBeta::Operation + def list_router_route_policies(project, region, router, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/routers/{router}/listRoutePolicies', options) + command.response_representation = Google::Apis::ComputeBeta::RoutersListRoutePolicies::Representation + command.response_class = Google::Apis::ComputeBeta::RoutersListRoutePolicies command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['router'] = router unless router.nil? - command.query['requestId'] = request_id unless request_id.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end - # Patches Route Policy + # Patches the specified Router resource with the data included in the + # request. This method supportsPATCH + # semantics and usesJSON merge + # patch format and processing rules. # @param [String] project # Project ID for this request. # @param [String] region # Name of the region for this request. # @param [String] router - # Name of the Router resource where Route Policy is defined. - # @param [Google::Apis::ComputeBeta::RoutePolicy] route_policy_object + # Name of the Router resource to patch. + # @param [Google::Apis::ComputeBeta::Router] router_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and + # the request times out. If you make the request again with the same + # request ID, the server can check if original operation with the same + # request ID was received, and if so, will ignore the second request. This + # prevents clients from accidentally creating duplicate commitments. + # The request ID must be + # a valid UUID with the exception that zero UUID is not supported + # (00000000-0000-0000-0000-000000000000). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] user_ip + # Legacy name for parameter that has been superseded by `quotaUser`. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_router(project, region, router, router_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, 'projects/{project}/regions/{region}/routers/{router}', options) + command.request_representation = Google::Apis::ComputeBeta::Router::Representation + command.request_object = router_object + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['router'] = router unless router.nil? + command.query['requestId'] = request_id unless request_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Patches Named Set + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region for this request. + # @param [String] router + # Name of the Router resource where Named Set is defined. + # @param [Google::Apis::ComputeBeta::NamedSet] named_set_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and + # the request times out. If you make the request again with the same + # request ID, the server can check if original operation with the same + # request ID was received, and if so, will ignore the second request. This + # prevents clients from accidentally creating duplicate commitments. + # The request ID must be + # a valid UUID with the exception that zero UUID is not supported + # (00000000-0000-0000-0000-000000000000). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] user_ip + # Legacy name for parameter that has been superseded by `quotaUser`. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_router_named_set(project, region, router, named_set_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/routers/{router}/patchNamedSet', options) + command.request_representation = Google::Apis::ComputeBeta::NamedSet::Representation + command.request_object = named_set_object + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['router'] = router unless router.nil? + command.query['requestId'] = request_id unless request_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Patches Route Policy + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region for this request. + # @param [String] router + # Name of the Router resource where Route Policy is defined. + # @param [Google::Apis::ComputeBeta::RoutePolicy] route_policy_object # @param [String] request_id # An optional request ID to identify requests. Specify a unique request ID so # that if you must retry your request, the server will know to ignore the @@ -53826,6 +54157,61 @@ def update_router(project, region, router, router_object = nil, request_id: nil, execute_or_queue_command(command, &block) end + # Updates or creates new Named Set + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region for this request. + # @param [String] router + # Name of the Router resource where Named Set is defined. + # @param [Google::Apis::ComputeBeta::NamedSet] named_set_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and + # the request times out. If you make the request again with the same + # request ID, the server can check if original operation with the same + # request ID was received, and if so, will ignore the second request. This + # prevents clients from accidentally creating duplicate commitments. + # The request ID must be + # a valid UUID with the exception that zero UUID is not supported + # (00000000-0000-0000-0000-000000000000). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] user_ip + # Legacy name for parameter that has been superseded by `quotaUser`. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_router_named_set(project, region, router, named_set_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/routers/{router}/updateNamedSet', options) + command.request_representation = Google::Apis::ComputeBeta::NamedSet::Representation + command.request_object = named_set_object + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['router'] = router unless router.nil? + command.query['requestId'] = request_id unless request_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Updates or creates new Route Policy # @param [String] project # Project ID for this request. @@ -55555,6 +55941,375 @@ def test_service_attachment_iam_permissions(project, region, resource, test_perm execute_or_queue_command(command, &block) end + # Deletes the specified SnapshotGroup resource + # @param [String] project + # Project ID for this request. + # @param [String] snapshot_group + # Name of the SnapshotGroup resource to delete. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and + # the request times out. If you make the request again with the same + # request ID, the server can check if original operation with the same + # request ID was received, and if so, will ignore the second request. This + # prevents clients from accidentally creating duplicate commitments. + # The request ID must be + # a valid UUID with the exception that zero UUID is not supported + # (00000000-0000-0000-0000-000000000000). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] user_ip + # Legacy name for parameter that has been superseded by `quotaUser`. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_snapshot_group(project, snapshot_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, 'projects/{project}/global/snapshotGroups/{snapshotGroup}', options) + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['snapshotGroup'] = snapshot_group unless snapshot_group.nil? + command.query['requestId'] = request_id unless request_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # returns the specified SnapshotGroup resource. + # @param [String] project + # Project ID for this request. + # @param [String] snapshot_group + # Name of the SnapshotGroup resource to return. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] user_ip + # Legacy name for parameter that has been superseded by `quotaUser`. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::SnapshotGroup] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::SnapshotGroup] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_snapshot_group(project, snapshot_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'projects/{project}/global/snapshotGroups/{snapshotGroup}', options) + command.response_representation = Google::Apis::ComputeBeta::SnapshotGroup::Representation + command.response_class = Google::Apis::ComputeBeta::SnapshotGroup + command.params['project'] = project unless project.nil? + command.params['snapshotGroup'] = snapshot_group unless snapshot_group.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets the access control policy for a resource. May be empty if no such + # policy or resource exists. + # @param [String] project + # Project ID for this request. + # @param [String] resource + # Name or id of the resource for this request. + # @param [Fixnum] options_requested_policy_version + # Requested IAM Policy version. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] user_ip + # Legacy name for parameter that has been superseded by `quotaUser`. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Policy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_snapshot_group_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'projects/{project}/global/snapshotGroups/{resource}/getIamPolicy', options) + command.response_representation = Google::Apis::ComputeBeta::Policy::Representation + command.response_class = Google::Apis::ComputeBeta::Policy + command.params['project'] = project unless project.nil? + command.params['resource'] = resource unless resource.nil? + command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Creates a snapshot group in the specified project using the data included + # in the request. + # @param [String] project + # Project ID for this request. + # @param [Google::Apis::ComputeBeta::SnapshotGroup] snapshot_group_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and + # the request times out. If you make the request again with the same + # request ID, the server can check if original operation with the same + # request ID was received, and if so, will ignore the second request. This + # prevents clients from accidentally creating duplicate commitments. + # The request ID must be + # a valid UUID with the exception that zero UUID is not supported + # (00000000-0000-0000-0000-000000000000). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] user_ip + # Legacy name for parameter that has been superseded by `quotaUser`. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_snapshot_group(project, snapshot_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'projects/{project}/global/snapshotGroups', options) + command.request_representation = Google::Apis::ComputeBeta::SnapshotGroup::Representation + command.request_object = snapshot_group_object + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.query['requestId'] = request_id unless request_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # retrieves the list of SnapshotGroup resources contained within + # the specified project. + # @param [String] project + # Project ID for this request. + # @param [String] filter + # A filter expression that filters resources listed in the response. Most + # Compute resources support two types of filter expressions: + # expressions that support regular expressions and expressions that follow + # API improvement proposal AIP-160. + # These two types of filter expressions cannot be mixed in one request. + # If you want to use AIP-160, your expression must specify the field name, an + # operator, and the value that you want to use for filtering. The value + # must be a string, a number, or a boolean. The operator + # must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. + # For example, if you are filtering Compute Engine instances, you can + # exclude instances named `example-instance` by specifying + # `name != example-instance`. + # The `:*` comparison can be used to test whether a key has been defined. + # For example, to find all objects with `owner` label use: + # ``` + # labels.owner:* + # ``` + # You can also filter nested fields. For example, you could specify + # `scheduling.automaticRestart = false` to include instances only + # if they are not scheduled for automatic restarts. You can use filtering + # on nested fields to filter based onresource labels. + # To filter on multiple expressions, provide each separate expression within + # parentheses. For example: + # ``` + # (scheduling.automaticRestart = true) + # (cpuPlatform = "Intel Skylake") + # ``` + # By default, each expression is an `AND` expression. However, you + # can include `AND` and `OR` expressions explicitly. + # For example: + # ``` + # (cpuPlatform = "Intel Skylake") OR + # (cpuPlatform = "Intel Broadwell") AND + # (scheduling.automaticRestart = true) + # ``` + # If you want to use a regular expression, use the `eq` (equal) or `ne` + # (not equal) operator against a single un-parenthesized expression with or + # without quotes or against multiple parenthesized expressions. Examples: + # `fieldname eq unquoted literal` + # `fieldname eq 'single quoted literal'` + # `fieldname eq "double quoted literal"` + # `(fieldname1 eq literal) (fieldname2 ne "literal")` + # The literal value is interpreted as a regular expression using GoogleRE2 + # library syntax. + # The literal value must match the entire field. + # For example, to filter for instances that do not end with name "instance", + # you would use `name ne .*instance`. + # You cannot combine constraints on multiple fields using regular + # expressions. + # @param [Fixnum] max_results + # The maximum number of results per page that should be returned. + # If the number of available results is larger than `maxResults`, + # Compute Engine returns a `nextPageToken` that can be used to get + # the next page of results in subsequent list requests. Acceptable values are + # `0` to `500`, inclusive. (Default: `500`) + # @param [String] order_by + # Sorts list results by a certain order. By default, results + # are returned in alphanumerical order based on the resource name. + # You can also sort results in descending order based on the creation + # timestamp using `orderBy="creationTimestamp desc"`. This sorts + # results based on the `creationTimestamp` field in + # reverse chronological order (newest result first). Use this to sort + # resources like operations so that the newest operation is returned first. + # Currently, only sorting by `name` or + # `creationTimestamp desc` is supported. + # @param [String] page_token + # Specifies a page token to use. Set `pageToken` to the + # `nextPageToken` returned by a previous list request to get + # the next page of results. + # @param [Boolean] return_partial_success + # Opt-in for partial success behavior which provides partial results in case + # of failure. The default value is false. + # For example, when partial success behavior is enabled, aggregatedList for a + # single zone scope either returns all resources in the zone or no resources, + # with an error code. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] user_ip + # Legacy name for parameter that has been superseded by `quotaUser`. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::ListSnapshotGroups] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::ListSnapshotGroups] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_snapshot_groups(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'projects/{project}/global/snapshotGroups', options) + command.response_representation = Google::Apis::ComputeBeta::ListSnapshotGroups::Representation + command.response_class = Google::Apis::ComputeBeta::ListSnapshotGroups + command.params['project'] = project unless project.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Sets the access control policy on the specified resource. + # Replaces any existing policy. + # @param [String] project + # Project ID for this request. + # @param [String] resource + # Name or id of the resource for this request. + # @param [Google::Apis::ComputeBeta::GlobalSetPolicyRequest] global_set_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] user_ip + # Legacy name for parameter that has been superseded by `quotaUser`. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Policy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_snapshot_group_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'projects/{project}/global/snapshotGroups/{resource}/setIamPolicy', options) + command.request_representation = Google::Apis::ComputeBeta::GlobalSetPolicyRequest::Representation + command.request_object = global_set_policy_request_object + command.response_representation = Google::Apis::ComputeBeta::Policy::Representation + command.response_class = Google::Apis::ComputeBeta::Policy + command.params['project'] = project unless project.nil? + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Returns permissions that a caller has on the specified resource. + # @param [String] project + # Project ID for this request. + # @param [String] resource + # Name or id of the resource for this request. + # @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] user_ip + # Legacy name for parameter that has been superseded by `quotaUser`. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::TestPermissionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::TestPermissionsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def test_snapshot_group_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'projects/{project}/global/snapshotGroups/{resource}/testIamPermissions', options) + command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation + command.request_object = test_permissions_request_object + command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation + command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse + command.params['project'] = project unless project.nil? + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Get snapshot settings. # @param [String] project # Project ID for this request.