diff --git a/api_names_out.yaml b/api_names_out.yaml index 892356d7d..ceaf4b21c 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -18194,6 +18194,175 @@ "/compute:alpha/NetworksAddPeeringRequest/peerNetwork": peer_network "/compute:alpha/NetworksRemovePeeringRequest": networks_remove_peering_request "/compute:alpha/NetworksRemovePeeringRequest/name": name +"/compute:alpha/NodeGroup": node_group +"/compute:alpha/NodeGroup/creationTimestamp": creation_timestamp +"/compute:alpha/NodeGroup/description": description +"/compute:alpha/NodeGroup/id": id +"/compute:alpha/NodeGroup/kind": kind +"/compute:alpha/NodeGroup/name": name +"/compute:alpha/NodeGroup/nodeTemplate": node_template +"/compute:alpha/NodeGroup/nodes": nodes +"/compute:alpha/NodeGroup/nodes/node": node +"/compute:alpha/NodeGroup/selfLink": self_link +"/compute:alpha/NodeGroup/status": status +"/compute:alpha/NodeGroup/zone": zone +"/compute:alpha/NodeGroupAggregatedList": node_group_aggregated_list +"/compute:alpha/NodeGroupAggregatedList/id": id +"/compute:alpha/NodeGroupAggregatedList/items": items +"/compute:alpha/NodeGroupAggregatedList/items/item": item +"/compute:alpha/NodeGroupAggregatedList/kind": kind +"/compute:alpha/NodeGroupAggregatedList/nextPageToken": next_page_token +"/compute:alpha/NodeGroupAggregatedList/selfLink": self_link +"/compute:alpha/NodeGroupAggregatedList/warning": warning +"/compute:alpha/NodeGroupAggregatedList/warning/code": code +"/compute:alpha/NodeGroupAggregatedList/warning/data": data +"/compute:alpha/NodeGroupAggregatedList/warning/data/datum": datum +"/compute:alpha/NodeGroupAggregatedList/warning/data/datum/key": key +"/compute:alpha/NodeGroupAggregatedList/warning/data/datum/value": value +"/compute:alpha/NodeGroupAggregatedList/warning/message": message +"/compute:alpha/NodeGroupList": node_group_list +"/compute:alpha/NodeGroupList/id": id +"/compute:alpha/NodeGroupList/items": items +"/compute:alpha/NodeGroupList/items/item": item +"/compute:alpha/NodeGroupList/kind": kind +"/compute:alpha/NodeGroupList/nextPageToken": next_page_token +"/compute:alpha/NodeGroupList/selfLink": self_link +"/compute:alpha/NodeGroupList/warning": warning +"/compute:alpha/NodeGroupList/warning/code": code +"/compute:alpha/NodeGroupList/warning/data": data +"/compute:alpha/NodeGroupList/warning/data/datum": datum +"/compute:alpha/NodeGroupList/warning/data/datum/key": key +"/compute:alpha/NodeGroupList/warning/data/datum/value": value +"/compute:alpha/NodeGroupList/warning/message": message +"/compute:alpha/NodeGroupNode": node_group_node +"/compute:alpha/NodeGroupNode/index": index +"/compute:alpha/NodeGroupNode/instances": instances +"/compute:alpha/NodeGroupNode/instances/instance": instance +"/compute:alpha/NodeGroupNode/nodeType": node_type +"/compute:alpha/NodeGroupsAddNodesRequest": node_groups_add_nodes_request +"/compute:alpha/NodeGroupsAddNodesRequest/additionalNodeCount": additional_node_count +"/compute:alpha/NodeGroupsDeleteNodesRequest": node_groups_delete_nodes_request +"/compute:alpha/NodeGroupsDeleteNodesRequest/nodeIndexes": node_indexes +"/compute:alpha/NodeGroupsDeleteNodesRequest/nodeIndexes/node_index": node_index +"/compute:alpha/NodeGroupsScopedList": node_groups_scoped_list +"/compute:alpha/NodeGroupsScopedList/nodeGroups": node_groups +"/compute:alpha/NodeGroupsScopedList/nodeGroups/node_group": node_group +"/compute:alpha/NodeGroupsScopedList/warning": warning +"/compute:alpha/NodeGroupsScopedList/warning/code": code +"/compute:alpha/NodeGroupsScopedList/warning/data": data +"/compute:alpha/NodeGroupsScopedList/warning/data/datum": datum +"/compute:alpha/NodeGroupsScopedList/warning/data/datum/key": key +"/compute:alpha/NodeGroupsScopedList/warning/data/datum/value": value +"/compute:alpha/NodeGroupsScopedList/warning/message": message +"/compute:alpha/NodeGroupsSetNodeTemplateRequest": node_groups_set_node_template_request +"/compute:alpha/NodeGroupsSetNodeTemplateRequest/nodeTemplate": node_template +"/compute:alpha/NodeTemplate": node_template +"/compute:alpha/NodeTemplate/creationTimestamp": creation_timestamp +"/compute:alpha/NodeTemplate/description": description +"/compute:alpha/NodeTemplate/id": id +"/compute:alpha/NodeTemplate/kind": kind +"/compute:alpha/NodeTemplate/name": name +"/compute:alpha/NodeTemplate/nodeAffinityLabels": node_affinity_labels +"/compute:alpha/NodeTemplate/nodeAffinityLabels/node_affinity_label": node_affinity_label +"/compute:alpha/NodeTemplate/nodeType": node_type +"/compute:alpha/NodeTemplate/nodeTypeFlexibility": node_type_flexibility +"/compute:alpha/NodeTemplate/region": region +"/compute:alpha/NodeTemplate/selfLink": self_link +"/compute:alpha/NodeTemplate/status": status +"/compute:alpha/NodeTemplate/statusMessage": status_message +"/compute:alpha/NodeTemplateAggregatedList": node_template_aggregated_list +"/compute:alpha/NodeTemplateAggregatedList/id": id +"/compute:alpha/NodeTemplateAggregatedList/items": items +"/compute:alpha/NodeTemplateAggregatedList/items/item": item +"/compute:alpha/NodeTemplateAggregatedList/kind": kind +"/compute:alpha/NodeTemplateAggregatedList/nextPageToken": next_page_token +"/compute:alpha/NodeTemplateAggregatedList/selfLink": self_link +"/compute:alpha/NodeTemplateAggregatedList/warning": warning +"/compute:alpha/NodeTemplateAggregatedList/warning/code": code +"/compute:alpha/NodeTemplateAggregatedList/warning/data": data +"/compute:alpha/NodeTemplateAggregatedList/warning/data/datum": datum +"/compute:alpha/NodeTemplateAggregatedList/warning/data/datum/key": key +"/compute:alpha/NodeTemplateAggregatedList/warning/data/datum/value": value +"/compute:alpha/NodeTemplateAggregatedList/warning/message": message +"/compute:alpha/NodeTemplateList": node_template_list +"/compute:alpha/NodeTemplateList/id": id +"/compute:alpha/NodeTemplateList/items": items +"/compute:alpha/NodeTemplateList/items/item": item +"/compute:alpha/NodeTemplateList/kind": kind +"/compute:alpha/NodeTemplateList/nextPageToken": next_page_token +"/compute:alpha/NodeTemplateList/selfLink": self_link +"/compute:alpha/NodeTemplateList/warning": warning +"/compute:alpha/NodeTemplateList/warning/code": code +"/compute:alpha/NodeTemplateList/warning/data": data +"/compute:alpha/NodeTemplateList/warning/data/datum": datum +"/compute:alpha/NodeTemplateList/warning/data/datum/key": key +"/compute:alpha/NodeTemplateList/warning/data/datum/value": value +"/compute:alpha/NodeTemplateList/warning/message": message +"/compute:alpha/NodeTemplateNodeTypeFlexibility": node_template_node_type_flexibility +"/compute:alpha/NodeTemplateNodeTypeFlexibility/cpus": cpus +"/compute:alpha/NodeTemplateNodeTypeFlexibility/localSsd": local_ssd +"/compute:alpha/NodeTemplateNodeTypeFlexibility/memory": memory +"/compute:alpha/NodeTemplatesScopedList": node_templates_scoped_list +"/compute:alpha/NodeTemplatesScopedList/nodeTemplates": node_templates +"/compute:alpha/NodeTemplatesScopedList/nodeTemplates/node_template": node_template +"/compute:alpha/NodeTemplatesScopedList/warning": warning +"/compute:alpha/NodeTemplatesScopedList/warning/code": code +"/compute:alpha/NodeTemplatesScopedList/warning/data": data +"/compute:alpha/NodeTemplatesScopedList/warning/data/datum": datum +"/compute:alpha/NodeTemplatesScopedList/warning/data/datum/key": key +"/compute:alpha/NodeTemplatesScopedList/warning/data/datum/value": value +"/compute:alpha/NodeTemplatesScopedList/warning/message": message +"/compute:alpha/NodeType": node_type +"/compute:alpha/NodeType/cpuPlatform": cpu_platform +"/compute:alpha/NodeType/creationTimestamp": creation_timestamp +"/compute:alpha/NodeType/deprecated": deprecated +"/compute:alpha/NodeType/description": description +"/compute:alpha/NodeType/guestCpus": guest_cpus +"/compute:alpha/NodeType/id": id +"/compute:alpha/NodeType/kind": kind +"/compute:alpha/NodeType/localSsdGb": local_ssd_gb +"/compute:alpha/NodeType/memoryMb": memory_mb +"/compute:alpha/NodeType/name": name +"/compute:alpha/NodeType/selfLink": self_link +"/compute:alpha/NodeType/zone": zone +"/compute:alpha/NodeTypeAggregatedList": node_type_aggregated_list +"/compute:alpha/NodeTypeAggregatedList/id": id +"/compute:alpha/NodeTypeAggregatedList/items": items +"/compute:alpha/NodeTypeAggregatedList/items/item": item +"/compute:alpha/NodeTypeAggregatedList/kind": kind +"/compute:alpha/NodeTypeAggregatedList/nextPageToken": next_page_token +"/compute:alpha/NodeTypeAggregatedList/selfLink": self_link +"/compute:alpha/NodeTypeAggregatedList/warning": warning +"/compute:alpha/NodeTypeAggregatedList/warning/code": code +"/compute:alpha/NodeTypeAggregatedList/warning/data": data +"/compute:alpha/NodeTypeAggregatedList/warning/data/datum": datum +"/compute:alpha/NodeTypeAggregatedList/warning/data/datum/key": key +"/compute:alpha/NodeTypeAggregatedList/warning/data/datum/value": value +"/compute:alpha/NodeTypeAggregatedList/warning/message": message +"/compute:alpha/NodeTypeList": node_type_list +"/compute:alpha/NodeTypeList/id": id +"/compute:alpha/NodeTypeList/items": items +"/compute:alpha/NodeTypeList/items/item": item +"/compute:alpha/NodeTypeList/kind": kind +"/compute:alpha/NodeTypeList/nextPageToken": next_page_token +"/compute:alpha/NodeTypeList/selfLink": self_link +"/compute:alpha/NodeTypeList/warning": warning +"/compute:alpha/NodeTypeList/warning/code": code +"/compute:alpha/NodeTypeList/warning/data": data +"/compute:alpha/NodeTypeList/warning/data/datum": datum +"/compute:alpha/NodeTypeList/warning/data/datum/key": key +"/compute:alpha/NodeTypeList/warning/data/datum/value": value +"/compute:alpha/NodeTypeList/warning/message": message +"/compute:alpha/NodeTypesScopedList": node_types_scoped_list +"/compute:alpha/NodeTypesScopedList/nodeTypes": node_types +"/compute:alpha/NodeTypesScopedList/nodeTypes/node_type": node_type +"/compute:alpha/NodeTypesScopedList/warning": warning +"/compute:alpha/NodeTypesScopedList/warning/code": code +"/compute:alpha/NodeTypesScopedList/warning/data": data +"/compute:alpha/NodeTypesScopedList/warning/data/datum": datum +"/compute:alpha/NodeTypesScopedList/warning/data/datum/key": key +"/compute:alpha/NodeTypesScopedList/warning/data/datum/value": value +"/compute:alpha/NodeTypesScopedList/warning/message": message "/compute:alpha/Operation": operation "/compute:alpha/Operation/clientOperationId": client_operation_id "/compute:alpha/Operation/creationTimestamp": creation_timestamp @@ -20742,22 +20911,90 @@ "/compute:alpha/compute.networks.testIamPermissions": test_network_iam_permissions "/compute:alpha/compute.networks.testIamPermissions/project": project "/compute:alpha/compute.networks.testIamPermissions/resource": resource +"/compute:alpha/compute.nodeGroups.addNodes": add_node_group_nodes +"/compute:alpha/compute.nodeGroups.addNodes/nodeGroup": node_group +"/compute:alpha/compute.nodeGroups.addNodes/project": project +"/compute:alpha/compute.nodeGroups.addNodes/requestId": request_id +"/compute:alpha/compute.nodeGroups.addNodes/zone": zone +"/compute:alpha/compute.nodeGroups.aggregatedList": aggregated_node_group_list +"/compute:alpha/compute.nodeGroups.aggregatedList/filter": filter +"/compute:alpha/compute.nodeGroups.aggregatedList/maxResults": max_results +"/compute:alpha/compute.nodeGroups.aggregatedList/orderBy": order_by +"/compute:alpha/compute.nodeGroups.aggregatedList/pageToken": page_token +"/compute:alpha/compute.nodeGroups.aggregatedList/project": project +"/compute:alpha/compute.nodeGroups.delete": delete_node_group +"/compute:alpha/compute.nodeGroups.delete/nodeGroup": node_group +"/compute:alpha/compute.nodeGroups.delete/project": project +"/compute:alpha/compute.nodeGroups.delete/requestId": request_id +"/compute:alpha/compute.nodeGroups.delete/zone": zone +"/compute:alpha/compute.nodeGroups.deleteNodes": delete_node_group_nodes +"/compute:alpha/compute.nodeGroups.deleteNodes/nodeGroup": node_group +"/compute:alpha/compute.nodeGroups.deleteNodes/project": project +"/compute:alpha/compute.nodeGroups.deleteNodes/requestId": request_id +"/compute:alpha/compute.nodeGroups.deleteNodes/zone": zone +"/compute:alpha/compute.nodeGroups.get": get_node_group +"/compute:alpha/compute.nodeGroups.get/nodeGroup": node_group +"/compute:alpha/compute.nodeGroups.get/project": project +"/compute:alpha/compute.nodeGroups.get/zone": zone "/compute:alpha/compute.nodeGroups.getIamPolicy": get_node_group_iam_policy "/compute:alpha/compute.nodeGroups.getIamPolicy/project": project "/compute:alpha/compute.nodeGroups.getIamPolicy/resource": resource "/compute:alpha/compute.nodeGroups.getIamPolicy/zone": zone +"/compute:alpha/compute.nodeGroups.insert": insert_node_group +"/compute:alpha/compute.nodeGroups.insert/initialNodeCount": initial_node_count +"/compute:alpha/compute.nodeGroups.insert/project": project +"/compute:alpha/compute.nodeGroups.insert/requestId": request_id +"/compute:alpha/compute.nodeGroups.insert/zone": zone +"/compute:alpha/compute.nodeGroups.list": list_node_groups +"/compute:alpha/compute.nodeGroups.list/filter": filter +"/compute:alpha/compute.nodeGroups.list/maxResults": max_results +"/compute:alpha/compute.nodeGroups.list/orderBy": order_by +"/compute:alpha/compute.nodeGroups.list/pageToken": page_token +"/compute:alpha/compute.nodeGroups.list/project": project +"/compute:alpha/compute.nodeGroups.list/zone": zone "/compute:alpha/compute.nodeGroups.setIamPolicy": set_node_group_iam_policy "/compute:alpha/compute.nodeGroups.setIamPolicy/project": project "/compute:alpha/compute.nodeGroups.setIamPolicy/resource": resource "/compute:alpha/compute.nodeGroups.setIamPolicy/zone": zone +"/compute:alpha/compute.nodeGroups.setNodeTemplate": set_node_group_node_template +"/compute:alpha/compute.nodeGroups.setNodeTemplate/nodeGroup": node_group +"/compute:alpha/compute.nodeGroups.setNodeTemplate/project": project +"/compute:alpha/compute.nodeGroups.setNodeTemplate/requestId": request_id +"/compute:alpha/compute.nodeGroups.setNodeTemplate/zone": zone "/compute:alpha/compute.nodeGroups.testIamPermissions": test_node_group_iam_permissions "/compute:alpha/compute.nodeGroups.testIamPermissions/project": project "/compute:alpha/compute.nodeGroups.testIamPermissions/resource": resource "/compute:alpha/compute.nodeGroups.testIamPermissions/zone": zone +"/compute:alpha/compute.nodeTemplates.aggregatedList": aggregated_node_template_list +"/compute:alpha/compute.nodeTemplates.aggregatedList/filter": filter +"/compute:alpha/compute.nodeTemplates.aggregatedList/maxResults": max_results +"/compute:alpha/compute.nodeTemplates.aggregatedList/orderBy": order_by +"/compute:alpha/compute.nodeTemplates.aggregatedList/pageToken": page_token +"/compute:alpha/compute.nodeTemplates.aggregatedList/project": project +"/compute:alpha/compute.nodeTemplates.delete": delete_node_template +"/compute:alpha/compute.nodeTemplates.delete/nodeTemplate": node_template +"/compute:alpha/compute.nodeTemplates.delete/project": project +"/compute:alpha/compute.nodeTemplates.delete/region": region +"/compute:alpha/compute.nodeTemplates.delete/requestId": request_id +"/compute:alpha/compute.nodeTemplates.get": get_node_template +"/compute:alpha/compute.nodeTemplates.get/nodeTemplate": node_template +"/compute:alpha/compute.nodeTemplates.get/project": project +"/compute:alpha/compute.nodeTemplates.get/region": region "/compute:alpha/compute.nodeTemplates.getIamPolicy": get_node_template_iam_policy "/compute:alpha/compute.nodeTemplates.getIamPolicy/project": project "/compute:alpha/compute.nodeTemplates.getIamPolicy/region": region "/compute:alpha/compute.nodeTemplates.getIamPolicy/resource": resource +"/compute:alpha/compute.nodeTemplates.insert": insert_node_template +"/compute:alpha/compute.nodeTemplates.insert/project": project +"/compute:alpha/compute.nodeTemplates.insert/region": region +"/compute:alpha/compute.nodeTemplates.insert/requestId": request_id +"/compute:alpha/compute.nodeTemplates.list": list_node_templates +"/compute:alpha/compute.nodeTemplates.list/filter": filter +"/compute:alpha/compute.nodeTemplates.list/maxResults": max_results +"/compute:alpha/compute.nodeTemplates.list/orderBy": order_by +"/compute:alpha/compute.nodeTemplates.list/pageToken": page_token +"/compute:alpha/compute.nodeTemplates.list/project": project +"/compute:alpha/compute.nodeTemplates.list/region": region "/compute:alpha/compute.nodeTemplates.setIamPolicy": set_node_template_iam_policy "/compute:alpha/compute.nodeTemplates.setIamPolicy/project": project "/compute:alpha/compute.nodeTemplates.setIamPolicy/region": region @@ -20766,6 +21003,23 @@ "/compute:alpha/compute.nodeTemplates.testIamPermissions/project": project "/compute:alpha/compute.nodeTemplates.testIamPermissions/region": region "/compute:alpha/compute.nodeTemplates.testIamPermissions/resource": resource +"/compute:alpha/compute.nodeTypes.aggregatedList": aggregated_node_type_list +"/compute:alpha/compute.nodeTypes.aggregatedList/filter": filter +"/compute:alpha/compute.nodeTypes.aggregatedList/maxResults": max_results +"/compute:alpha/compute.nodeTypes.aggregatedList/orderBy": order_by +"/compute:alpha/compute.nodeTypes.aggregatedList/pageToken": page_token +"/compute:alpha/compute.nodeTypes.aggregatedList/project": project +"/compute:alpha/compute.nodeTypes.get": get_node_type +"/compute:alpha/compute.nodeTypes.get/nodeType": node_type +"/compute:alpha/compute.nodeTypes.get/project": project +"/compute:alpha/compute.nodeTypes.get/zone": zone +"/compute:alpha/compute.nodeTypes.list": list_node_types +"/compute:alpha/compute.nodeTypes.list/filter": filter +"/compute:alpha/compute.nodeTypes.list/maxResults": max_results +"/compute:alpha/compute.nodeTypes.list/orderBy": order_by +"/compute:alpha/compute.nodeTypes.list/pageToken": page_token +"/compute:alpha/compute.nodeTypes.list/project": project +"/compute:alpha/compute.nodeTypes.list/zone": zone "/compute:alpha/compute.projects.disableXpnHost": disable_project_xpn_host "/compute:alpha/compute.projects.disableXpnHost/project": project "/compute:alpha/compute.projects.disableXpnHost/requestId": request_id @@ -22226,6 +22480,7 @@ "/compute:beta/ConnectionDraining": connection_draining "/compute:beta/ConnectionDraining/drainingTimeoutSec": draining_timeout_sec "/compute:beta/CustomerEncryptionKey": customer_encryption_key +"/compute:beta/CustomerEncryptionKey/kmsKeyName": kms_key_name "/compute:beta/CustomerEncryptionKey/rawKey": raw_key "/compute:beta/CustomerEncryptionKey/rsaEncryptedKey": rsa_encrypted_key "/compute:beta/CustomerEncryptionKey/sha256": sha256 @@ -30711,6 +30966,7 @@ "/container:v1/StartIPRotationRequest/clusterId": cluster_id "/container:v1/StartIPRotationRequest/name": name "/container:v1/StartIPRotationRequest/projectId": project_id +"/container:v1/StartIPRotationRequest/rotateCredentials": rotate_credentials "/container:v1/StartIPRotationRequest/zone": zone "/container:v1/UpdateClusterRequest": update_cluster_request "/container:v1/UpdateClusterRequest/clusterId": cluster_id @@ -31006,6 +31262,7 @@ "/container:v1beta1/Cluster/monitoringService": monitoring_service "/container:v1beta1/Cluster/name": name "/container:v1beta1/Cluster/network": network +"/container:v1beta1/Cluster/networkConfig": network_config "/container:v1beta1/Cluster/networkPolicy": network_policy "/container:v1beta1/Cluster/nodeConfig": node_config "/container:v1beta1/Cluster/nodeIpv4CidrSize": node_ipv4_cidr_size @@ -31087,6 +31344,10 @@ "/container:v1beta1/ListOperationsResponse/missingZones/missing_zone": missing_zone "/container:v1beta1/ListOperationsResponse/operations": operations "/container:v1beta1/ListOperationsResponse/operations/operation": operation +"/container:v1beta1/ListUsableSubnetworksResponse": list_usable_subnetworks_response +"/container:v1beta1/ListUsableSubnetworksResponse/nextPageToken": next_page_token +"/container:v1beta1/ListUsableSubnetworksResponse/subnetworks": subnetworks +"/container:v1beta1/ListUsableSubnetworksResponse/subnetworks/subnetwork": subnetwork "/container:v1beta1/MaintenancePolicy": maintenance_policy "/container:v1beta1/MaintenancePolicy/window": window "/container:v1beta1/MaintenanceWindow": maintenance_window @@ -31102,6 +31363,9 @@ "/container:v1beta1/MasterAuthorizedNetworksConfig/cidrBlocks": cidr_blocks "/container:v1beta1/MasterAuthorizedNetworksConfig/cidrBlocks/cidr_block": cidr_block "/container:v1beta1/MasterAuthorizedNetworksConfig/enabled": enabled +"/container:v1beta1/NetworkConfig": network_config +"/container:v1beta1/NetworkConfig/network": network +"/container:v1beta1/NetworkConfig/subnetwork": subnetwork "/container:v1beta1/NetworkPolicy": network_policy "/container:v1beta1/NetworkPolicy/enabled": enabled "/container:v1beta1/NetworkPolicy/provider": provider @@ -31264,6 +31528,7 @@ "/container:v1beta1/StartIPRotationRequest/clusterId": cluster_id "/container:v1beta1/StartIPRotationRequest/name": name "/container:v1beta1/StartIPRotationRequest/projectId": project_id +"/container:v1beta1/StartIPRotationRequest/rotateCredentials": rotate_credentials "/container:v1beta1/StartIPRotationRequest/zone": zone "/container:v1beta1/UpdateClusterRequest": update_cluster_request "/container:v1beta1/UpdateClusterRequest/clusterId": cluster_id @@ -31285,8 +31550,17 @@ "/container:v1beta1/UpdateNodePoolRequest/nodeVersion": node_version "/container:v1beta1/UpdateNodePoolRequest/projectId": project_id "/container:v1beta1/UpdateNodePoolRequest/zone": zone +"/container:v1beta1/UsableSubnetwork": usable_subnetwork +"/container:v1beta1/UsableSubnetwork/ipCidrRange": ip_cidr_range +"/container:v1beta1/UsableSubnetwork/network": network +"/container:v1beta1/UsableSubnetwork/subnetwork": subnetwork "/container:v1beta1/WorkloadMetadataConfig": workload_metadata_config "/container:v1beta1/WorkloadMetadataConfig/nodeMetadata": node_metadata +"/container:v1beta1/container.projects.aggregated.usableSubnetworks.list": list_project_aggregated_usable_subnetworks +"/container:v1beta1/container.projects.aggregated.usableSubnetworks.list/filter": filter +"/container:v1beta1/container.projects.aggregated.usableSubnetworks.list/pageSize": page_size +"/container:v1beta1/container.projects.aggregated.usableSubnetworks.list/pageToken": page_token +"/container:v1beta1/container.projects.aggregated.usableSubnetworks.list/parent": parent "/container:v1beta1/container.projects.clusters.list": list_clusters "/container:v1beta1/container.projects.locations.clusters.completeIpRotation": complete_project_location_cluster_ip_rotation "/container:v1beta1/container.projects.locations.clusters.completeIpRotation/name": name diff --git a/generated/google/apis/compute_alpha.rb b/generated/google/apis/compute_alpha.rb index 14dcedc0d..a6f051d8b 100644 --- a/generated/google/apis/compute_alpha.rb +++ b/generated/google/apis/compute_alpha.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/compute/docs/reference/latest/ module ComputeAlpha VERSION = 'Alpha' - REVISION = '20180323' + REVISION = '20180329' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/compute_alpha/classes.rb b/generated/google/apis/compute_alpha/classes.rb index 88393c32e..b27afdf7a 100644 --- a/generated/google/apis/compute_alpha/classes.rb +++ b/generated/google/apis/compute_alpha/classes.rb @@ -362,7 +362,7 @@ module Google class AcceleratorTypesScopedList include Google::Apis::Core::Hashable - # [Output Only] List of accelerator types contained in this scope. + # [Output Only] A list of accelerator types contained in this scope. # Corresponds to the JSON property `acceleratorTypes` # @return [Array] attr_accessor :accelerator_types @@ -932,7 +932,7 @@ module Google class AddressesScopedList include Google::Apis::Core::Hashable - # [Output Only] List of addresses contained in this scope. + # [Output Only] A list of addresses contained in this scope. # Corresponds to the JSON property `addresses` # @return [Array] attr_accessor :addresses @@ -1749,7 +1749,7 @@ module Google class AutoscalersScopedList include Google::Apis::Core::Hashable - # [Output Only] List of autoscalers contained in this scope. + # [Output Only] A list of autoscalers contained in this scope. # Corresponds to the JSON property `autoscalers` # @return [Array] attr_accessor :autoscalers @@ -3143,7 +3143,7 @@ module Google class BackendServicesScopedList include Google::Apis::Core::Hashable - # List of BackendServices contained in this scope. + # A list of BackendServices contained in this scope. # Corresponds to the JSON property `backendServices` # @return [Array] attr_accessor :backend_services @@ -3421,8 +3421,8 @@ module Google # @return [String] attr_accessor :region - # List of commitment amounts for particular resources. Note that VCPU and MEMORY - # resource commitments must occur together. + # A list of commitment amounts for particular resources. Note that VCPU and + # MEMORY resource commitments must occur together. # Corresponds to the JSON property `resources` # @return [Array] attr_accessor :resources @@ -3720,7 +3720,7 @@ module Google class CommitmentsScopedList include Google::Apis::Core::Hashable - # [Output Only] List of commitments contained in this scope. + # [Output Only] A list of commitments contained in this scope. # Corresponds to the JSON property `commitments` # @return [Array] attr_accessor :commitments @@ -3898,7 +3898,7 @@ module Google # Compute Engine: # - The key is wrapped using a RSA public key certificate provided by Google. # - After being wrapped, the key must be encoded in RFC 4648 base64 encoding. - # Get the RSA public key certificate provided by Google at: + # Gets the RSA public key certificate provided by Google at: # https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem # Corresponds to the JSON property `rsaEncryptedKey` # @return [String] @@ -3949,39 +3949,6 @@ module Google end end - # Time window specified for daily maintenance operations. - class DailyMaintenanceWindow - include Google::Apis::Core::Hashable - - # Allows to define schedule that runs every nth day of the month. - # Corresponds to the JSON property `daysInCycle` - # @return [Fixnum] - attr_accessor :days_in_cycle - - # [Output only] Duration of the time window, automatically chosen to be smallest - # possible in the given scenario. - # Corresponds to the JSON property `duration` - # @return [String] - attr_accessor :duration - - # Time within the maintenance window to start the maintenance operations. It - # must be in format "HH:MM?, where HH : [00-23] and MM : [00-59] GMT. - # Corresponds to the JSON property `startTime` - # @return [String] - attr_accessor :start_time - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @days_in_cycle = args[:days_in_cycle] if args.key?(:days_in_cycle) - @duration = args[:duration] if args.key?(:duration) - @start_time = args[:start_time] if args.key?(:start_time) - end - end - # Deprecation status for a public resource. class DeprecationStatus include Google::Apis::Core::Hashable @@ -4928,7 +4895,7 @@ module Google class DiskTypesScopedList include Google::Apis::Core::Hashable - # [Output Only] List of disk types contained in this scope. + # [Output Only] A list of disk types contained in this scope. # Corresponds to the JSON property `diskTypes` # @return [Array] attr_accessor :disk_types @@ -5038,7 +5005,7 @@ module Google class DisksScopedList include Google::Apis::Core::Hashable - # [Output Only] List of disks contained in this scope. + # [Output Only] A list of disks contained in this scope. # Corresponds to the JSON property `disks` # @return [Array] attr_accessor :disks @@ -6137,7 +6104,7 @@ module Google class ForwardingRulesScopedList include Google::Apis::Core::Hashable - # List of forwarding rules contained in this scope. + # A list of forwarding rules contained in this scope. # Corresponds to the JSON property `forwardingRules` # @return [Array] attr_accessor :forwarding_rules @@ -6948,7 +6915,7 @@ module Google class HealthChecksScopedList include Google::Apis::Core::Hashable - # List of HealthChecks contained in this scope. + # A list of HealthChecks contained in this scope. # Corresponds to the JSON property `healthChecks` # @return [Array] attr_accessor :health_checks @@ -7827,7 +7794,7 @@ module Google class HostTypesScopedList include Google::Apis::Core::Hashable - # [Output Only] List of host types contained in this scope. + # [Output Only] A list of host types contained in this scope. # Corresponds to the JSON property `hostTypes` # @return [Array] attr_accessor :host_types @@ -7918,7 +7885,7 @@ module Google class HostsScopedList include Google::Apis::Core::Hashable - # [Output Only] List of hosts contained in this scope. + # [Output Only] A list of hosts contained in this scope. # Corresponds to the JSON property `hosts` # @return [Array] attr_accessor :hosts @@ -8005,39 +7972,6 @@ module Google end end - # Time window specified for hourly maintenance operations. - class HourlyMaintenanceWindow - include Google::Apis::Core::Hashable - - # [Output only] Duration of the time window, automatically chosen to be smallest - # possible in the given scenario. - # Corresponds to the JSON property `duration` - # @return [String] - attr_accessor :duration - - # Allows to define schedule that runs every nth hour. - # Corresponds to the JSON property `hoursInCycle` - # @return [Fixnum] - attr_accessor :hours_in_cycle - - # Time within the maintenance window to start the maintenance operations. It - # must be in format "HH:MM?, where HH : [00-23] and MM : [00-59] GMT. - # Corresponds to the JSON property `startTime` - # @return [String] - attr_accessor :start_time - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @duration = args[:duration] if args.key?(:duration) - @hours_in_cycle = args[:hours_in_cycle] if args.key?(:hours_in_cycle) - @start_time = args[:start_time] if args.key?(:start_time) - end - end - # An HttpHealthCheck resource. This resource defines a template for how # individual instances should be checked for health, via HTTP. class HttpHealthCheck @@ -8903,7 +8837,7 @@ module Google # @return [Array] attr_accessor :disks - # List of the type and count of accelerator cards attached to the instance. + # A list of the type and count of accelerator cards attached to the instance. # Corresponds to the JSON property `guestAccelerators` # @return [Array] attr_accessor :guest_accelerators @@ -8968,11 +8902,6 @@ module Google # @return [String] attr_accessor :machine_type - # Maintenance policies applied to this instance. - # Corresponds to the JSON property `maintenancePolicies` - # @return [Array] - attr_accessor :maintenance_policies - # A metadata key/value entry. # Corresponds to the JSON property `metadata` # @return [Google::Apis::ComputeAlpha::Metadata] @@ -9088,7 +9017,6 @@ module Google @label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint) @labels = args[:labels] if args.key?(:labels) @machine_type = args[:machine_type] if args.key?(:machine_type) - @maintenance_policies = args[:maintenance_policies] if args.key?(:maintenance_policies) @metadata = args[:metadata] if args.key?(:metadata) @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform) @name = args[:name] if args.key?(:name) @@ -9283,8 +9211,8 @@ module Google # @return [String] attr_accessor :network - # The URL of the region where the instance group is located (for regional - # resources). + # [Output Only] The URL of the region where the instance group is located (for + # regional resources). # Corresponds to the JSON property `region` # @return [String] attr_accessor :region @@ -9299,7 +9227,8 @@ module Google # @return [Fixnum] attr_accessor :size - # The URL of the subnetwork to which all instances in the instance group belong. + # [Output Only] The URL of the subnetwork to which all instances in the instance + # group belong. # Corresponds to the JSON property `subnetwork` # @return [String] attr_accessor :subnetwork @@ -11715,44 +11644,6 @@ module Google end end - # - class InstancesAddMaintenancePoliciesRequest - include Google::Apis::Core::Hashable - - # Maintenance policies to be added to this instance. - # Corresponds to the JSON property `maintenancePolicies` - # @return [Array] - attr_accessor :maintenance_policies - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @maintenance_policies = args[:maintenance_policies] if args.key?(:maintenance_policies) - end - end - - # - class InstancesRemoveMaintenancePoliciesRequest - include Google::Apis::Core::Hashable - - # Maintenance policies to be removed from this instance. - # Corresponds to the JSON property `maintenancePolicies` - # @return [Array] - attr_accessor :maintenance_policies - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @maintenance_policies = args[:maintenance_policies] if args.key?(:maintenance_policies) - end - end - # class InstancesResumeRequest include Google::Apis::Core::Hashable @@ -11787,7 +11678,7 @@ module Google class InstancesScopedList include Google::Apis::Core::Hashable - # [Output Only] List of instances contained in this scope. + # [Output Only] A list of instances contained in this scope. # Corresponds to the JSON property `instances` # @return [Array] attr_accessor :instances @@ -11906,7 +11797,7 @@ module Google class InstancesSetMachineResourcesRequest include Google::Apis::Core::Hashable - # List of the type and count of accelerator cards attached to the instance. + # A list of the type and count of accelerator cards attached to the instance. # Corresponds to the JSON property `guestAccelerators` # @return [Array] attr_accessor :guest_accelerators @@ -12032,7 +11923,7 @@ module Google attr_accessor :admin_enabled alias_method :admin_enabled?, :admin_enabled - # [Output Only] List of CircuitInfo objects, that describe the individual + # [Output Only] A list of CircuitInfo objects, that describe the individual # circuits in this LAG. # Corresponds to the JSON property `circuitInfos` # @return [Array] @@ -12055,7 +11946,7 @@ module Google # @return [String] attr_accessor :description - # [Output Only] List of outages expected for this Interconnect. + # [Output Only] A list of outages expected for this Interconnect. # Corresponds to the JSON property `expectedOutages` # @return [Array] attr_accessor :expected_outages @@ -12742,7 +12633,7 @@ module Google class InterconnectAttachmentsScopedList include Google::Apis::Core::Hashable - # List of interconnect attachments contained in this scope. + # A list of interconnect attachments contained in this scope. # Corresponds to the JSON property `interconnectAttachments` # @return [Array] attr_accessor :interconnect_attachments @@ -14239,7 +14130,7 @@ module Google class MachineTypesScopedList include Google::Apis::Core::Hashable - # [Output Only] List of machine types contained in this scope. + # [Output Only] A list of machine types contained in this scope. # Corresponds to the JSON property `machineTypes` # @return [Array] attr_accessor :machine_types @@ -14326,430 +14217,6 @@ module Google end end - # - class MaintenancePoliciesList - include Google::Apis::Core::Hashable - - # [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] A list of MaintenancePolicy resources. - # Corresponds to the JSON property `items` - # @return [Array] - attr_accessor :items - - # [Output Only] Type of resource.Always compute#maintenancePoliciesList for - # listsof maintenancePolicies - # 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 than maxResults, 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] Server-defined URL for this resource. - # Corresponds to the JSON property `selfLink` - # @return [String] - attr_accessor :self_link - - # [Output Only] Informational warning message. - # Corresponds to the JSON property `warning` - # @return [Google::Apis::ComputeAlpha::MaintenancePoliciesList::Warning] - attr_accessor :warning - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @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) - @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 MaintenancePoliciesScopedList - include Google::Apis::Core::Hashable - - # List of maintenancePolicies contained in this scope. - # Corresponds to the JSON property `maintenancePolicies` - # @return [Array] - attr_accessor :maintenance_policies - - # Informational warning which replaces the list of maintenancePolicies when the - # list is empty. - # Corresponds to the JSON property `warning` - # @return [Google::Apis::ComputeAlpha::MaintenancePoliciesScopedList::Warning] - attr_accessor :warning - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @maintenance_policies = args[:maintenance_policies] if args.key?(:maintenance_policies) - @warning = args[:warning] if args.key?(:warning) - end - - # Informational warning which replaces the list of maintenancePolicies when the - # list is empty. - 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 - - # A maintenance policy for an instance. This specifies what kind of maintenance - # operations our infrastructure may perform on this instance and when. - class MaintenancePolicy - include Google::Apis::Core::Hashable - - # [Output Only] Creation timestamp in RFC3339 text format. - # Corresponds to the JSON property `creationTimestamp` - # @return [String] - attr_accessor :creation_timestamp - - # - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # [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] Type of the resource. Always compute#maintenance_policies for - # maintenance policies. - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # The name of the resource, provided by the client when initially creating the - # resource. The resource name must be 1-63 characters long, and comply with - # RFC1035. 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 - - # - # Corresponds to the JSON property `region` - # @return [String] - attr_accessor :region - - # [Output Only] Server-defined fully-qualified URL for this resource. - # Corresponds to the JSON property `selfLink` - # @return [String] - attr_accessor :self_link - - # A Vm Maintenance Policy specifies what kind of infrastructure maintenance we - # are allowed to perform on this VM and when. - # Corresponds to the JSON property `vmMaintenancePolicy` - # @return [Google::Apis::ComputeAlpha::VmMaintenancePolicy] - attr_accessor :vm_maintenance_policy - - 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) - @region = args[:region] if args.key?(:region) - @self_link = args[:self_link] if args.key?(:self_link) - @vm_maintenance_policy = args[:vm_maintenance_policy] if args.key?(:vm_maintenance_policy) - end - end - - # Contains a list of maintenancePolicies. - class MaintenancePolicyAggregatedList - include Google::Apis::Core::Hashable - - # [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 MaintenancePolicy resources. - # Corresponds to the JSON property `items` - # @return [Hash] - attr_accessor :items - - # 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 than maxResults, 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] Server-defined URL for this resource. - # Corresponds to the JSON property `selfLink` - # @return [String] - attr_accessor :self_link - - # [Output Only] Informational warning message. - # Corresponds to the JSON property `warning` - # @return [Google::Apis::ComputeAlpha::MaintenancePolicyAggregatedList::Warning] - attr_accessor :warning - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @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) - @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 - - # A maintenance window for VMs and disks. When set, we restrict our maintenance - # operations to this window. - class MaintenanceWindow - include Google::Apis::Core::Hashable - - # Time window specified for daily maintenance operations. - # Corresponds to the JSON property `dailyMaintenanceWindow` - # @return [Google::Apis::ComputeAlpha::DailyMaintenanceWindow] - attr_accessor :daily_maintenance_window - - # Time window specified for hourly maintenance operations. - # Corresponds to the JSON property `hourlyMaintenanceWindow` - # @return [Google::Apis::ComputeAlpha::HourlyMaintenanceWindow] - attr_accessor :hourly_maintenance_window - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @daily_maintenance_window = args[:daily_maintenance_window] if args.key?(:daily_maintenance_window) - @hourly_maintenance_window = args[:hourly_maintenance_window] if args.key?(:hourly_maintenance_window) - end - end - # Next available tag: 12 class ManagedInstance include Google::Apis::Core::Hashable @@ -15202,7 +14669,7 @@ module Google # @return [String] attr_accessor :name - # [Output Only] List of network peerings for the resource. + # [Output Only] A list of network peerings for the resource. # Corresponds to the JSON property `peerings` # @return [Array] attr_accessor :peerings @@ -16282,6 +15749,1376 @@ module Google end end + # A NodeGroup resource. + class NodeGroup + include Google::Apis::Core::Hashable + + # [Output Only] Creation timestamp in RFC3339 text format. + # Corresponds to the JSON property `creationTimestamp` + # @return [String] + attr_accessor :creation_timestamp + + # [Output Only] An optional textual description of the resource. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # [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] The type of the resource. Always compute#nodeGroup for node + # group. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The name of the resource, provided by the client when initially creating the + # resource. The resource name must be 1-63 characters long, and comply with + # RFC1035. 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 + + # The URL of the node template to which this node group belongs. + # Corresponds to the JSON property `nodeTemplate` + # @return [String] + attr_accessor :node_template + + # [Output Only] A list of nodes in this node group. + # Corresponds to the JSON property `nodes` + # @return [Array] + attr_accessor :nodes + + # [Output Only] Server-defined URL for the resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + # + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + # [Output Only] The name of the zone where the node group resides, such as 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) + @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) + @node_template = args[:node_template] if args.key?(:node_template) + @nodes = args[:nodes] if args.key?(:nodes) + @self_link = args[:self_link] if args.key?(:self_link) + @status = args[:status] if args.key?(:status) + @zone = args[:zone] if args.key?(:zone) + end + end + + # + class NodeGroupAggregatedList + include Google::Apis::Core::Hashable + + # [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 NodeGroupsScopedList resources. + # Corresponds to the JSON property `items` + # @return [Hash] + attr_accessor :items + + # [Output Only] Type of resource.Always compute#nodeGroupAggregatedList for + # aggregated lists of node groups. + # 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 than maxResults, 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] Server-defined URL for this resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeAlpha::NodeGroupAggregatedList::Warning] + attr_accessor :warning + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @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) + @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 + + # Contains a list of nodeGroups. + class NodeGroupList + include Google::Apis::Core::Hashable + + # [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 NodeGroup resources. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # [Output Only] Type of resource.Always compute#nodeGroupList for lists of node + # groups. + # 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 than maxResults, 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] Server-defined URL for this resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeAlpha::NodeGroupList::Warning] + attr_accessor :warning + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @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) + @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 NodeGroupNode + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `index` + # @return [Fixnum] + attr_accessor :index + + # Instances scheduled on this node. + # Corresponds to the JSON property `instances` + # @return [Array] + attr_accessor :instances + + # The type of this node. + # Corresponds to the JSON property `nodeType` + # @return [String] + attr_accessor :node_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @index = args[:index] if args.key?(:index) + @instances = args[:instances] if args.key?(:instances) + @node_type = args[:node_type] if args.key?(:node_type) + end + end + + # + class NodeGroupsAddNodesRequest + include Google::Apis::Core::Hashable + + # Count of additional nodes to be added to the node group. + # Corresponds to the JSON property `additionalNodeCount` + # @return [Fixnum] + attr_accessor :additional_node_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @additional_node_count = args[:additional_node_count] if args.key?(:additional_node_count) + end + end + + # + class NodeGroupsDeleteNodesRequest + include Google::Apis::Core::Hashable + + # Indexes of the nodes to be deleted from the node group. + # Corresponds to the JSON property `nodeIndexes` + # @return [Array] + attr_accessor :node_indexes + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @node_indexes = args[:node_indexes] if args.key?(:node_indexes) + end + end + + # + class NodeGroupsScopedList + include Google::Apis::Core::Hashable + + # [Output Only] A list of node groups contained in this scope. + # Corresponds to the JSON property `nodeGroups` + # @return [Array] + attr_accessor :node_groups + + # [Output Only] An informational warning that appears when the nodeGroup list is + # empty. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeAlpha::NodeGroupsScopedList::Warning] + attr_accessor :warning + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @node_groups = args[:node_groups] if args.key?(:node_groups) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] An informational warning that appears when the nodeGroup list is + # empty. + 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 NodeGroupsSetNodeTemplateRequest + include Google::Apis::Core::Hashable + + # Full or partial URL of the node template resource to be updated for this node + # group. + # Corresponds to the JSON property `nodeTemplate` + # @return [String] + attr_accessor :node_template + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @node_template = args[:node_template] if args.key?(:node_template) + end + end + + # A Node Template resource. + class NodeTemplate + include Google::Apis::Core::Hashable + + # [Output Only] Creation timestamp in RFC3339 text format. + # Corresponds to the JSON property `creationTimestamp` + # @return [String] + attr_accessor :creation_timestamp + + # 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] 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] The type of the resource. Always compute#nodeTemplate for node + # templates. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The name of the resource, provided by the client when initially creating the + # resource. The resource name must be 1-63 characters long, and comply with + # RFC1035. 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 charaicter, which cannot be + # a dash. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Labels to use for node affinity, which will be used in instance scheduling. + # Corresponds to the JSON property `nodeAffinityLabels` + # @return [Hash] + attr_accessor :node_affinity_labels + + # The node type to use for nodes group that are created from this template. + # Corresponds to the JSON property `nodeType` + # @return [String] + attr_accessor :node_type + + # The flexible properties of the desired node type. Node groups that use this + # node template will create nodes of a type that matches these properties. + # This field is mutually exclusive with the node_type property; you can only + # define one or the other, but not both. + # Corresponds to the JSON property `nodeTypeFlexibility` + # @return [Google::Apis::ComputeAlpha::NodeTemplateNodeTypeFlexibility] + attr_accessor :node_type_flexibility + + # [Output Only] The name of the region where the node template resides, such as + # us-central1. + # Corresponds to the JSON property `region` + # @return [String] + attr_accessor :region + + # [Output Only] Server-defined URL for the resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + # [Output Only] The status of the node template. One of the following values: + # CREATING, READY, and DELETING. + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + # [Output Only] An optional, human-readable explanation of the status. + # Corresponds to the JSON property `statusMessage` + # @return [String] + attr_accessor :status_message + + 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) + @node_affinity_labels = args[:node_affinity_labels] if args.key?(:node_affinity_labels) + @node_type = args[:node_type] if args.key?(:node_type) + @node_type_flexibility = args[:node_type_flexibility] if args.key?(:node_type_flexibility) + @region = args[:region] if args.key?(:region) + @self_link = args[:self_link] if args.key?(:self_link) + @status = args[:status] if args.key?(:status) + @status_message = args[:status_message] if args.key?(:status_message) + end + end + + # + class NodeTemplateAggregatedList + include Google::Apis::Core::Hashable + + # [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 NodeTemplatesScopedList resources. + # Corresponds to the JSON property `items` + # @return [Hash] + attr_accessor :items + + # [Output Only] Type of resource.Always compute#nodeTemplateAggregatedList for + # aggregated lists of node templates. + # 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 than maxResults, 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] Server-defined URL for this resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeAlpha::NodeTemplateAggregatedList::Warning] + attr_accessor :warning + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @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) + @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 + + # Contains a list of node templates. + class NodeTemplateList + include Google::Apis::Core::Hashable + + # [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 NodeTemplate resources. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # [Output Only] Type of resource.Always compute#nodeTemplateList for lists of + # node templates. + # 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 than maxResults, 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] Server-defined URL for this resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeAlpha::NodeTemplateList::Warning] + attr_accessor :warning + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @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) + @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 NodeTemplateNodeTypeFlexibility + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `cpus` + # @return [String] + attr_accessor :cpus + + # + # Corresponds to the JSON property `localSsd` + # @return [String] + attr_accessor :local_ssd + + # + # Corresponds to the JSON property `memory` + # @return [String] + attr_accessor :memory + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cpus = args[:cpus] if args.key?(:cpus) + @local_ssd = args[:local_ssd] if args.key?(:local_ssd) + @memory = args[:memory] if args.key?(:memory) + end + end + + # + class NodeTemplatesScopedList + include Google::Apis::Core::Hashable + + # [Output Only] A list of node templates contained in this scope. + # Corresponds to the JSON property `nodeTemplates` + # @return [Array] + attr_accessor :node_templates + + # [Output Only] An informational warning that appears when the node templates + # list is empty. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeAlpha::NodeTemplatesScopedList::Warning] + attr_accessor :warning + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @node_templates = args[:node_templates] if args.key?(:node_templates) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] An informational warning that appears when the node templates + # list is empty. + 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 + + # A Node Type resource. + class NodeType + include Google::Apis::Core::Hashable + + # [Output Only] The CPU platform used by this node type. + # Corresponds to the JSON property `cpuPlatform` + # @return [String] + attr_accessor :cpu_platform + + # [Output Only] Creation timestamp in RFC3339 text format. + # Corresponds to the JSON property `creationTimestamp` + # @return [String] + attr_accessor :creation_timestamp + + # Deprecation status for a public resource. + # Corresponds to the JSON property `deprecated` + # @return [Google::Apis::ComputeAlpha::DeprecationStatus] + attr_accessor :deprecated + + # [Output Only] An optional textual description of the resource. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # [Output Only] The number of virtual CPUs that are available to the node type. + # Corresponds to the JSON property `guestCpus` + # @return [Fixnum] + attr_accessor :guest_cpus + + # [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] The type of the resource. Always compute#nodeType for node types. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # [Output Only] Local SSD available to the node type, defined in GB. + # Corresponds to the JSON property `localSsdGb` + # @return [Fixnum] + attr_accessor :local_ssd_gb + + # [Output Only] The amount of physical memory available to the node type, + # defined in MB. + # Corresponds to the JSON property `memoryMb` + # @return [Fixnum] + attr_accessor :memory_mb + + # [Output Only] Name of the resource. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # [Output Only] Server-defined URL for the resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + # [Output Only] The name of the zone where the node type resides, such as 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) + @cpu_platform = args[:cpu_platform] if args.key?(:cpu_platform) + @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) + @deprecated = args[:deprecated] if args.key?(:deprecated) + @description = args[:description] if args.key?(:description) + @guest_cpus = args[:guest_cpus] if args.key?(:guest_cpus) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @local_ssd_gb = args[:local_ssd_gb] if args.key?(:local_ssd_gb) + @memory_mb = args[:memory_mb] if args.key?(:memory_mb) + @name = args[:name] if args.key?(:name) + @self_link = args[:self_link] if args.key?(:self_link) + @zone = args[:zone] if args.key?(:zone) + end + end + + # + class NodeTypeAggregatedList + include Google::Apis::Core::Hashable + + # [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 NodeTypesScopedList resources. + # Corresponds to the JSON property `items` + # @return [Hash] + attr_accessor :items + + # [Output Only] Type of resource.Always compute#nodeTypeAggregatedList for + # aggregated lists of node types. + # 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 than maxResults, 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] Server-defined URL for this resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeAlpha::NodeTypeAggregatedList::Warning] + attr_accessor :warning + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @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) + @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 + + # Contains a list of node types. + class NodeTypeList + include Google::Apis::Core::Hashable + + # [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 NodeType resources. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # [Output Only] Type of resource.Always compute#nodeTypeList for lists of node + # types. + # 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 than maxResults, 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] Server-defined URL for this resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeAlpha::NodeTypeList::Warning] + attr_accessor :warning + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @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) + @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 NodeTypesScopedList + include Google::Apis::Core::Hashable + + # [Output Only] A list of node types contained in this scope. + # Corresponds to the JSON property `nodeTypes` + # @return [Array] + attr_accessor :node_types + + # [Output Only] An informational warning that appears when the node types list + # is empty. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeAlpha::NodeTypesScopedList::Warning] + attr_accessor :warning + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @node_types = args[:node_types] if args.key?(:node_types) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] An informational warning that appears when the node types list + # is empty. + 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 + # An Operation resource, used to manage asynchronous API requests. (== # resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==) # (== resource_for v1.regionOperations ==) (== resource_for beta. @@ -16820,7 +17657,7 @@ module Google class OperationsScopedList include Google::Apis::Core::Hashable - # [Output Only] List of operations contained in this scope. + # [Output Only] A list of operations contained in this scope. # Corresponds to the JSON property `operations` # @return [Array] attr_accessor :operations @@ -18172,7 +19009,7 @@ module Google class RegionInstanceGroupManagersListInstancesResponse include Google::Apis::Core::Hashable - # List of managed instances. + # A list of managed instances. # Corresponds to the JSON property `managedInstances` # @return [Array] attr_accessor :managed_instances @@ -19060,7 +19897,7 @@ module Google # @return [String] attr_accessor :name - # List of Nat services created in this router. The maximum number of Nat + # A list of Nat services created in this router. The maximum number of Nat # services within a Router is 3 for Alpha. # Corresponds to the JSON property `nats` # @return [Array] @@ -19606,10 +20443,10 @@ module Google class RouterNat include Google::Apis::Core::Hashable - # [Output Only] List of IPs allocated automatically by GCP for this Nat service. - # They will be raw IP strings like "179.12.26.133". They are ephemeral IPs - # allocated from the IP blocks managed by the NAT manager. This list can grow - # and shrink based on the number of VMs configured to use NAT. + # [Output Only] A list of IPs allocated automatically by GCP for this Nat + # service. They will be raw IP strings like "179.12.26.133". They are ephemeral + # IPs allocated from the IP blocks managed by the NAT manager. This list can + # grow and shrink based on the number of VMs configured to use NAT. # Corresponds to the JSON property `autoAllocatedNatIps` # @return [Array] attr_accessor :auto_allocated_nat_ips @@ -19626,8 +20463,8 @@ module Google # @return [String] attr_accessor :nat_ip_allocate_option - # List of URLs of the IP resources used for this Nat service. These IPs must be - # valid static external IP addresses assigned to the project. max_length is + # A list of URLs of the IP resources used for this Nat service. These IPs must + # be valid static external IP addresses assigned to the project. max_length is # subject to change post alpha. # Corresponds to the JSON property `natIps` # @return [Array] @@ -19640,8 +20477,8 @@ module Google # @return [String] attr_accessor :source_subnetwork_ip_ranges_to_nat - # List of Subnetwork resources whose traffic should be translated by NAT Gateway. - # It is used only when LIST_OF_SUBNETWORKS is selected for the + # A list of Subnetwork resources whose traffic should be translated by NAT + # Gateway. It is used only when LIST_OF_SUBNETWORKS is selected for the # SubnetworkIpRangeToNatOption above. # Corresponds to the JSON property `subnetworks` # @return [Array] @@ -19671,7 +20508,7 @@ module Google # @return [String] attr_accessor :name - # List of the secondary ranges of the Subnetwork that are allowed to use NAT. + # A list of the secondary ranges of the Subnetwork that are allowed to use NAT. # This can be populated only if "LIST_OF_SECONDARY_IP_RANGES" is one of the # values in source_ip_ranges_to_nat. # Corresponds to the JSON property `secondaryIpRangeNames` @@ -19819,7 +20656,7 @@ module Google class RouterStatusNatStatus include Google::Apis::Core::Hashable - # List of IPs auto-allocated for NAT. Example: ["1.1.1.1", "129.2.16.89"] + # A list of IPs auto-allocated for NAT. Example: ["1.1.1.1", "129.2.16.89"] # Corresponds to the JSON property `autoAllocatedNatIps` # @return [Array] attr_accessor :auto_allocated_nat_ips @@ -19841,12 +20678,12 @@ module Google # @return [Fixnum] attr_accessor :num_vm_endpoints_with_nat_mappings - # List of fully qualified URLs of reserved IP address resources. + # A list of fully qualified URLs of reserved IP address resources. # Corresponds to the JSON property `userAllocatedNatIpResources` # @return [Array] attr_accessor :user_allocated_nat_ip_resources - # List of IPs user-allocated for NAT. They will be raw IP strings like "179.12. + # A list of IPs user-allocated for NAT. They will be raw IP strings like "179.12. # 26.133". # Corresponds to the JSON property `userAllocatedNatIps` # @return [Array] @@ -19915,7 +20752,7 @@ module Google class RoutersScopedList include Google::Apis::Core::Hashable - # List of routers contained in this scope. + # A list of routers contained in this scope. # Corresponds to the JSON property `routers` # @return [Array] attr_accessor :routers @@ -20265,9 +21102,10 @@ module Google # @return [String] attr_accessor :name - # List of rules that belong to this policy. There must always be a default rule ( - # rule with priority 2147483647 and match "*"). If no rules are provided when - # creating a security policy, a default rule with action "allow" will be added. + # A list of rules that belong to this policy. There must always be a default + # rule (rule with priority 2147483647 and match "*"). If no rules are provided + # when creating a security policy, a default rule with action "allow" will be + # added. # Corresponds to the JSON property `rules` # @return [Array] attr_accessor :rules @@ -21074,7 +21912,7 @@ module Google # @return [String] attr_accessor :self_link - # Configuration and status of a self-managed SSL certificate.. + # Configuration and status of a self-managed SSL certificate. # Corresponds to the JSON property `selfManaged` # @return [Google::Apis::ComputeAlpha::SslCertificateSelfManagedSslCertificate] attr_accessor :self_managed @@ -21264,7 +22102,7 @@ module Google end end - # Configuration and status of a self-managed SSL certificate.. + # Configuration and status of a self-managed SSL certificate. class SslCertificateSelfManagedSslCertificate include Google::Apis::Core::Hashable @@ -21441,7 +22279,7 @@ module Google # @return [String] attr_accessor :creation_timestamp - # List of features enabled when the selected profile is CUSTOM. The + # A list of features enabled when the selected profile is CUSTOM. The # - method returns the set of features that can be specified in this list. This # field must be empty if the profile is not CUSTOM. # Corresponds to the JSON property `customFeatures` @@ -22148,7 +22986,7 @@ module Google class SubnetworksScopedList include Google::Apis::Core::Hashable - # List of subnetworks contained in this scope. + # A list of subnetworks contained in this scope. # Corresponds to the JSON property `subnetworks` # @return [Array] attr_accessor :subnetworks @@ -22361,7 +23199,7 @@ module Google class TargetHttpProxiesScopedList include Google::Apis::Core::Hashable - # List of TargetHttpProxies contained in this scope. + # A list of TargetHttpProxies contained in this scope. # Corresponds to the JSON property `targetHttpProxies` # @return [Array] attr_accessor :target_http_proxies @@ -23337,7 +24175,7 @@ module Google class TargetInstancesScopedList include Google::Apis::Core::Hashable - # List of target instances contained in this scope. + # A list of target instances contained in this scope. # Corresponds to the JSON property `targetInstances` # @return [Array] attr_accessor :target_instances @@ -23900,7 +24738,7 @@ module Google class TargetPoolsScopedList include Google::Apis::Core::Hashable - # List of target pools contained in this scope. + # A list of target pools contained in this scope. # Corresponds to the JSON property `targetPools` # @return [Array] attr_accessor :target_pools @@ -24850,7 +25688,7 @@ module Google class TargetVpnGatewaysScopedList include Google::Apis::Core::Hashable - # [Output Only] List of target vpn gateways contained in this scope. + # [Output Only] A list of target vpn gateways contained in this scope. # Corresponds to the JSON property `targetVpnGateways` # @return [Array] attr_accessor :target_vpn_gateways @@ -25594,27 +26432,6 @@ module Google end end - # A Vm Maintenance Policy specifies what kind of infrastructure maintenance we - # are allowed to perform on this VM and when. - class VmMaintenancePolicy - include Google::Apis::Core::Hashable - - # A maintenance window for VMs and disks. When set, we restrict our maintenance - # operations to this window. - # Corresponds to the JSON property `maintenanceWindow` - # @return [Google::Apis::ComputeAlpha::MaintenanceWindow] - attr_accessor :maintenance_window - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @maintenance_window = args[:maintenance_window] if args.key?(:maintenance_window) - end - end - # VPN tunnel resource. (== resource_for beta.vpnTunnels ==) (== resource_for v1. # vpnTunnels ==) class VpnTunnel @@ -26005,7 +26822,7 @@ module Google class VpnTunnelsScopedList include Google::Apis::Core::Hashable - # List of vpn tunnels contained in this scope. + # A list of vpn tunnels contained in this scope. # Corresponds to the JSON property `vpnTunnels` # @return [Array] attr_accessor :vpn_tunnels diff --git a/generated/google/apis/compute_alpha/representations.rb b/generated/google/apis/compute_alpha/representations.rb index b372d0e1e..8f7a9e69b 100644 --- a/generated/google/apis/compute_alpha/representations.rb +++ b/generated/google/apis/compute_alpha/representations.rb @@ -532,12 +532,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class DailyMaintenanceWindow - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class DeprecationStatus class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1048,12 +1042,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class HourlyMaintenanceWindow - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class HttpHealthCheck class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1522,18 +1510,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class InstancesAddMaintenancePoliciesRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class InstancesRemoveMaintenancePoliciesRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class InstancesResumeRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1882,72 +1858,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class MaintenancePoliciesList - 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 MaintenancePoliciesScopedList - 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 MaintenancePolicy - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class MaintenancePolicyAggregatedList - 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 MaintenanceWindow - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class ManagedInstance class Representation < Google::Apis::Core::JsonRepresentation; end @@ -2182,6 +2092,216 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class NodeGroup + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class NodeGroupAggregatedList + 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 NodeGroupList + 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 NodeGroupNode + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class NodeGroupsAddNodesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class NodeGroupsDeleteNodesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class NodeGroupsScopedList + 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 NodeGroupsSetNodeTemplateRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class NodeTemplate + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class NodeTemplateAggregatedList + 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 NodeTemplateList + 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 NodeTemplateNodeTypeFlexibility + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class NodeTemplatesScopedList + 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 NodeType + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class NodeTypeAggregatedList + 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 NodeTypeList + 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 NodeTypesScopedList + 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 Operation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -3568,12 +3688,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class VmMaintenancePolicy - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class VpnTunnel class Representation < Google::Apis::Core::JsonRepresentation; end @@ -4636,15 +4750,6 @@ module Google end end - class DailyMaintenanceWindow - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :days_in_cycle, as: 'daysInCycle' - property :duration, as: 'duration' - property :start_time, as: 'startTime' - end - end - class DeprecationStatus # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -5606,15 +5711,6 @@ module Google end end - class HourlyMaintenanceWindow - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :duration, as: 'duration' - property :hours_in_cycle, as: 'hoursInCycle' - property :start_time, as: 'startTime' - end - end - class HttpHealthCheck # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -5819,7 +5915,6 @@ module Google property :label_fingerprint, :base64 => true, as: 'labelFingerprint' hash :labels, as: 'labels' property :machine_type, as: 'machineType' - collection :maintenance_policies, as: 'maintenancePolicies' property :metadata, as: 'metadata', class: Google::Apis::ComputeAlpha::Metadata, decorator: Google::Apis::ComputeAlpha::Metadata::Representation property :min_cpu_platform, as: 'minCpuPlatform' @@ -6537,20 +6632,6 @@ module Google end end - class InstancesAddMaintenancePoliciesRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :maintenance_policies, as: 'maintenancePolicies' - end - end - - class InstancesRemoveMaintenancePoliciesRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :maintenance_policies, as: 'maintenancePolicies' - end - end - class InstancesResumeRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -7198,123 +7279,6 @@ module Google end end - class MaintenancePoliciesList - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - collection :items, as: 'items', class: Google::Apis::ComputeAlpha::MaintenancePolicy, decorator: Google::Apis::ComputeAlpha::MaintenancePolicy::Representation - - property :kind, as: 'kind' - property :next_page_token, as: 'nextPageToken' - property :self_link, as: 'selfLink' - property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::MaintenancePoliciesList::Warning, decorator: Google::Apis::ComputeAlpha::MaintenancePoliciesList::Warning::Representation - - end - - class Warning - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :code, as: 'code' - collection :data, as: 'data', class: Google::Apis::ComputeAlpha::MaintenancePoliciesList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::MaintenancePoliciesList::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 MaintenancePoliciesScopedList - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :maintenance_policies, as: 'maintenancePolicies', class: Google::Apis::ComputeAlpha::MaintenancePolicy, decorator: Google::Apis::ComputeAlpha::MaintenancePolicy::Representation - - property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::MaintenancePoliciesScopedList::Warning, decorator: Google::Apis::ComputeAlpha::MaintenancePoliciesScopedList::Warning::Representation - - end - - class Warning - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :code, as: 'code' - collection :data, as: 'data', class: Google::Apis::ComputeAlpha::MaintenancePoliciesScopedList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::MaintenancePoliciesScopedList::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 MaintenancePolicy - # @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 :region, as: 'region' - property :self_link, as: 'selfLink' - property :vm_maintenance_policy, as: 'vmMaintenancePolicy', class: Google::Apis::ComputeAlpha::VmMaintenancePolicy, decorator: Google::Apis::ComputeAlpha::VmMaintenancePolicy::Representation - - end - end - - class MaintenancePolicyAggregatedList - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - hash :items, as: 'items', class: Google::Apis::ComputeAlpha::MaintenancePoliciesScopedList, decorator: Google::Apis::ComputeAlpha::MaintenancePoliciesScopedList::Representation - - property :kind, as: 'kind' - property :next_page_token, as: 'nextPageToken' - property :self_link, as: 'selfLink' - property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::MaintenancePolicyAggregatedList::Warning, decorator: Google::Apis::ComputeAlpha::MaintenancePolicyAggregatedList::Warning::Representation - - end - - class Warning - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :code, as: 'code' - collection :data, as: 'data', class: Google::Apis::ComputeAlpha::MaintenancePolicyAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::MaintenancePolicyAggregatedList::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 MaintenanceWindow - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :daily_maintenance_window, as: 'dailyMaintenanceWindow', class: Google::Apis::ComputeAlpha::DailyMaintenanceWindow, decorator: Google::Apis::ComputeAlpha::DailyMaintenanceWindow::Representation - - property :hourly_maintenance_window, as: 'hourlyMaintenanceWindow', class: Google::Apis::ComputeAlpha::HourlyMaintenanceWindow, decorator: Google::Apis::ComputeAlpha::HourlyMaintenanceWindow::Representation - - end - end - class ManagedInstance # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -7716,6 +7680,376 @@ module Google end end + class NodeGroup + # @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 :node_template, as: 'nodeTemplate' + collection :nodes, as: 'nodes', class: Google::Apis::ComputeAlpha::NodeGroupNode, decorator: Google::Apis::ComputeAlpha::NodeGroupNode::Representation + + property :self_link, as: 'selfLink' + property :status, as: 'status' + property :zone, as: 'zone' + end + end + + class NodeGroupAggregatedList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + hash :items, as: 'items', class: Google::Apis::ComputeAlpha::NodeGroupsScopedList, decorator: Google::Apis::ComputeAlpha::NodeGroupsScopedList::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::NodeGroupAggregatedList::Warning, decorator: Google::Apis::ComputeAlpha::NodeGroupAggregatedList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeAlpha::NodeGroupAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::NodeGroupAggregatedList::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 NodeGroupList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + collection :items, as: 'items', class: Google::Apis::ComputeAlpha::NodeGroup, decorator: Google::Apis::ComputeAlpha::NodeGroup::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::NodeGroupList::Warning, decorator: Google::Apis::ComputeAlpha::NodeGroupList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeAlpha::NodeGroupList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::NodeGroupList::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 NodeGroupNode + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :index, as: 'index' + collection :instances, as: 'instances' + property :node_type, as: 'nodeType' + end + end + + class NodeGroupsAddNodesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :additional_node_count, as: 'additionalNodeCount' + end + end + + class NodeGroupsDeleteNodesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :node_indexes, as: 'nodeIndexes' + end + end + + class NodeGroupsScopedList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :node_groups, as: 'nodeGroups', class: Google::Apis::ComputeAlpha::NodeGroup, decorator: Google::Apis::ComputeAlpha::NodeGroup::Representation + + property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::NodeGroupsScopedList::Warning, decorator: Google::Apis::ComputeAlpha::NodeGroupsScopedList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeAlpha::NodeGroupsScopedList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::NodeGroupsScopedList::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 NodeGroupsSetNodeTemplateRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :node_template, as: 'nodeTemplate' + end + end + + class NodeTemplate + # @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' + hash :node_affinity_labels, as: 'nodeAffinityLabels' + property :node_type, as: 'nodeType' + property :node_type_flexibility, as: 'nodeTypeFlexibility', class: Google::Apis::ComputeAlpha::NodeTemplateNodeTypeFlexibility, decorator: Google::Apis::ComputeAlpha::NodeTemplateNodeTypeFlexibility::Representation + + property :region, as: 'region' + property :self_link, as: 'selfLink' + property :status, as: 'status' + property :status_message, as: 'statusMessage' + end + end + + class NodeTemplateAggregatedList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + hash :items, as: 'items', class: Google::Apis::ComputeAlpha::NodeTemplatesScopedList, decorator: Google::Apis::ComputeAlpha::NodeTemplatesScopedList::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::NodeTemplateAggregatedList::Warning, decorator: Google::Apis::ComputeAlpha::NodeTemplateAggregatedList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeAlpha::NodeTemplateAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::NodeTemplateAggregatedList::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 NodeTemplateList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + collection :items, as: 'items', class: Google::Apis::ComputeAlpha::NodeTemplate, decorator: Google::Apis::ComputeAlpha::NodeTemplate::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::NodeTemplateList::Warning, decorator: Google::Apis::ComputeAlpha::NodeTemplateList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeAlpha::NodeTemplateList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::NodeTemplateList::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 NodeTemplateNodeTypeFlexibility + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cpus, as: 'cpus' + property :local_ssd, as: 'localSsd' + property :memory, as: 'memory' + end + end + + class NodeTemplatesScopedList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :node_templates, as: 'nodeTemplates', class: Google::Apis::ComputeAlpha::NodeTemplate, decorator: Google::Apis::ComputeAlpha::NodeTemplate::Representation + + property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::NodeTemplatesScopedList::Warning, decorator: Google::Apis::ComputeAlpha::NodeTemplatesScopedList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeAlpha::NodeTemplatesScopedList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::NodeTemplatesScopedList::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 NodeType + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cpu_platform, as: 'cpuPlatform' + property :creation_timestamp, as: 'creationTimestamp' + property :deprecated, as: 'deprecated', class: Google::Apis::ComputeAlpha::DeprecationStatus, decorator: Google::Apis::ComputeAlpha::DeprecationStatus::Representation + + property :description, as: 'description' + property :guest_cpus, as: 'guestCpus' + property :id, :numeric_string => true, as: 'id' + property :kind, as: 'kind' + property :local_ssd_gb, as: 'localSsdGb' + property :memory_mb, as: 'memoryMb' + property :name, as: 'name' + property :self_link, as: 'selfLink' + property :zone, as: 'zone' + end + end + + class NodeTypeAggregatedList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + hash :items, as: 'items', class: Google::Apis::ComputeAlpha::NodeTypesScopedList, decorator: Google::Apis::ComputeAlpha::NodeTypesScopedList::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::NodeTypeAggregatedList::Warning, decorator: Google::Apis::ComputeAlpha::NodeTypeAggregatedList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeAlpha::NodeTypeAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::NodeTypeAggregatedList::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 NodeTypeList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + collection :items, as: 'items', class: Google::Apis::ComputeAlpha::NodeType, decorator: Google::Apis::ComputeAlpha::NodeType::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::NodeTypeList::Warning, decorator: Google::Apis::ComputeAlpha::NodeTypeList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeAlpha::NodeTypeList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::NodeTypeList::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 NodeTypesScopedList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :node_types, as: 'nodeTypes', class: Google::Apis::ComputeAlpha::NodeType, decorator: Google::Apis::ComputeAlpha::NodeType::Representation + + property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::NodeTypesScopedList::Warning, decorator: Google::Apis::ComputeAlpha::NodeTypesScopedList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeAlpha::NodeTypesScopedList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::NodeTypesScopedList::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 Operation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -10139,14 +10473,6 @@ module Google end end - class VmMaintenancePolicy - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :maintenance_window, as: 'maintenanceWindow', class: Google::Apis::ComputeAlpha::MaintenanceWindow, decorator: Google::Apis::ComputeAlpha::MaintenanceWindow::Representation - - end - end - class VpnTunnel # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/compute_alpha/service.rb b/generated/google/apis/compute_alpha/service.rb index 1e1687583..335788c44 100644 --- a/generated/google/apis/compute_alpha/service.rb +++ b/generated/google/apis/compute_alpha/service.rb @@ -7466,7 +7466,7 @@ module Google execute_or_queue_command(command, &block) end - # Delete selected per-instance configs for the managed instance group. + # Deletes selected per-instance configs for the managed instance group. # @param [String] project # Project ID for this request. # @param [String] zone @@ -7511,7 +7511,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns all of the details about the specified managed instance group. Get a + # Returns all of the details about the specified managed instance group. Gets a # list of available managed instance groups by making a list() request. # @param [String] project # Project ID for this request. @@ -9074,7 +9074,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified instance template. Get a list of available instance + # Returns the specified instance template. Gets a list of available instance # templates by making a list() request. # @param [String] project # Project ID for this request. @@ -9340,64 +9340,6 @@ module Google execute_or_queue_command(command, &block) end - # Adds existing maintenance policies to an instance. You can only add one policy - # right now which will be applied to this instance for scheduling live - # migrations. - # @param [String] project - # Project ID for this request. - # @param [String] zone - # The name of the zone for this request. - # @param [String] instance - # The instance name for this request. - # @param [Google::Apis::ComputeAlpha::InstancesAddMaintenancePoliciesRequest] instances_add_maintenance_policies_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. 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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ComputeAlpha::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 add_instance_maintenance_policies(project, zone, instance, instances_add_maintenance_policies_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/addMaintenancePolicies', options) - command.request_representation = Google::Apis::ComputeAlpha::InstancesAddMaintenancePoliciesRequest::Representation - command.request_object = instances_add_maintenance_policies_request_object - command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation - command.response_class = Google::Apis::ComputeAlpha::Operation - command.params['project'] = project unless project.nil? - command.params['zone'] = zone unless zone.nil? - command.params['instance'] = instance unless instance.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 aggregated list of instances. # @param [String] project # Project ID for this request. @@ -10101,62 +10043,6 @@ module Google execute_or_queue_command(command, &block) end - # Removes maintenance policies from an instance. - # @param [String] project - # Project ID for this request. - # @param [String] zone - # The name of the zone for this request. - # @param [String] instance - # The instance name for this request. - # @param [Google::Apis::ComputeAlpha::InstancesRemoveMaintenancePoliciesRequest] instances_remove_maintenance_policies_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. 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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ComputeAlpha::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 remove_instance_maintenance_policies(project, zone, instance, instances_remove_maintenance_policies_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/removeMaintenancePolicies', options) - command.request_representation = Google::Apis::ComputeAlpha::InstancesRemoveMaintenancePoliciesRequest::Representation - command.request_object = instances_remove_maintenance_policies_request_object - command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation - command.response_class = Google::Apis::ComputeAlpha::Operation - command.params['project'] = project unless project.nil? - command.params['zone'] = zone unless zone.nil? - command.params['instance'] = instance unless instance.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 - # Performs a reset on the instance. For more information, see Resetting an # instance. # @param [String] project @@ -13135,7 +13021,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified machine type. Get a list of available machine types by + # Returns the specified machine type. Gets a list of available machine types by # making a list() request. # @param [String] project # Project ID for this request. @@ -13253,434 +13139,6 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of maintenance policies. - # @param [String] project - # Project ID for this request. - # @param [String] filter - # A filter expression that filters resources listed in the response. The - # expression must specify the field name, a comparison operator, and the value - # that you want to use for filtering. The value must be a string, a number, or a - # boolean. The comparison 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. - # 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 - # on resource 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). - # @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 [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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ComputeAlpha::MaintenancePolicyAggregatedList] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ComputeAlpha::MaintenancePolicyAggregatedList] - # - # @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 aggregated_maintenance_policy_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/maintenancePolicies', options) - command.response_representation = Google::Apis::ComputeAlpha::MaintenancePolicyAggregatedList::Representation - command.response_class = Google::Apis::ComputeAlpha::MaintenancePolicyAggregatedList - 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['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 the specified maintenance policy. - # @param [String] project - # Project ID for this request. - # @param [String] region - # Name of the region for this request. - # @param [String] maintenance_policy - # Name of the maintenance policy 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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ComputeAlpha::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_maintenance_policy(project, region, maintenance_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/maintenancePolicies/{maintenancePolicy}', options) - command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation - command.response_class = Google::Apis::ComputeAlpha::Operation - command.params['project'] = project unless project.nil? - command.params['region'] = region unless region.nil? - command.params['maintenancePolicy'] = maintenance_policy unless maintenance_policy.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 all information of the specified maintenance policy. - # @param [String] project - # Project ID for this request. - # @param [String] region - # Name of the region for this request. - # @param [String] maintenance_policy - # Name of the maintenance policy to retrieve. - # @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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ComputeAlpha::MaintenancePolicy] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ComputeAlpha::MaintenancePolicy] - # - # @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_maintenance_policy(project, region, maintenance_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/maintenancePolicies/{maintenancePolicy}', options) - command.response_representation = Google::Apis::ComputeAlpha::MaintenancePolicy::Representation - command.response_class = Google::Apis::ComputeAlpha::MaintenancePolicy - command.params['project'] = project unless project.nil? - command.params['region'] = region unless region.nil? - command.params['maintenancePolicy'] = maintenance_policy unless maintenance_policy.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] region - # The name of the region for this request. - # @param [String] resource - # Name of the resource for this request. - # @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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ComputeAlpha::Policy] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ComputeAlpha::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_maintenance_policy_iam_policy(project, region, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/maintenancePolicies/{resource}/getIamPolicy', options) - command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation - command.response_class = Google::Apis::ComputeAlpha::Policy - command.params['project'] = project unless project.nil? - command.params['region'] = region unless region.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 - - # Creates a new maintenance policy. - # @param [String] project - # Project ID for this request. - # @param [String] region - # Name of the region for this request. - # @param [Google::Apis::ComputeAlpha::MaintenancePolicy] maintenance_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 - # 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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ComputeAlpha::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_maintenance_policy(project, region, maintenance_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/maintenancePolicies', options) - command.request_representation = Google::Apis::ComputeAlpha::MaintenancePolicy::Representation - command.request_object = maintenance_policy_object - command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation - command.response_class = Google::Apis::ComputeAlpha::Operation - command.params['project'] = project unless project.nil? - command.params['region'] = region unless region.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 - - # List all the maintenance policies that have been configured for the specified - # project in specified region. - # @param [String] project - # Project ID for this request. - # @param [String] region - # Name of the region for this request. - # @param [String] filter - # A filter expression that filters resources listed in the response. The - # expression must specify the field name, a comparison operator, and the value - # that you want to use for filtering. The value must be a string, a number, or a - # boolean. The comparison 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. - # 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 - # on resource 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). - # @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 [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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ComputeAlpha::MaintenancePoliciesList] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ComputeAlpha::MaintenancePoliciesList] - # - # @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_maintenance_policies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/maintenancePolicies', options) - command.response_representation = Google::Apis::ComputeAlpha::MaintenancePoliciesList::Representation - command.response_class = Google::Apis::ComputeAlpha::MaintenancePoliciesList - command.params['project'] = project unless project.nil? - command.params['region'] = region unless region.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['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] region - # The name of the region for this request. - # @param [String] resource - # Name of the resource for this request. - # @param [Google::Apis::ComputeAlpha::Policy] policy_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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ComputeAlpha::Policy] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ComputeAlpha::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_maintenance_policy_iam_policy(project, region, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/maintenancePolicies/{resource}/setIamPolicy', options) - command.request_representation = Google::Apis::ComputeAlpha::Policy::Representation - command.request_object = policy_object - command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation - command.response_class = Google::Apis::ComputeAlpha::Policy - command.params['project'] = project unless project.nil? - command.params['region'] = region unless region.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] region - # The name of the region for this request. - # @param [String] resource - # Name of the resource for this request. - # @param [Google::Apis::ComputeAlpha::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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ComputeAlpha::TestPermissionsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ComputeAlpha::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_maintenance_policy_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/maintenancePolicies/{resource}/testIamPermissions', options) - command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation - command.request_object = test_permissions_request_object - command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation - command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse - command.params['project'] = project unless project.nil? - command.params['region'] = region unless region.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 - # Retrieves the list of network endpoint groups and sorts them by zone. # @param [String] project # Project ID for this request. @@ -14104,7 +13562,7 @@ module Google execute_or_queue_command(command, &block) end - # List the network endpoints in the specified network endpoint group. + # Lists the network endpoints in the specified network endpoint group. # @param [String] project # Project ID for this request. # @param [String] zone @@ -14498,7 +13956,7 @@ module Google execute_or_queue_command(command, &block) end - # List the internal IP owners in the specified network. + # Lists the internal IP owners in the specified network. # @param [String] project # Project ID for this request. # @param [String] network @@ -14787,6 +14245,286 @@ module Google execute_or_queue_command(command, &block) end + # Adds specified number of nodes to the node group. + # @param [String] project + # Project ID for this request. + # @param [String] zone + # The name of the zone for this request. + # @param [String] node_group + # Name of the NodeGroup resource to delete. + # @param [Google::Apis::ComputeAlpha::NodeGroupsAddNodesRequest] node_groups_add_nodes_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. 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::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 add_node_group_nodes(project, zone, node_group, node_groups_add_nodes_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{nodeGroup}/addNodes', options) + command.request_representation = Google::Apis::ComputeAlpha::NodeGroupsAddNodesRequest::Representation + command.request_object = node_groups_add_nodes_request_object + command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation + command.response_class = Google::Apis::ComputeAlpha::Operation + command.params['project'] = project unless project.nil? + command.params['zone'] = zone unless zone.nil? + command.params['nodeGroup'] = node_group unless node_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 + + # Retrieves an aggregated list of node groups. + # @param [String] project + # Project ID for this request. + # @param [String] filter + # A filter expression that filters resources listed in the response. The + # expression must specify the field name, a comparison operator, and the value + # that you want to use for filtering. The value must be a string, a number, or a + # boolean. The comparison 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. + # 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 + # on resource 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). + # @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 [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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeAlpha::NodeGroupAggregatedList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::NodeGroupAggregatedList] + # + # @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 aggregated_node_group_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/aggregated/nodeGroups', options) + command.response_representation = Google::Apis::ComputeAlpha::NodeGroupAggregatedList::Representation + command.response_class = Google::Apis::ComputeAlpha::NodeGroupAggregatedList + 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['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 the specified NodeGroup resource. + # @param [String] project + # Project ID for this request. + # @param [String] zone + # The name of the zone for this request. + # @param [String] node_group + # Name of the NodeGroup 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::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_node_group(project, zone, node_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, '{project}/zones/{zone}/nodeGroups/{nodeGroup}', options) + command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation + command.response_class = Google::Apis::ComputeAlpha::Operation + command.params['project'] = project unless project.nil? + command.params['zone'] = zone unless zone.nil? + command.params['nodeGroup'] = node_group unless node_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 + + # Deletes specified nodes from the node group. + # @param [String] project + # Project ID for this request. + # @param [String] zone + # The name of the zone for this request. + # @param [String] node_group + # Name of the NodeGroup resource to delete. + # @param [Google::Apis::ComputeAlpha::NodeGroupsDeleteNodesRequest] node_groups_delete_nodes_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. 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::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_node_group_nodes(project, zone, node_group, node_groups_delete_nodes_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{nodeGroup}/deleteNodes', options) + command.request_representation = Google::Apis::ComputeAlpha::NodeGroupsDeleteNodesRequest::Representation + command.request_object = node_groups_delete_nodes_request_object + command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation + command.response_class = Google::Apis::ComputeAlpha::Operation + command.params['project'] = project unless project.nil? + command.params['zone'] = zone unless zone.nil? + command.params['nodeGroup'] = node_group unless node_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 NodeGroup. Get a list of available NodeGroups by making + # a list() request. + # @param [String] project + # Project ID for this request. + # @param [String] zone + # The name of the zone for this request. + # @param [String] node_group + # Name of the node group 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeAlpha::NodeGroup] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::NodeGroup] + # + # @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_node_group(project, zone, node_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/zones/{zone}/nodeGroups/{nodeGroup}', options) + command.response_representation = Google::Apis::ComputeAlpha::NodeGroup::Representation + command.response_class = Google::Apis::ComputeAlpha::NodeGroup + command.params['project'] = project unless project.nil? + command.params['zone'] = zone unless zone.nil? + command.params['nodeGroup'] = node_group unless node_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 @@ -14829,6 +14567,139 @@ module Google execute_or_queue_command(command, &block) end + # Creates a NodeGroup resource in the specified project using the data included + # in the request. + # @param [String] project + # Project ID for this request. + # @param [String] zone + # The name of the zone for this request. + # @param [Fixnum] initial_node_count + # Initial count of nodes in the node group. + # @param [Google::Apis::ComputeAlpha::NodeGroup] node_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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::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_node_group(project, zone, initial_node_count, node_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups', options) + command.request_representation = Google::Apis::ComputeAlpha::NodeGroup::Representation + command.request_object = node_group_object + command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation + command.response_class = Google::Apis::ComputeAlpha::Operation + command.params['project'] = project unless project.nil? + command.params['zone'] = zone unless zone.nil? + command.query['initialNodeCount'] = initial_node_count unless initial_node_count.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 a list of node groups available to the specified project. + # @param [String] project + # Project ID for this request. + # @param [String] zone + # The name of the zone for this request. + # @param [String] filter + # A filter expression that filters resources listed in the response. The + # expression must specify the field name, a comparison operator, and the value + # that you want to use for filtering. The value must be a string, a number, or a + # boolean. The comparison 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. + # 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 + # on resource 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). + # @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 [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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeAlpha::NodeGroupList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::NodeGroupList] + # + # @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_node_groups(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/zones/{zone}/nodeGroups', options) + command.response_representation = Google::Apis::ComputeAlpha::NodeGroupList::Representation + command.response_class = Google::Apis::ComputeAlpha::NodeGroupList + command.params['project'] = project unless project.nil? + command.params['zone'] = zone unless zone.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['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 @@ -14874,6 +14745,62 @@ module Google execute_or_queue_command(command, &block) end + # Updates the node template of the node group. + # @param [String] project + # Project ID for this request. + # @param [String] zone + # The name of the zone for this request. + # @param [String] node_group + # Name of the NodeGroup resource to delete. + # @param [Google::Apis::ComputeAlpha::NodeGroupsSetNodeTemplateRequest] node_groups_set_node_template_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. 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::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 set_node_group_node_template(project, zone, node_group, node_groups_set_node_template_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{nodeGroup}/setNodeTemplate', options) + command.request_representation = Google::Apis::ComputeAlpha::NodeGroupsSetNodeTemplateRequest::Representation + command.request_object = node_groups_set_node_template_request_object + command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation + command.response_class = Google::Apis::ComputeAlpha::Operation + command.params['project'] = project unless project.nil? + command.params['zone'] = zone unless zone.nil? + command.params['nodeGroup'] = node_group unless node_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 permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. @@ -14918,6 +14845,174 @@ module Google execute_or_queue_command(command, &block) end + # Retrieves an aggregated list of node templates. + # @param [String] project + # Project ID for this request. + # @param [String] filter + # A filter expression that filters resources listed in the response. The + # expression must specify the field name, a comparison operator, and the value + # that you want to use for filtering. The value must be a string, a number, or a + # boolean. The comparison 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. + # 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 + # on resource 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). + # @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 [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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeAlpha::NodeTemplateAggregatedList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::NodeTemplateAggregatedList] + # + # @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 aggregated_node_template_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/aggregated/nodeTemplates', options) + command.response_representation = Google::Apis::ComputeAlpha::NodeTemplateAggregatedList::Representation + command.response_class = Google::Apis::ComputeAlpha::NodeTemplateAggregatedList + 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['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 the specified NodeTemplate resource. + # @param [String] project + # Project ID for this request. + # @param [String] region + # The name of the region for this request. + # @param [String] node_template + # Name of the NodeTemplate 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::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_node_template(project, region, node_template, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, '{project}/regions/{region}/nodeTemplates/{nodeTemplate}', options) + command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation + command.response_class = Google::Apis::ComputeAlpha::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['nodeTemplate'] = node_template unless node_template.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 node template. Get a list of available node templates by + # making a list() request. + # @param [String] project + # Project ID for this request. + # @param [String] region + # The name of the region for this request. + # @param [String] node_template + # Name of the node template 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeAlpha::NodeTemplate] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::NodeTemplate] + # + # @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_node_template(project, region, node_template, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/regions/{region}/nodeTemplates/{nodeTemplate}', options) + command.response_representation = Google::Apis::ComputeAlpha::NodeTemplate::Representation + command.response_class = Google::Apis::ComputeAlpha::NodeTemplate + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['nodeTemplate'] = node_template unless node_template.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 @@ -14960,6 +15055,136 @@ module Google execute_or_queue_command(command, &block) end + # Creates a NodeTemplate resource in the specified project using the data + # included in the request. + # @param [String] project + # Project ID for this request. + # @param [String] region + # The name of the region for this request. + # @param [Google::Apis::ComputeAlpha::NodeTemplate] node_template_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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::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_node_template(project, region, node_template_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/regions/{region}/nodeTemplates', options) + command.request_representation = Google::Apis::ComputeAlpha::NodeTemplate::Representation + command.request_object = node_template_object + command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation + command.response_class = Google::Apis::ComputeAlpha::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.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 a list of node templates available to the specified project. + # @param [String] project + # Project ID for this request. + # @param [String] region + # The name of the region for this request. + # @param [String] filter + # A filter expression that filters resources listed in the response. The + # expression must specify the field name, a comparison operator, and the value + # that you want to use for filtering. The value must be a string, a number, or a + # boolean. The comparison 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. + # 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 + # on resource 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). + # @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 [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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeAlpha::NodeTemplateList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::NodeTemplateList] + # + # @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_node_templates(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/regions/{region}/nodeTemplates', options) + command.response_representation = Google::Apis::ComputeAlpha::NodeTemplateList::Representation + command.response_class = Google::Apis::ComputeAlpha::NodeTemplateList + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.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['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 @@ -15049,6 +15274,197 @@ module Google execute_or_queue_command(command, &block) end + # Retrieves an aggregated list of node types. + # @param [String] project + # Project ID for this request. + # @param [String] filter + # A filter expression that filters resources listed in the response. The + # expression must specify the field name, a comparison operator, and the value + # that you want to use for filtering. The value must be a string, a number, or a + # boolean. The comparison 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. + # 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 + # on resource 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). + # @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 [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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeAlpha::NodeTypeAggregatedList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::NodeTypeAggregatedList] + # + # @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 aggregated_node_type_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/aggregated/nodeTypes', options) + command.response_representation = Google::Apis::ComputeAlpha::NodeTypeAggregatedList::Representation + command.response_class = Google::Apis::ComputeAlpha::NodeTypeAggregatedList + 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['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 node type. Get a list of available node types by making + # a list() request. + # @param [String] project + # Project ID for this request. + # @param [String] zone + # The name of the zone for this request. + # @param [String] node_type + # Name of the node type 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeAlpha::NodeType] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::NodeType] + # + # @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_node_type(project, zone, node_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/zones/{zone}/nodeTypes/{nodeType}', options) + command.response_representation = Google::Apis::ComputeAlpha::NodeType::Representation + command.response_class = Google::Apis::ComputeAlpha::NodeType + command.params['project'] = project unless project.nil? + command.params['zone'] = zone unless zone.nil? + command.params['nodeType'] = node_type unless node_type.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 a list of node types available to the specified project. + # @param [String] project + # Project ID for this request. + # @param [String] zone + # The name of the zone for this request. + # @param [String] filter + # A filter expression that filters resources listed in the response. The + # expression must specify the field name, a comparison operator, and the value + # that you want to use for filtering. The value must be a string, a number, or a + # boolean. The comparison 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. + # 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 + # on resource 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). + # @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 [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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeAlpha::NodeTypeList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::NodeTypeList] + # + # @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_node_types(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/zones/{zone}/nodeTypes', options) + command.response_representation = Google::Apis::ComputeAlpha::NodeTypeList::Representation + command.response_class = Google::Apis::ComputeAlpha::NodeTypeList + command.params['project'] = project unless project.nil? + command.params['zone'] = zone unless zone.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['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 + # Disable this project as a shared VPC host project. # @param [String] project # Project ID for this request. @@ -15280,8 +15696,8 @@ module Google execute_or_queue_command(command, &block) end - # Get the shared VPC host project that this project links to. May be empty if no - # link exists. + # Gets the shared VPC host project that this project links to. May be empty if + # no link exists. # @param [String] project # Project ID for this request. # @param [String] fields @@ -15316,7 +15732,7 @@ module Google execute_or_queue_command(command, &block) end - # Get service resources (a.k.a service project) associated with this host + # Gets service resources (a.k.a service project) associated with this host # project. # @param [String] project # Project ID for this request. @@ -15360,7 +15776,7 @@ module Google execute_or_queue_command(command, &block) end - # List all shared VPC host projects visible to the user in an organization. + # Lists all shared VPC host projects visible to the user in an organization. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeAlpha::ProjectsListXpnHostsRequest] projects_list_xpn_hosts_request_object @@ -17995,7 +18411,7 @@ module Google execute_or_queue_command(command, &block) end - # Delete selected per-instance configs for the managed instance group. + # Deletes selected per-instance configs for the managed instance group. # @param [String] project # Project ID for this request. # @param [String] region @@ -19369,7 +19785,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified TargetHttpProxy resource in the specified region. Get a + # Returns the specified TargetHttpProxy resource in the specified region. Gets a # list of available target HTTP proxies by making a list() request. # @param [String] project # Project ID for this request. @@ -22063,7 +22479,7 @@ module Google execute_or_queue_command(command, &block) end - # List all of the ordered rules present in a single specified policy. + # Lists all of the ordered rules present in a single specified policy. # @param [String] project # Project ID for this request. # @param [String] ssl_policy @@ -22153,7 +22569,7 @@ module Google execute_or_queue_command(command, &block) end - # List all the SSL policies that have been configured for the specified project. + # Lists all the SSL policies that have been configured for the specified project. # @param [String] project # Project ID for this request. # @param [String] filter diff --git a/generated/google/apis/compute_beta.rb b/generated/google/apis/compute_beta.rb index 8cd9da775..511e75415 100644 --- a/generated/google/apis/compute_beta.rb +++ b/generated/google/apis/compute_beta.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/compute/docs/reference/latest/ module ComputeBeta VERSION = 'Beta' - REVISION = '20180323' + REVISION = '20180329' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/compute_beta/classes.rb b/generated/google/apis/compute_beta/classes.rb index 076332db7..f99837f88 100644 --- a/generated/google/apis/compute_beta/classes.rb +++ b/generated/google/apis/compute_beta/classes.rb @@ -362,7 +362,7 @@ module Google class AcceleratorTypesScopedList include Google::Apis::Core::Hashable - # [Output Only] List of accelerator types contained in this scope. + # [Output Only] A list of accelerator types contained in this scope. # Corresponds to the JSON property `acceleratorTypes` # @return [Array] attr_accessor :accelerator_types @@ -899,7 +899,7 @@ module Google class AddressesScopedList include Google::Apis::Core::Hashable - # [Output Only] List of addresses contained in this scope. + # [Output Only] A list of addresses contained in this scope. # Corresponds to the JSON property `addresses` # @return [Array] attr_accessor :addresses @@ -1690,7 +1690,7 @@ module Google class AutoscalersScopedList include Google::Apis::Core::Hashable - # [Output Only] List of autoscalers contained in this scope. + # [Output Only] A list of autoscalers contained in this scope. # Corresponds to the JSON property `autoscalers` # @return [Array] attr_accessor :autoscalers @@ -2831,7 +2831,7 @@ module Google class BackendServicesScopedList include Google::Apis::Core::Hashable - # List of BackendServices contained in this scope. + # A list of BackendServices contained in this scope. # Corresponds to the JSON property `backendServices` # @return [Array] attr_accessor :backend_services @@ -3109,8 +3109,8 @@ module Google # @return [String] attr_accessor :region - # List of commitment amounts for particular resources. Note that VCPU and MEMORY - # resource commitments must occur together. + # A list of commitment amounts for particular resources. Note that VCPU and + # MEMORY resource commitments must occur together. # Corresponds to the JSON property `resources` # @return [Array] attr_accessor :resources @@ -3399,7 +3399,7 @@ module Google class CommitmentsScopedList include Google::Apis::Core::Hashable - # [Output Only] List of commitments contained in this scope. + # [Output Only] A list of commitments contained in this scope. # Corresponds to the JSON property `commitments` # @return [Array] attr_accessor :commitments @@ -3560,6 +3560,11 @@ module Google class CustomerEncryptionKey include Google::Apis::Core::Hashable + # The name of the encryption key that is stored in Google Cloud KMS. + # Corresponds to the JSON property `kmsKeyName` + # @return [String] + attr_accessor :kms_key_name + # Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 # base64 to either encrypt or decrypt this resource. # Corresponds to the JSON property `rawKey` @@ -3572,7 +3577,7 @@ module Google # Compute Engine: # - The key is wrapped using a RSA public key certificate provided by Google. # - After being wrapped, the key must be encoded in RFC 4648 base64 encoding. - # Get the RSA public key certificate provided by Google at: + # Gets the RSA public key certificate provided by Google at: # https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem # Corresponds to the JSON property `rsaEncryptedKey` # @return [String] @@ -3590,6 +3595,7 @@ module Google # Update properties of this object def update!(**args) + @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name) @raw_key = args[:raw_key] if args.key?(:raw_key) @rsa_encrypted_key = args[:rsa_encrypted_key] if args.key?(:rsa_encrypted_key) @sha256 = args[:sha256] if args.key?(:sha256) @@ -4558,7 +4564,7 @@ module Google class DiskTypesScopedList include Google::Apis::Core::Hashable - # [Output Only] List of disk types contained in this scope. + # [Output Only] A list of disk types contained in this scope. # Corresponds to the JSON property `diskTypes` # @return [Array] attr_accessor :disk_types @@ -4668,7 +4674,7 @@ module Google class DisksScopedList include Google::Apis::Core::Hashable - # [Output Only] List of disks contained in this scope. + # [Output Only] A list of disks contained in this scope. # Corresponds to the JSON property `disks` # @return [Array] attr_accessor :disks @@ -5725,7 +5731,7 @@ module Google class ForwardingRulesScopedList include Google::Apis::Core::Hashable - # List of forwarding rules contained in this scope. + # A list of forwarding rules contained in this scope. # Corresponds to the JSON property `forwardingRules` # @return [Array] attr_accessor :forwarding_rules @@ -7183,7 +7189,7 @@ module Google # @return [Array] attr_accessor :disks - # List of the type and count of accelerator cards attached to the instance. + # A list of the type and count of accelerator cards attached to the instance. # Corresponds to the JSON property `guestAccelerators` # @return [Array] attr_accessor :guest_accelerators @@ -7522,8 +7528,8 @@ module Google # @return [String] attr_accessor :network - # The URL of the region where the instance group is located (for regional - # resources). + # [Output Only] The URL of the region where the instance group is located (for + # regional resources). # Corresponds to the JSON property `region` # @return [String] attr_accessor :region @@ -7538,7 +7544,8 @@ module Google # @return [Fixnum] attr_accessor :size - # The URL of the subnetwork to which all instances in the instance group belong. + # [Output Only] The URL of the subnetwork to which all instances in the instance + # group belong. # Corresponds to the JSON property `subnetwork` # @return [String] attr_accessor :subnetwork @@ -9693,7 +9700,7 @@ module Google class InstancesScopedList include Google::Apis::Core::Hashable - # [Output Only] List of instances contained in this scope. + # [Output Only] A list of instances contained in this scope. # Corresponds to the JSON property `instances` # @return [Array] attr_accessor :instances @@ -9812,7 +9819,7 @@ module Google class InstancesSetMachineResourcesRequest include Google::Apis::Core::Hashable - # List of the type and count of accelerator cards attached to the instance. + # A list of the type and count of accelerator cards attached to the instance. # Corresponds to the JSON property `guestAccelerators` # @return [Array] attr_accessor :guest_accelerators @@ -9932,7 +9939,7 @@ module Google attr_accessor :admin_enabled alias_method :admin_enabled?, :admin_enabled - # [Output Only] List of CircuitInfo objects, that describe the individual + # [Output Only] A list of CircuitInfo objects, that describe the individual # circuits in this LAG. # Corresponds to the JSON property `circuitInfos` # @return [Array] @@ -9955,7 +9962,7 @@ module Google # @return [String] attr_accessor :description - # [Output Only] List of outages expected for this Interconnect. + # [Output Only] A list of outages expected for this Interconnect. # Corresponds to the JSON property `expectedOutages` # @return [Array] attr_accessor :expected_outages @@ -10636,7 +10643,7 @@ module Google class InterconnectAttachmentsScopedList include Google::Apis::Core::Hashable - # List of interconnect attachments contained in this scope. + # A list of interconnect attachments contained in this scope. # Corresponds to the JSON property `interconnectAttachments` # @return [Array] attr_accessor :interconnect_attachments @@ -11983,7 +11990,7 @@ module Google class MachineTypesScopedList include Google::Apis::Core::Hashable - # [Output Only] List of machine types contained in this scope. + # [Output Only] A list of machine types contained in this scope. # Corresponds to the JSON property `machineTypes` # @return [Array] attr_accessor :machine_types @@ -12395,7 +12402,7 @@ module Google # @return [String] attr_accessor :name - # [Output Only] List of network peerings for the resource. + # [Output Only] A list of network peerings for the resource. # Corresponds to the JSON property `peerings` # @return [Array] attr_accessor :peerings @@ -13320,7 +13327,7 @@ module Google class OperationsScopedList include Google::Apis::Core::Hashable - # [Output Only] List of operations contained in this scope. + # [Output Only] A list of operations contained in this scope. # Corresponds to the JSON property `operations` # @return [Array] attr_accessor :operations @@ -14455,7 +14462,7 @@ module Google class RegionInstanceGroupManagersListInstancesResponse include Google::Apis::Core::Hashable - # List of managed instances. + # A list of managed instances. # Corresponds to the JSON property `managedInstances` # @return [Array] attr_accessor :managed_instances @@ -15947,7 +15954,7 @@ module Google class RoutersScopedList include Google::Apis::Core::Hashable - # List of routers contained in this scope. + # A list of routers contained in this scope. # Corresponds to the JSON property `routers` # @return [Array] attr_accessor :routers @@ -16238,9 +16245,10 @@ module Google # @return [String] attr_accessor :name - # List of rules that belong to this policy. There must always be a default rule ( - # rule with priority 2147483647 and match "*"). If no rules are provided when - # creating a security policy, a default rule with action "allow" will be added. + # A list of rules that belong to this policy. There must always be a default + # rule (rule with priority 2147483647 and match "*"). If no rules are provided + # when creating a security policy, a default rule with action "allow" will be + # added. # Corresponds to the JSON property `rules` # @return [Array] attr_accessor :rules @@ -17251,7 +17259,7 @@ module Google # @return [String] attr_accessor :creation_timestamp - # List of features enabled when the selected profile is CUSTOM. The + # A list of features enabled when the selected profile is CUSTOM. The # - method returns the set of features that can be specified in this list. This # field must be empty if the profile is not CUSTOM. # Corresponds to the JSON property `customFeatures` @@ -17864,7 +17872,7 @@ module Google class SubnetworksScopedList include Google::Apis::Core::Hashable - # List of subnetworks contained in this scope. + # A list of subnetworks contained in this scope. # Corresponds to the JSON property `subnetworks` # @return [Array] attr_accessor :subnetworks @@ -18816,7 +18824,7 @@ module Google class TargetInstancesScopedList include Google::Apis::Core::Hashable - # List of target instances contained in this scope. + # A list of target instances contained in this scope. # Corresponds to the JSON property `targetInstances` # @return [Array] attr_accessor :target_instances @@ -19379,7 +19387,7 @@ module Google class TargetPoolsScopedList include Google::Apis::Core::Hashable - # List of target pools contained in this scope. + # A list of target pools contained in this scope. # Corresponds to the JSON property `targetPools` # @return [Array] attr_accessor :target_pools @@ -20329,7 +20337,7 @@ module Google class TargetVpnGatewaysScopedList include Google::Apis::Core::Hashable - # [Output Only] List of target vpn gateways contained in this scope. + # [Output Only] A list of target vpn gateways contained in this scope. # Corresponds to the JSON property `targetVpnGateways` # @return [Array] attr_accessor :target_vpn_gateways @@ -21455,7 +21463,7 @@ module Google class VpnTunnelsScopedList include Google::Apis::Core::Hashable - # List of vpn tunnels contained in this scope. + # A list of vpn tunnels contained in this scope. # Corresponds to the JSON property `vpnTunnels` # @return [Array] attr_accessor :vpn_tunnels diff --git a/generated/google/apis/compute_beta/representations.rb b/generated/google/apis/compute_beta/representations.rb index a53143360..f9d2c65ba 100644 --- a/generated/google/apis/compute_beta/representations.rb +++ b/generated/google/apis/compute_beta/representations.rb @@ -3870,6 +3870,7 @@ module Google class CustomerEncryptionKey # @private class Representation < Google::Apis::Core::JsonRepresentation + property :kms_key_name, as: 'kmsKeyName' property :raw_key, as: 'rawKey' property :rsa_encrypted_key, as: 'rsaEncryptedKey' property :sha256, as: 'sha256' diff --git a/generated/google/apis/compute_beta/service.rb b/generated/google/apis/compute_beta/service.rb index dd2e1a991..9f3d4b2f2 100644 --- a/generated/google/apis/compute_beta/service.rb +++ b/generated/google/apis/compute_beta/service.rb @@ -6323,7 +6323,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns all of the details about the specified managed instance group. Get a + # Returns all of the details about the specified managed instance group. Gets a # list of available managed instance groups by making a list() request. # @param [String] project # Project ID for this request. @@ -7747,7 +7747,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified instance template. Get a list of available instance + # Returns the specified instance template. Gets a list of available instance # templates by making a list() request. # @param [String] project # Project ID for this request. @@ -10874,7 +10874,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified machine type. Get a list of available machine types by + # Returns the specified machine type. Gets a list of available machine types by # making a list() request. # @param [String] project # Project ID for this request. @@ -11687,8 +11687,8 @@ module Google execute_or_queue_command(command, &block) end - # Get the shared VPC host project that this project links to. May be empty if no - # link exists. + # Gets the shared VPC host project that this project links to. May be empty if + # no link exists. # @param [String] project # Project ID for this request. # @param [String] fields @@ -11723,7 +11723,7 @@ module Google execute_or_queue_command(command, &block) end - # Get service resources (a.k.a service project) associated with this host + # Gets service resources (a.k.a service project) associated with this host # project. # @param [String] project # Project ID for this request. @@ -11767,7 +11767,7 @@ module Google execute_or_queue_command(command, &block) end - # List all shared VPC host projects visible to the user in an organization. + # Lists all shared VPC host projects visible to the user in an organization. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeBeta::ProjectsListXpnHostsRequest] projects_list_xpn_hosts_request_object @@ -16966,7 +16966,7 @@ module Google execute_or_queue_command(command, &block) end - # List all of the ordered rules present in a single specified policy. + # Lists all of the ordered rules present in a single specified policy. # @param [String] project # Project ID for this request. # @param [String] ssl_policy @@ -17056,7 +17056,7 @@ module Google execute_or_queue_command(command, &block) end - # List all the SSL policies that have been configured for the specified project. + # Lists all the SSL policies that have been configured for the specified project. # @param [String] project # Project ID for this request. # @param [String] filter diff --git a/generated/google/apis/container_v1.rb b/generated/google/apis/container_v1.rb index 951d4dcd0..ac7c41f72 100644 --- a/generated/google/apis/container_v1.rb +++ b/generated/google/apis/container_v1.rb @@ -18,7 +18,7 @@ require 'google/apis/container_v1/representations.rb' module Google module Apis - # Google Kubernetes Engine API + # Kubernetes Engine API # # The Google Kubernetes Engine API is used for building and managing container # based applications, powered by the open source Kubernetes technology. @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/container-engine/ module ContainerV1 VERSION = 'V1' - REVISION = '20180308' + REVISION = '20180412' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/container_v1/classes.rb b/generated/google/apis/container_v1/classes.rb index 5370f7842..b88124d93 100644 --- a/generated/google/apis/container_v1/classes.rb +++ b/generated/google/apis/container_v1/classes.rb @@ -628,8 +628,7 @@ module Google attr_accessor :cluster_id # The name (project, location, cluster id) of the cluster to complete IP - # rotation. - # Specified in the format 'projects/*/locations/*/clusters/*'. + # rotation. Specified in the format 'projects/*/locations/*/clusters/*'. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -725,8 +724,9 @@ module Google # @return [Google::Apis::ContainerV1::NodePool] attr_accessor :node_pool - # The parent (project, location, cluster id) where the node pool will be created. - # Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. + # The parent (project, location, cluster id) where the node pool will be + # created. Specified in the format + # 'projects/*/locations/*/clusters/*/nodePools/*'. # Corresponds to the JSON property `parent` # @return [String] attr_accessor :parent @@ -1354,8 +1354,9 @@ module Google # friendly names of CPU platforms, such as # minCpuPlatform: "Intel Haswell" or # minCpuPlatform: "Intel Sandy Bridge". For more - # information, read [how to specify min CPU platform](https://cloud.google.com/ - # compute/docs/instances/specify-min-cpu-platform) + # information, read [how to specify min CPU + # platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu- + # platform) # Corresponds to the JSON property `minCpuPlatform` # @return [String] attr_accessor :min_cpu_platform @@ -2208,8 +2209,7 @@ module Google attr_accessor :cluster_id # The name (project, location, cluster id) of the cluster to set networking - # policy. - # Specified in the format 'projects/*/locations/*/clusters/*'. + # policy. Specified in the format 'projects/*/locations/*/clusters/*'. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -2438,8 +2438,8 @@ module Google # @return [String] attr_accessor :cluster_id - # The name (project, location, cluster id) of the cluster to start IP rotation. - # Specified in the format 'projects/*/locations/*/clusters/*'. + # The name (project, location, cluster id) of the cluster to start IP + # rotation. Specified in the format 'projects/*/locations/*/clusters/*'. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -2451,6 +2451,12 @@ module Google # @return [String] attr_accessor :project_id + # Whether to rotate credentials during IP rotation. + # Corresponds to the JSON property `rotateCredentials` + # @return [Boolean] + attr_accessor :rotate_credentials + alias_method :rotate_credentials?, :rotate_credentials + # Deprecated. The name of the Google Compute Engine # [zone](/compute/docs/zones#available) in which the cluster # resides. @@ -2468,6 +2474,7 @@ module Google @cluster_id = args[:cluster_id] if args.key?(:cluster_id) @name = args[:name] if args.key?(:name) @project_id = args[:project_id] if args.key?(:project_id) + @rotate_credentials = args[:rotate_credentials] if args.key?(:rotate_credentials) @zone = args[:zone] if args.key?(:zone) end end @@ -2596,8 +2603,9 @@ module Google # @return [String] attr_accessor :image_type - # The name (project, location, cluster, node pool) of the node pool to update. - # Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. + # The name (project, location, cluster, node pool) of the node pool to + # update. Specified in the format + # 'projects/*/locations/*/clusters/*/nodePools/*'. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name diff --git a/generated/google/apis/container_v1/representations.rb b/generated/google/apis/container_v1/representations.rb index 51722446f..8d3595586 100644 --- a/generated/google/apis/container_v1/representations.rb +++ b/generated/google/apis/container_v1/representations.rb @@ -862,6 +862,7 @@ module Google property :cluster_id, as: 'clusterId' property :name, as: 'name' property :project_id, as: 'projectId' + property :rotate_credentials, as: 'rotateCredentials' property :zone, as: 'zone' end end diff --git a/generated/google/apis/container_v1/service.rb b/generated/google/apis/container_v1/service.rb index f29fbaae7..51503e15e 100644 --- a/generated/google/apis/container_v1/service.rb +++ b/generated/google/apis/container_v1/service.rb @@ -20,7 +20,7 @@ require 'google/apis/errors' module Google module Apis module ContainerV1 - # Google Kubernetes Engine API + # Kubernetes Engine API # # The Google Kubernetes Engine API is used for building and managing container # based applications, powered by the open source Kubernetes technology. @@ -92,8 +92,7 @@ module Google # Completes master IP rotation. # @param [String] name # The name (project, location, cluster id) of the cluster to complete IP - # rotation. - # Specified in the format 'projects/*/locations/*/clusters/*'. + # rotation. Specified in the format 'projects/*/locations/*/clusters/*'. # @param [Google::Apis::ContainerV1::CompleteIpRotationRequest] complete_ip_rotation_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -553,8 +552,7 @@ module Google # Enables/Disables Network Policy for a cluster. # @param [String] name # The name (project, location, cluster id) of the cluster to set networking - # policy. - # Specified in the format 'projects/*/locations/*/clusters/*'. + # policy. Specified in the format 'projects/*/locations/*/clusters/*'. # @param [Google::Apis::ContainerV1::SetNetworkPolicyRequest] set_network_policy_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -621,8 +619,8 @@ module Google # Start master IP rotation. # @param [String] name - # The name (project, location, cluster id) of the cluster to start IP rotation. - # Specified in the format 'projects/*/locations/*/clusters/*'. + # The name (project, location, cluster id) of the cluster to start IP + # rotation. Specified in the format 'projects/*/locations/*/clusters/*'. # @param [Google::Apis::ContainerV1::StartIpRotationRequest] start_ip_rotation_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -723,8 +721,9 @@ module Google # Creates a node pool for a cluster. # @param [String] parent - # The parent (project, location, cluster id) where the node pool will be created. - # Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. + # The parent (project, location, cluster id) where the node pool will be + # created. Specified in the format + # 'projects/*/locations/*/clusters/*/nodePools/*'. # @param [Google::Apis::ContainerV1::CreateNodePoolRequest] create_node_pool_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -757,8 +756,9 @@ module Google # Deletes a node pool from a cluster. # @param [String] name - # The name (project, location, cluster, node pool id) of the node pool to delete. - # Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. + # The name (project, location, cluster, node pool id) of the node pool to + # delete. Specified in the format + # 'projects/*/locations/*/clusters/*/nodePools/*'. # @param [String] cluster_id # Deprecated. The name of the cluster. # This field has been deprecated and replaced by the name field. @@ -807,8 +807,9 @@ module Google # Retrieves the node pool requested. # @param [String] name - # The name (project, location, cluster, node pool id) of the node pool to get. - # Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. + # The name (project, location, cluster, node pool id) of the node pool to + # get. Specified in the format + # 'projects/*/locations/*/clusters/*/nodePools/*'. # @param [String] cluster_id # Deprecated. The name of the cluster. # This field has been deprecated and replaced by the name field. @@ -857,8 +858,8 @@ module Google # Lists the node pools for a cluster. # @param [String] parent - # The parent (project, location, cluster id) where the node pools will be listed. - # Specified in the format 'projects/*/locations/*/clusters/*'. + # The parent (project, location, cluster id) where the node pools will be + # listed. Specified in the format 'projects/*/locations/*/clusters/*'. # @param [String] cluster_id # Deprecated. The name of the cluster. # This field has been deprecated and replaced by the parent field. @@ -1044,8 +1045,9 @@ module Google # Updates the version and/or image type of a specific node pool. # @param [String] name - # The name (project, location, cluster, node pool) of the node pool to update. - # Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. + # The name (project, location, cluster, node pool) of the node pool to + # update. Specified in the format + # 'projects/*/locations/*/clusters/*/nodePools/*'. # @param [Google::Apis::ContainerV1::UpdateNodePoolRequest] update_node_pool_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1166,10 +1168,9 @@ module Google # number](https://support.google.com/cloud/answer/6158840). # This field has been deprecated and replaced by the parent field. # @param [String] zone - # Deprecated. The name of the Google Compute Engine [zone](/compute/docs/zones# - # available) - # to return operations for, or `-` for all zones. - # This field has been deprecated and replaced by the parent field. + # Deprecated. The name of the Google Compute Engine + # [zone](/compute/docs/zones#available) to return operations for, or `-` for + # all zones. This field has been deprecated and replaced by the parent field. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2127,8 +2128,9 @@ module Google # Deprecated. The name of the node pool to delete. # This field has been deprecated and replaced by the name field. # @param [String] name - # The name (project, location, cluster, node pool id) of the node pool to delete. - # Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. + # The name (project, location, cluster, node pool id) of the node pool to + # delete. Specified in the format + # 'projects/*/locations/*/clusters/*/nodePools/*'. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2177,8 +2179,9 @@ module Google # Deprecated. The name of the node pool. # This field has been deprecated and replaced by the name field. # @param [String] name - # The name (project, location, cluster, node pool id) of the node pool to get. - # Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. + # The name (project, location, cluster, node pool id) of the node pool to + # get. Specified in the format + # 'projects/*/locations/*/clusters/*/nodePools/*'. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2224,8 +2227,8 @@ module Google # Deprecated. The name of the cluster. # This field has been deprecated and replaced by the parent field. # @param [String] parent - # The parent (project, location, cluster id) where the node pools will be listed. - # Specified in the format 'projects/*/locations/*/clusters/*'. + # The parent (project, location, cluster id) where the node pools will be + # listed. Specified in the format 'projects/*/locations/*/clusters/*'. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2549,10 +2552,9 @@ module Google # number](https://support.google.com/cloud/answer/6158840). # This field has been deprecated and replaced by the parent field. # @param [String] zone - # Deprecated. The name of the Google Compute Engine [zone](/compute/docs/zones# - # available) - # to return operations for, or `-` for all zones. - # This field has been deprecated and replaced by the parent field. + # Deprecated. The name of the Google Compute Engine + # [zone](/compute/docs/zones#available) to return operations for, or `-` for + # all zones. This field has been deprecated and replaced by the parent field. # @param [String] parent # The parent (project and location) where the operations will be listed. # Specified in the format 'projects/*/locations/*'. diff --git a/generated/google/apis/container_v1beta1.rb b/generated/google/apis/container_v1beta1.rb index e5cbbaab4..657045f03 100644 --- a/generated/google/apis/container_v1beta1.rb +++ b/generated/google/apis/container_v1beta1.rb @@ -18,7 +18,7 @@ require 'google/apis/container_v1beta1/representations.rb' module Google module Apis - # Google Kubernetes Engine API + # Kubernetes Engine API # # The Google Kubernetes Engine API is used for building and managing container # based applications, powered by the open source Kubernetes technology. @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/container-engine/ module ContainerV1beta1 VERSION = 'V1beta1' - REVISION = '20180319' + REVISION = '20180412' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/container_v1beta1/classes.rb b/generated/google/apis/container_v1beta1/classes.rb index 360c5980f..aedc4793a 100644 --- a/generated/google/apis/container_v1beta1/classes.rb +++ b/generated/google/apis/container_v1beta1/classes.rb @@ -406,6 +406,11 @@ module Google # @return [String] attr_accessor :network + # NetworkConfig reports the relative names of network & subnetwork. + # Corresponds to the JSON property `networkConfig` + # @return [Google::Apis::ContainerV1beta1::NetworkConfig] + attr_accessor :network_config + # Configuration options for the NetworkPolicy feature. # https://kubernetes.io/docs/concepts/services-networking/networkpolicies/ # Corresponds to the JSON property `networkPolicy` @@ -444,8 +449,8 @@ module Google attr_accessor :private_cluster alias_method :private_cluster?, :private_cluster - # The resource labels for the cluster to use to annotate any related GCE - # resources. + # The resource labels for the cluster to use to annotate any related + # Google Compute Engine resources. # Corresponds to the JSON property `resourceLabels` # @return [Hash] attr_accessor :resource_labels @@ -523,6 +528,7 @@ module Google @monitoring_service = args[:monitoring_service] if args.key?(:monitoring_service) @name = args[:name] if args.key?(:name) @network = args[:network] if args.key?(:network) + @network_config = args[:network_config] if args.key?(:network_config) @network_policy = args[:network_policy] if args.key?(:network_policy) @node_config = args[:node_config] if args.key?(:node_config) @node_ipv4_cidr_size = args[:node_ipv4_cidr_size] if args.key?(:node_ipv4_cidr_size) @@ -658,8 +664,7 @@ module Google attr_accessor :cluster_id # The name (project, location, cluster id) of the cluster to complete IP - # rotation. - # Specified in the format 'projects/*/locations/*/clusters/*'. + # rotation. Specified in the format 'projects/*/locations/*/clusters/*'. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -755,8 +760,9 @@ module Google # @return [Google::Apis::ContainerV1beta1::NodePool] attr_accessor :node_pool - # The parent (project, location, cluster id) where the node pool will be created. - # Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. + # The parent (project, location, cluster id) where the node pool will be + # created. Specified in the format + # 'projects/*/locations/*/clusters/*/nodePools/*'. # Corresponds to the JSON property `parent` # @return [String] attr_accessor :parent @@ -1139,6 +1145,35 @@ module Google end end + # ListUsableSubnetworksResponse is the response of + # ListUsableSubnetworksRequest. + class ListUsableSubnetworksResponse + include Google::Apis::Core::Hashable + + # This token allows you to get the next page of results for list requests. + # If the number of results is larger than `page_size`, use the + # `next_page_token` as a value for the query parameter `page_token` in the + # next request. The value will become empty when there are no more pages. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # A list of usable subnetworks in the specified network project. + # Corresponds to the JSON property `subnetworks` + # @return [Array] + attr_accessor :subnetworks + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @subnetworks = args[:subnetworks] if args.key?(:subnetworks) + end + end + # MaintenancePolicy defines the maintenance policy to be used for the cluster. class MaintenancePolicy include Google::Apis::Core::Hashable @@ -1266,6 +1301,35 @@ module Google end end + # NetworkConfig reports the relative names of network & subnetwork. + class NetworkConfig + include Google::Apis::Core::Hashable + + # Output only. The name of the Google Compute Engine + # network(/compute/docs/networks-and-firewalls#networks). + # Example: projects/my-project/global/networks/my-network + # Corresponds to the JSON property `network` + # @return [String] + attr_accessor :network + + # Output only. The name of the Google Compute Engine + # [subnetwork](/compute/docs/vpc). + # Example: projects/my-project/regions/us-central1/subnetworks/my-subnet + # Corresponds to the JSON property `subnetwork` + # @return [String] + attr_accessor :subnetwork + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @network = args[:network] if args.key?(:network) + @subnetwork = args[:subnetwork] if args.key?(:subnetwork) + end + end + # Configuration options for the NetworkPolicy feature. # https://kubernetes.io/docs/concepts/services-networking/networkpolicies/ class NetworkPolicy @@ -1397,8 +1461,9 @@ module Google # friendly names of CPU platforms, such as # minCpuPlatform: "Intel Haswell" or # minCpuPlatform: "Intel Sandy Bridge". For more - # information, read [how to specify min CPU platform](https://cloud.google.com/ - # compute/docs/instances/specify-min-cpu-platform) + # information, read [how to specify min CPU + # platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu- + # platform) # Corresponds to the JSON property `minCpuPlatform` # @return [String] attr_accessor :min_cpu_platform @@ -2316,8 +2381,7 @@ module Google attr_accessor :cluster_id # The name (project, location, cluster id) of the cluster to set networking - # policy. - # Specified in the format 'projects/*/locations/*/clusters/*'. + # policy. Specified in the format 'projects/*/locations/*/clusters/*'. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -2546,8 +2610,8 @@ module Google # @return [String] attr_accessor :cluster_id - # The name (project, location, cluster id) of the cluster to start IP rotation. - # Specified in the format 'projects/*/locations/*/clusters/*'. + # The name (project, location, cluster id) of the cluster to start IP + # rotation. Specified in the format 'projects/*/locations/*/clusters/*'. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -2559,6 +2623,12 @@ module Google # @return [String] attr_accessor :project_id + # Whether to rotate credentials during IP rotation. + # Corresponds to the JSON property `rotateCredentials` + # @return [Boolean] + attr_accessor :rotate_credentials + alias_method :rotate_credentials?, :rotate_credentials + # Deprecated. The name of the Google Compute Engine # [zone](/compute/docs/zones#available) in which the cluster # resides. @@ -2576,6 +2646,7 @@ module Google @cluster_id = args[:cluster_id] if args.key?(:cluster_id) @name = args[:name] if args.key?(:name) @project_id = args[:project_id] if args.key?(:project_id) + @rotate_credentials = args[:rotate_credentials] if args.key?(:rotate_credentials) @zone = args[:zone] if args.key?(:zone) end end @@ -2704,8 +2775,9 @@ module Google # @return [String] attr_accessor :image_type - # The name (project, location, cluster, node pool) of the node pool to update. - # Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. + # The name (project, location, cluster, node pool) of the node pool to + # update. Specified in the format + # 'projects/*/locations/*/clusters/*/nodePools/*'. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -2760,6 +2832,40 @@ module Google end end + # UsableSubnetwork resource returns the subnetwork name, its associated network + # and the primary CIDR range. + class UsableSubnetwork + include Google::Apis::Core::Hashable + + # The range of internal addresses that are owned by this subnetwork. + # Corresponds to the JSON property `ipCidrRange` + # @return [String] + attr_accessor :ip_cidr_range + + # Network Name. + # Example: projects/my-project/global/networks/my-network + # Corresponds to the JSON property `network` + # @return [String] + attr_accessor :network + + # Subnetwork Name. + # Example: projects/my-project/regions/us-central1/subnetworks/my-subnet + # Corresponds to the JSON property `subnetwork` + # @return [String] + attr_accessor :subnetwork + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range) + @network = args[:network] if args.key?(:network) + @subnetwork = args[:subnetwork] if args.key?(:subnetwork) + end + end + # WorkloadMetadataConfig defines the metadata configuration to expose to # workloads on the node pool. class WorkloadMetadataConfig diff --git a/generated/google/apis/container_v1beta1/representations.rb b/generated/google/apis/container_v1beta1/representations.rb index 49232eb8d..c05805072 100644 --- a/generated/google/apis/container_v1beta1/representations.rb +++ b/generated/google/apis/container_v1beta1/representations.rb @@ -148,6 +148,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ListUsableSubnetworksResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class MaintenancePolicy class Representation < Google::Apis::Core::JsonRepresentation; end @@ -172,6 +178,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class NetworkConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class NetworkPolicy class Representation < Google::Apis::Core::JsonRepresentation; end @@ -334,6 +346,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class UsableSubnetwork + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class WorkloadMetadataConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -430,6 +448,8 @@ module Google property :monitoring_service, as: 'monitoringService' property :name, as: 'name' property :network, as: 'network' + property :network_config, as: 'networkConfig', class: Google::Apis::ContainerV1beta1::NetworkConfig, decorator: Google::Apis::ContainerV1beta1::NetworkConfig::Representation + property :network_policy, as: 'networkPolicy', class: Google::Apis::ContainerV1beta1::NetworkPolicy, decorator: Google::Apis::ContainerV1beta1::NetworkPolicy::Representation property :node_config, as: 'nodeConfig', class: Google::Apis::ContainerV1beta1::NodeConfig, decorator: Google::Apis::ContainerV1beta1::NodeConfig::Representation @@ -589,6 +609,15 @@ module Google end end + class ListUsableSubnetworksResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :subnetworks, as: 'subnetworks', class: Google::Apis::ContainerV1beta1::UsableSubnetwork, decorator: Google::Apis::ContainerV1beta1::UsableSubnetwork::Representation + + end + end + class MaintenancePolicy # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -627,6 +656,14 @@ module Google end end + class NetworkConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :network, as: 'network' + property :subnetwork, as: 'subnetwork' + end + end + class NetworkPolicy # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -907,6 +944,7 @@ module Google property :cluster_id, as: 'clusterId' property :name, as: 'name' property :project_id, as: 'projectId' + property :rotate_credentials, as: 'rotateCredentials' property :zone, as: 'zone' end end @@ -947,6 +985,15 @@ module Google end end + class UsableSubnetwork + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :ip_cidr_range, as: 'ipCidrRange' + property :network, as: 'network' + property :subnetwork, as: 'subnetwork' + end + end + class WorkloadMetadataConfig # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/container_v1beta1/service.rb b/generated/google/apis/container_v1beta1/service.rb index 1aa42e290..b10df16d5 100644 --- a/generated/google/apis/container_v1beta1/service.rb +++ b/generated/google/apis/container_v1beta1/service.rb @@ -20,7 +20,7 @@ require 'google/apis/errors' module Google module Apis module ContainerV1beta1 - # Google Kubernetes Engine API + # Kubernetes Engine API # # The Google Kubernetes Engine API is used for building and managing container # based applications, powered by the open source Kubernetes technology. @@ -48,6 +48,53 @@ module Google @batch_path = 'batch' end + # Lists subnetworks that are usable for creating clusters in a project. + # @param [String] parent + # The parent project where subnetworks are usable. + # Specified in the format 'projects/*'. + # @param [String] filter + # Filtering currently only supports equality on the networkProjectId and must + # be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId` + # is the project which owns the listed subnetworks. This defaults to the + # parent project ID. + # @param [Fixnum] page_size + # The max number of results per page that should be returned. If the number + # of available results is larger than `page_size`, a `next_page_token` is + # returned which can be used to get the next page of results in subsequent + # requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] page_token + # Specifies a page token to use. Set this to the nextPageToken returned by + # previous list requests to get the next page of results. + # @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 [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ContainerV1beta1::ListUsableSubnetworksResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ContainerV1beta1::ListUsableSubnetworksResponse] + # + # @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_project_aggregated_usable_subnetworks(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+parent}/aggregated/usableSubnetworks', options) + command.response_representation = Google::Apis::ContainerV1beta1::ListUsableSubnetworksResponse::Representation + command.response_class = Google::Apis::ContainerV1beta1::ListUsableSubnetworksResponse + command.params['parent'] = parent unless parent.nil? + command.query['filter'] = filter unless filter.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Returns configuration info about the Kubernetes Engine service. # @param [String] name # The name (project and location) of the server config to get @@ -92,8 +139,7 @@ module Google # Completes master IP rotation. # @param [String] name # The name (project, location, cluster id) of the cluster to complete IP - # rotation. - # Specified in the format 'projects/*/locations/*/clusters/*'. + # rotation. Specified in the format 'projects/*/locations/*/clusters/*'. # @param [Google::Apis::ContainerV1beta1::CompleteIpRotationRequest] complete_ip_rotation_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -554,8 +600,7 @@ module Google # Enables/Disables Network Policy for a cluster. # @param [String] name # The name (project, location, cluster id) of the cluster to set networking - # policy. - # Specified in the format 'projects/*/locations/*/clusters/*'. + # policy. Specified in the format 'projects/*/locations/*/clusters/*'. # @param [Google::Apis::ContainerV1beta1::SetNetworkPolicyRequest] set_network_policy_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -622,8 +667,8 @@ module Google # Start master IP rotation. # @param [String] name - # The name (project, location, cluster id) of the cluster to start IP rotation. - # Specified in the format 'projects/*/locations/*/clusters/*'. + # The name (project, location, cluster id) of the cluster to start IP + # rotation. Specified in the format 'projects/*/locations/*/clusters/*'. # @param [Google::Apis::ContainerV1beta1::StartIpRotationRequest] start_ip_rotation_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -724,8 +769,9 @@ module Google # Creates a node pool for a cluster. # @param [String] parent - # The parent (project, location, cluster id) where the node pool will be created. - # Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. + # The parent (project, location, cluster id) where the node pool will be + # created. Specified in the format + # 'projects/*/locations/*/clusters/*/nodePools/*'. # @param [Google::Apis::ContainerV1beta1::CreateNodePoolRequest] create_node_pool_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -758,8 +804,9 @@ module Google # Deletes a node pool from a cluster. # @param [String] name - # The name (project, location, cluster, node pool id) of the node pool to delete. - # Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. + # The name (project, location, cluster, node pool id) of the node pool to + # delete. Specified in the format + # 'projects/*/locations/*/clusters/*/nodePools/*'. # @param [String] cluster_id # Deprecated. The name of the cluster. # This field has been deprecated and replaced by the name field. @@ -808,8 +855,9 @@ module Google # Retrieves the node pool requested. # @param [String] name - # The name (project, location, cluster, node pool id) of the node pool to get. - # Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. + # The name (project, location, cluster, node pool id) of the node pool to + # get. Specified in the format + # 'projects/*/locations/*/clusters/*/nodePools/*'. # @param [String] cluster_id # Deprecated. The name of the cluster. # This field has been deprecated and replaced by the name field. @@ -858,8 +906,8 @@ module Google # Lists the node pools for a cluster. # @param [String] parent - # The parent (project, location, cluster id) where the node pools will be listed. - # Specified in the format 'projects/*/locations/*/clusters/*'. + # The parent (project, location, cluster id) where the node pools will be + # listed. Specified in the format 'projects/*/locations/*/clusters/*'. # @param [String] cluster_id # Deprecated. The name of the cluster. # This field has been deprecated and replaced by the parent field. @@ -1045,8 +1093,9 @@ module Google # Updates the version and/or image type of a specific node pool. # @param [String] name - # The name (project, location, cluster, node pool) of the node pool to update. - # Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. + # The name (project, location, cluster, node pool) of the node pool to + # update. Specified in the format + # 'projects/*/locations/*/clusters/*/nodePools/*'. # @param [Google::Apis::ContainerV1beta1::UpdateNodePoolRequest] update_node_pool_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1167,10 +1216,9 @@ module Google # number](https://support.google.com/cloud/answer/6158840). # This field has been deprecated and replaced by the parent field. # @param [String] zone - # Deprecated. The name of the Google Compute Engine [zone](/compute/docs/zones# - # available) - # to return operations for, or `-` for all zones. - # This field has been deprecated and replaced by the parent field. + # Deprecated. The name of the Google Compute Engine + # [zone](/compute/docs/zones#available) to return operations for, or `-` for + # all zones. This field has been deprecated and replaced by the parent field. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2129,8 +2177,9 @@ module Google # Deprecated. The name of the node pool to delete. # This field has been deprecated and replaced by the name field. # @param [String] name - # The name (project, location, cluster, node pool id) of the node pool to delete. - # Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. + # The name (project, location, cluster, node pool id) of the node pool to + # delete. Specified in the format + # 'projects/*/locations/*/clusters/*/nodePools/*'. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2179,8 +2228,9 @@ module Google # Deprecated. The name of the node pool. # This field has been deprecated and replaced by the name field. # @param [String] name - # The name (project, location, cluster, node pool id) of the node pool to get. - # Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. + # The name (project, location, cluster, node pool id) of the node pool to + # get. Specified in the format + # 'projects/*/locations/*/clusters/*/nodePools/*'. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2226,8 +2276,8 @@ module Google # Deprecated. The name of the cluster. # This field has been deprecated and replaced by the parent field. # @param [String] parent - # The parent (project, location, cluster id) where the node pools will be listed. - # Specified in the format 'projects/*/locations/*/clusters/*'. + # The parent (project, location, cluster id) where the node pools will be + # listed. Specified in the format 'projects/*/locations/*/clusters/*'. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2551,10 +2601,9 @@ module Google # number](https://support.google.com/cloud/answer/6158840). # This field has been deprecated and replaced by the parent field. # @param [String] zone - # Deprecated. The name of the Google Compute Engine [zone](/compute/docs/zones# - # available) - # to return operations for, or `-` for all zones. - # This field has been deprecated and replaced by the parent field. + # Deprecated. The name of the Google Compute Engine + # [zone](/compute/docs/zones#available) to return operations for, or `-` for + # all zones. This field has been deprecated and replaced by the parent field. # @param [String] parent # The parent (project and location) where the operations will be listed. # Specified in the format 'projects/*/locations/*'.