Autogenerated update (2017-12-01)

Update:
- compute_alpha
- compute_v1
- monitoring_v3
- youtube_partner_v1
This commit is contained in:
Google APIs 2017-12-01 00:36:08 +00:00
parent 33497b6dd8
commit a587ed8ee8
14 changed files with 1839 additions and 112 deletions

View File

@ -15683,6 +15683,10 @@
"/compute:alpha/CustomerEncryptionKeyProtectedDisk": customer_encryption_key_protected_disk "/compute:alpha/CustomerEncryptionKeyProtectedDisk": customer_encryption_key_protected_disk
"/compute:alpha/CustomerEncryptionKeyProtectedDisk/diskEncryptionKey": disk_encryption_key "/compute:alpha/CustomerEncryptionKeyProtectedDisk/diskEncryptionKey": disk_encryption_key
"/compute:alpha/CustomerEncryptionKeyProtectedDisk/source": source "/compute:alpha/CustomerEncryptionKeyProtectedDisk/source": source
"/compute:alpha/DailyMaintenanceWindow": daily_maintenance_window
"/compute:alpha/DailyMaintenanceWindow/daysInCycle": days_in_cycle
"/compute:alpha/DailyMaintenanceWindow/duration": duration
"/compute:alpha/DailyMaintenanceWindow/startTime": start_time
"/compute:alpha/DeprecationStatus": deprecation_status "/compute:alpha/DeprecationStatus": deprecation_status
"/compute:alpha/DeprecationStatus/deleted": deleted "/compute:alpha/DeprecationStatus/deleted": deleted
"/compute:alpha/DeprecationStatus/deprecated": deprecated "/compute:alpha/DeprecationStatus/deprecated": deprecated
@ -16140,6 +16144,10 @@
"/compute:alpha/HostsScopedList/warning/data/datum/key": key "/compute:alpha/HostsScopedList/warning/data/datum/key": key
"/compute:alpha/HostsScopedList/warning/data/datum/value": value "/compute:alpha/HostsScopedList/warning/data/datum/value": value
"/compute:alpha/HostsScopedList/warning/message": message "/compute:alpha/HostsScopedList/warning/message": message
"/compute:alpha/HourlyMaintenanceWindow": hourly_maintenance_window
"/compute:alpha/HourlyMaintenanceWindow/duration": duration
"/compute:alpha/HourlyMaintenanceWindow/hoursInCycle": hours_in_cycle
"/compute:alpha/HourlyMaintenanceWindow/startTime": start_time
"/compute:alpha/HttpHealthCheck": http_health_check "/compute:alpha/HttpHealthCheck": http_health_check
"/compute:alpha/HttpHealthCheck/checkIntervalSec": check_interval_sec "/compute:alpha/HttpHealthCheck/checkIntervalSec": check_interval_sec
"/compute:alpha/HttpHealthCheck/creationTimestamp": creation_timestamp "/compute:alpha/HttpHealthCheck/creationTimestamp": creation_timestamp
@ -16227,6 +16235,9 @@
"/compute:alpha/Image/sourceImage": source_image "/compute:alpha/Image/sourceImage": source_image
"/compute:alpha/Image/sourceImageEncryptionKey": source_image_encryption_key "/compute:alpha/Image/sourceImageEncryptionKey": source_image_encryption_key
"/compute:alpha/Image/sourceImageId": source_image_id "/compute:alpha/Image/sourceImageId": source_image_id
"/compute:alpha/Image/sourceSnapshot": source_snapshot
"/compute:alpha/Image/sourceSnapshotEncryptionKey": source_snapshot_encryption_key
"/compute:alpha/Image/sourceSnapshotId": source_snapshot_id
"/compute:alpha/Image/sourceType": source_type "/compute:alpha/Image/sourceType": source_type
"/compute:alpha/Image/status": status "/compute:alpha/Image/status": status
"/compute:alpha/ImageList": image_list "/compute:alpha/ImageList": image_list
@ -16272,6 +16283,7 @@
"/compute:alpha/Instance/selfLink": self_link "/compute:alpha/Instance/selfLink": self_link
"/compute:alpha/Instance/serviceAccounts": service_accounts "/compute:alpha/Instance/serviceAccounts": service_accounts
"/compute:alpha/Instance/serviceAccounts/service_account": service_account "/compute:alpha/Instance/serviceAccounts/service_account": service_account
"/compute:alpha/Instance/shieldedVmConfig": shielded_vm_config
"/compute:alpha/Instance/startRestricted": start_restricted "/compute:alpha/Instance/startRestricted": start_restricted
"/compute:alpha/Instance/status": status "/compute:alpha/Instance/status": status
"/compute:alpha/Instance/statusMessage": status_message "/compute:alpha/Instance/statusMessage": status_message
@ -16400,6 +16412,7 @@
"/compute:alpha/InstanceGroupManagerAutoHealingPolicy/healthCheck": health_check "/compute:alpha/InstanceGroupManagerAutoHealingPolicy/healthCheck": health_check
"/compute:alpha/InstanceGroupManagerAutoHealingPolicy/initialDelaySec": initial_delay_sec "/compute:alpha/InstanceGroupManagerAutoHealingPolicy/initialDelaySec": initial_delay_sec
"/compute:alpha/InstanceGroupManagerAutoHealingPolicy/maxUnavailable": max_unavailable "/compute:alpha/InstanceGroupManagerAutoHealingPolicy/maxUnavailable": max_unavailable
"/compute:alpha/InstanceGroupManagerAutoHealingPolicy/mode": mode
"/compute:alpha/InstanceGroupManagerList": instance_group_manager_list "/compute:alpha/InstanceGroupManagerList": instance_group_manager_list
"/compute:alpha/InstanceGroupManagerList/id": id "/compute:alpha/InstanceGroupManagerList/id": id
"/compute:alpha/InstanceGroupManagerList/items": items "/compute:alpha/InstanceGroupManagerList/items": items
@ -16608,6 +16621,12 @@
"/compute:alpha/InstanceWithNamedPorts/namedPorts": named_ports "/compute:alpha/InstanceWithNamedPorts/namedPorts": named_ports
"/compute:alpha/InstanceWithNamedPorts/namedPorts/named_port": named_port "/compute:alpha/InstanceWithNamedPorts/namedPorts/named_port": named_port
"/compute:alpha/InstanceWithNamedPorts/status": status "/compute:alpha/InstanceWithNamedPorts/status": status
"/compute:alpha/InstancesAddMaintenancePoliciesRequest": instances_add_maintenance_policies_request
"/compute:alpha/InstancesAddMaintenancePoliciesRequest/maintenancePolicies": maintenance_policies
"/compute:alpha/InstancesAddMaintenancePoliciesRequest/maintenancePolicies/maintenance_policy": maintenance_policy
"/compute:alpha/InstancesRemoveMaintenancePoliciesRequest": instances_remove_maintenance_policies_request
"/compute:alpha/InstancesRemoveMaintenancePoliciesRequest/maintenancePolicies": maintenance_policies
"/compute:alpha/InstancesRemoveMaintenancePoliciesRequest/maintenancePolicies/maintenance_policy": maintenance_policy
"/compute:alpha/InstancesScopedList": instances_scoped_list "/compute:alpha/InstancesScopedList": instances_scoped_list
"/compute:alpha/InstancesScopedList/instances": instances "/compute:alpha/InstancesScopedList/instances": instances
"/compute:alpha/InstancesScopedList/instances/instance": instance "/compute:alpha/InstancesScopedList/instances/instance": instance
@ -16664,6 +16683,11 @@
"/compute:alpha/Interconnect/requestedLinkCount": requested_link_count "/compute:alpha/Interconnect/requestedLinkCount": requested_link_count
"/compute:alpha/Interconnect/selfLink": self_link "/compute:alpha/Interconnect/selfLink": self_link
"/compute:alpha/InterconnectAttachment": interconnect_attachment "/compute:alpha/InterconnectAttachment": interconnect_attachment
"/compute:alpha/InterconnectAttachment/adminEnabled": admin_enabled
"/compute:alpha/InterconnectAttachment/availabilityZone": availability_zone
"/compute:alpha/InterconnectAttachment/bandwidth": bandwidth
"/compute:alpha/InterconnectAttachment/candidateSubnets": candidate_subnets
"/compute:alpha/InterconnectAttachment/candidateSubnets/candidate_subnet": candidate_subnet
"/compute:alpha/InterconnectAttachment/cloudRouterIpAddress": cloud_router_ip_address "/compute:alpha/InterconnectAttachment/cloudRouterIpAddress": cloud_router_ip_address
"/compute:alpha/InterconnectAttachment/creationTimestamp": creation_timestamp "/compute:alpha/InterconnectAttachment/creationTimestamp": creation_timestamp
"/compute:alpha/InterconnectAttachment/customerRouterIpAddress": customer_router_ip_address "/compute:alpha/InterconnectAttachment/customerRouterIpAddress": customer_router_ip_address
@ -16674,10 +16698,14 @@
"/compute:alpha/InterconnectAttachment/kind": kind "/compute:alpha/InterconnectAttachment/kind": kind
"/compute:alpha/InterconnectAttachment/name": name "/compute:alpha/InterconnectAttachment/name": name
"/compute:alpha/InterconnectAttachment/operationalStatus": operational_status "/compute:alpha/InterconnectAttachment/operationalStatus": operational_status
"/compute:alpha/InterconnectAttachment/pairingKey": pairing_key
"/compute:alpha/InterconnectAttachment/privateInterconnectInfo": private_interconnect_info "/compute:alpha/InterconnectAttachment/privateInterconnectInfo": private_interconnect_info
"/compute:alpha/InterconnectAttachment/region": region "/compute:alpha/InterconnectAttachment/region": region
"/compute:alpha/InterconnectAttachment/router": router "/compute:alpha/InterconnectAttachment/router": router
"/compute:alpha/InterconnectAttachment/selfLink": self_link "/compute:alpha/InterconnectAttachment/selfLink": self_link
"/compute:alpha/InterconnectAttachment/state": state
"/compute:alpha/InterconnectAttachment/type": type
"/compute:alpha/InterconnectAttachment/vlanTag8021q": vlan_tag8021q
"/compute:alpha/InterconnectAttachmentAggregatedList": interconnect_attachment_aggregated_list "/compute:alpha/InterconnectAttachmentAggregatedList": interconnect_attachment_aggregated_list
"/compute:alpha/InterconnectAttachmentAggregatedList/id": id "/compute:alpha/InterconnectAttachmentAggregatedList/id": id
"/compute:alpha/InterconnectAttachmentAggregatedList/items": items "/compute:alpha/InterconnectAttachmentAggregatedList/items": items
@ -16905,6 +16933,56 @@
"/compute:alpha/MachineTypesScopedList/warning/data/datum/key": key "/compute:alpha/MachineTypesScopedList/warning/data/datum/key": key
"/compute:alpha/MachineTypesScopedList/warning/data/datum/value": value "/compute:alpha/MachineTypesScopedList/warning/data/datum/value": value
"/compute:alpha/MachineTypesScopedList/warning/message": message "/compute:alpha/MachineTypesScopedList/warning/message": message
"/compute:alpha/MaintenancePoliciesList": maintenance_policies_list
"/compute:alpha/MaintenancePoliciesList/id": id
"/compute:alpha/MaintenancePoliciesList/items": items
"/compute:alpha/MaintenancePoliciesList/items/item": item
"/compute:alpha/MaintenancePoliciesList/kind": kind
"/compute:alpha/MaintenancePoliciesList/nextPageToken": next_page_token
"/compute:alpha/MaintenancePoliciesList/selfLink": self_link
"/compute:alpha/MaintenancePoliciesList/warning": warning
"/compute:alpha/MaintenancePoliciesList/warning/code": code
"/compute:alpha/MaintenancePoliciesList/warning/data": data
"/compute:alpha/MaintenancePoliciesList/warning/data/datum": datum
"/compute:alpha/MaintenancePoliciesList/warning/data/datum/key": key
"/compute:alpha/MaintenancePoliciesList/warning/data/datum/value": value
"/compute:alpha/MaintenancePoliciesList/warning/message": message
"/compute:alpha/MaintenancePoliciesScopedList": maintenance_policies_scoped_list
"/compute:alpha/MaintenancePoliciesScopedList/maintenancePolicies": maintenance_policies
"/compute:alpha/MaintenancePoliciesScopedList/maintenancePolicies/maintenance_policy": maintenance_policy
"/compute:alpha/MaintenancePoliciesScopedList/warning": warning
"/compute:alpha/MaintenancePoliciesScopedList/warning/code": code
"/compute:alpha/MaintenancePoliciesScopedList/warning/data": data
"/compute:alpha/MaintenancePoliciesScopedList/warning/data/datum": datum
"/compute:alpha/MaintenancePoliciesScopedList/warning/data/datum/key": key
"/compute:alpha/MaintenancePoliciesScopedList/warning/data/datum/value": value
"/compute:alpha/MaintenancePoliciesScopedList/warning/message": message
"/compute:alpha/MaintenancePolicy": maintenance_policy
"/compute:alpha/MaintenancePolicy/creationTimestamp": creation_timestamp
"/compute:alpha/MaintenancePolicy/description": description
"/compute:alpha/MaintenancePolicy/id": id
"/compute:alpha/MaintenancePolicy/kind": kind
"/compute:alpha/MaintenancePolicy/name": name
"/compute:alpha/MaintenancePolicy/region": region
"/compute:alpha/MaintenancePolicy/selfLink": self_link
"/compute:alpha/MaintenancePolicy/vmMaintenancePolicy": vm_maintenance_policy
"/compute:alpha/MaintenancePolicyAggregatedList": maintenance_policy_aggregated_list
"/compute:alpha/MaintenancePolicyAggregatedList/id": id
"/compute:alpha/MaintenancePolicyAggregatedList/items": items
"/compute:alpha/MaintenancePolicyAggregatedList/items/item": item
"/compute:alpha/MaintenancePolicyAggregatedList/kind": kind
"/compute:alpha/MaintenancePolicyAggregatedList/nextPageToken": next_page_token
"/compute:alpha/MaintenancePolicyAggregatedList/selfLink": self_link
"/compute:alpha/MaintenancePolicyAggregatedList/warning": warning
"/compute:alpha/MaintenancePolicyAggregatedList/warning/code": code
"/compute:alpha/MaintenancePolicyAggregatedList/warning/data": data
"/compute:alpha/MaintenancePolicyAggregatedList/warning/data/datum": datum
"/compute:alpha/MaintenancePolicyAggregatedList/warning/data/datum/key": key
"/compute:alpha/MaintenancePolicyAggregatedList/warning/data/datum/value": value
"/compute:alpha/MaintenancePolicyAggregatedList/warning/message": message
"/compute:alpha/MaintenanceWindow": maintenance_window
"/compute:alpha/MaintenanceWindow/dailyMaintenanceWindow": daily_maintenance_window
"/compute:alpha/MaintenanceWindow/hourlyMaintenanceWindow": hourly_maintenance_window
"/compute:alpha/ManagedInstance": managed_instance "/compute:alpha/ManagedInstance": managed_instance
"/compute:alpha/ManagedInstance/currentAction": current_action "/compute:alpha/ManagedInstance/currentAction": current_action
"/compute:alpha/ManagedInstance/id": id "/compute:alpha/ManagedInstance/id": id
@ -17650,6 +17728,9 @@
"/compute:alpha/ServiceAccount/email": email "/compute:alpha/ServiceAccount/email": email
"/compute:alpha/ServiceAccount/scopes": scopes "/compute:alpha/ServiceAccount/scopes": scopes
"/compute:alpha/ServiceAccount/scopes/scope": scope "/compute:alpha/ServiceAccount/scopes/scope": scope
"/compute:alpha/ShieldedVmConfig": shielded_vm_config
"/compute:alpha/ShieldedVmConfig/enableSecureBoot": enable_secure_boot
"/compute:alpha/ShieldedVmConfig/enableVtpm": enable_vtpm
"/compute:alpha/SignedUrlKey": signed_url_key "/compute:alpha/SignedUrlKey": signed_url_key
"/compute:alpha/SignedUrlKey/keyName": key_name "/compute:alpha/SignedUrlKey/keyName": key_name
"/compute:alpha/SignedUrlKey/keyValue": key_value "/compute:alpha/SignedUrlKey/keyValue": key_value
@ -18210,6 +18291,8 @@
"/compute:alpha/UsageExportLocation": usage_export_location "/compute:alpha/UsageExportLocation": usage_export_location
"/compute:alpha/UsageExportLocation/bucketName": bucket_name "/compute:alpha/UsageExportLocation/bucketName": bucket_name
"/compute:alpha/UsageExportLocation/reportNamePrefix": report_name_prefix "/compute:alpha/UsageExportLocation/reportNamePrefix": report_name_prefix
"/compute:alpha/VmMaintenancePolicy": vm_maintenance_policy
"/compute:alpha/VmMaintenancePolicy/maintenanceWindow": maintenance_window
"/compute:alpha/VpnTunnel": vpn_tunnel "/compute:alpha/VpnTunnel": vpn_tunnel
"/compute:alpha/VpnTunnel/creationTimestamp": creation_timestamp "/compute:alpha/VpnTunnel/creationTimestamp": creation_timestamp
"/compute:alpha/VpnTunnel/description": description "/compute:alpha/VpnTunnel/description": description
@ -19078,6 +19161,11 @@
"/compute:alpha/compute.instances.addAccessConfig/project": project "/compute:alpha/compute.instances.addAccessConfig/project": project
"/compute:alpha/compute.instances.addAccessConfig/requestId": request_id "/compute:alpha/compute.instances.addAccessConfig/requestId": request_id
"/compute:alpha/compute.instances.addAccessConfig/zone": zone "/compute:alpha/compute.instances.addAccessConfig/zone": zone
"/compute:alpha/compute.instances.addMaintenancePolicies": add_instance_maintenance_policies
"/compute:alpha/compute.instances.addMaintenancePolicies/instance": instance
"/compute:alpha/compute.instances.addMaintenancePolicies/project": project
"/compute:alpha/compute.instances.addMaintenancePolicies/requestId": request_id
"/compute:alpha/compute.instances.addMaintenancePolicies/zone": zone
"/compute:alpha/compute.instances.aggregatedList": aggregated_instance_list "/compute:alpha/compute.instances.aggregatedList": aggregated_instance_list
"/compute:alpha/compute.instances.aggregatedList/filter": filter "/compute:alpha/compute.instances.aggregatedList/filter": filter
"/compute:alpha/compute.instances.aggregatedList/maxResults": max_results "/compute:alpha/compute.instances.aggregatedList/maxResults": max_results
@ -19147,6 +19235,11 @@
"/compute:alpha/compute.instances.listReferrers/pageToken": page_token "/compute:alpha/compute.instances.listReferrers/pageToken": page_token
"/compute:alpha/compute.instances.listReferrers/project": project "/compute:alpha/compute.instances.listReferrers/project": project
"/compute:alpha/compute.instances.listReferrers/zone": zone "/compute:alpha/compute.instances.listReferrers/zone": zone
"/compute:alpha/compute.instances.removeMaintenancePolicies": remove_instance_maintenance_policies
"/compute:alpha/compute.instances.removeMaintenancePolicies/instance": instance
"/compute:alpha/compute.instances.removeMaintenancePolicies/project": project
"/compute:alpha/compute.instances.removeMaintenancePolicies/requestId": request_id
"/compute:alpha/compute.instances.removeMaintenancePolicies/zone": zone
"/compute:alpha/compute.instances.reset": reset_instance "/compute:alpha/compute.instances.reset": reset_instance
"/compute:alpha/compute.instances.reset/instance": instance "/compute:alpha/compute.instances.reset/instance": instance
"/compute:alpha/compute.instances.reset/project": project "/compute:alpha/compute.instances.reset/project": project
@ -19251,6 +19344,11 @@
"/compute:alpha/compute.instances.updateNetworkInterface/project": project "/compute:alpha/compute.instances.updateNetworkInterface/project": project
"/compute:alpha/compute.instances.updateNetworkInterface/requestId": request_id "/compute:alpha/compute.instances.updateNetworkInterface/requestId": request_id
"/compute:alpha/compute.instances.updateNetworkInterface/zone": zone "/compute:alpha/compute.instances.updateNetworkInterface/zone": zone
"/compute:alpha/compute.instances.updateShieldedVmConfig": update_instance_shielded_vm_config
"/compute:alpha/compute.instances.updateShieldedVmConfig/instance": instance
"/compute:alpha/compute.instances.updateShieldedVmConfig/project": project
"/compute:alpha/compute.instances.updateShieldedVmConfig/requestId": request_id
"/compute:alpha/compute.instances.updateShieldedVmConfig/zone": zone
"/compute:alpha/compute.interconnectAttachments.aggregatedList": aggregated_interconnect_attachment_list "/compute:alpha/compute.interconnectAttachments.aggregatedList": aggregated_interconnect_attachment_list
"/compute:alpha/compute.interconnectAttachments.aggregatedList/filter": filter "/compute:alpha/compute.interconnectAttachments.aggregatedList/filter": filter
"/compute:alpha/compute.interconnectAttachments.aggregatedList/maxResults": max_results "/compute:alpha/compute.interconnectAttachments.aggregatedList/maxResults": max_results
@ -19384,6 +19482,44 @@
"/compute:alpha/compute.machineTypes.list/pageToken": page_token "/compute:alpha/compute.machineTypes.list/pageToken": page_token
"/compute:alpha/compute.machineTypes.list/project": project "/compute:alpha/compute.machineTypes.list/project": project
"/compute:alpha/compute.machineTypes.list/zone": zone "/compute:alpha/compute.machineTypes.list/zone": zone
"/compute:alpha/compute.maintenancePolicies.aggregatedList": aggregated_maintenance_policy_list
"/compute:alpha/compute.maintenancePolicies.aggregatedList/filter": filter
"/compute:alpha/compute.maintenancePolicies.aggregatedList/maxResults": max_results
"/compute:alpha/compute.maintenancePolicies.aggregatedList/orderBy": order_by
"/compute:alpha/compute.maintenancePolicies.aggregatedList/pageToken": page_token
"/compute:alpha/compute.maintenancePolicies.aggregatedList/project": project
"/compute:alpha/compute.maintenancePolicies.delete": delete_maintenance_policy
"/compute:alpha/compute.maintenancePolicies.delete/maintenancePolicy": maintenance_policy
"/compute:alpha/compute.maintenancePolicies.delete/project": project
"/compute:alpha/compute.maintenancePolicies.delete/region": region
"/compute:alpha/compute.maintenancePolicies.delete/requestId": request_id
"/compute:alpha/compute.maintenancePolicies.get": get_maintenance_policy
"/compute:alpha/compute.maintenancePolicies.get/maintenancePolicy": maintenance_policy
"/compute:alpha/compute.maintenancePolicies.get/project": project
"/compute:alpha/compute.maintenancePolicies.get/region": region
"/compute:alpha/compute.maintenancePolicies.getIamPolicy": get_maintenance_policy_iam_policy
"/compute:alpha/compute.maintenancePolicies.getIamPolicy/project": project
"/compute:alpha/compute.maintenancePolicies.getIamPolicy/region": region
"/compute:alpha/compute.maintenancePolicies.getIamPolicy/resource": resource
"/compute:alpha/compute.maintenancePolicies.insert": insert_maintenance_policy
"/compute:alpha/compute.maintenancePolicies.insert/project": project
"/compute:alpha/compute.maintenancePolicies.insert/region": region
"/compute:alpha/compute.maintenancePolicies.insert/requestId": request_id
"/compute:alpha/compute.maintenancePolicies.list": list_maintenance_policies
"/compute:alpha/compute.maintenancePolicies.list/filter": filter
"/compute:alpha/compute.maintenancePolicies.list/maxResults": max_results
"/compute:alpha/compute.maintenancePolicies.list/orderBy": order_by
"/compute:alpha/compute.maintenancePolicies.list/pageToken": page_token
"/compute:alpha/compute.maintenancePolicies.list/project": project
"/compute:alpha/compute.maintenancePolicies.list/region": region
"/compute:alpha/compute.maintenancePolicies.setIamPolicy": set_maintenance_policy_iam_policy
"/compute:alpha/compute.maintenancePolicies.setIamPolicy/project": project
"/compute:alpha/compute.maintenancePolicies.setIamPolicy/region": region
"/compute:alpha/compute.maintenancePolicies.setIamPolicy/resource": resource
"/compute:alpha/compute.maintenancePolicies.testIamPermissions": test_maintenance_policy_iam_permissions
"/compute:alpha/compute.maintenancePolicies.testIamPermissions/project": project
"/compute:alpha/compute.maintenancePolicies.testIamPermissions/region": region
"/compute:alpha/compute.maintenancePolicies.testIamPermissions/resource": resource
"/compute:alpha/compute.networkEndpointGroups.aggregatedList": aggregated_network_endpoint_group_list "/compute:alpha/compute.networkEndpointGroups.aggregatedList": aggregated_network_endpoint_group_list
"/compute:alpha/compute.networkEndpointGroups.aggregatedList/filter": filter "/compute:alpha/compute.networkEndpointGroups.aggregatedList/filter": filter
"/compute:alpha/compute.networkEndpointGroups.aggregatedList/maxResults": max_results "/compute:alpha/compute.networkEndpointGroups.aggregatedList/maxResults": max_results
@ -28919,6 +29055,7 @@
"/container:v1beta1/HttpLoadBalancing": http_load_balancing "/container:v1beta1/HttpLoadBalancing": http_load_balancing
"/container:v1beta1/HttpLoadBalancing/disabled": disabled "/container:v1beta1/HttpLoadBalancing/disabled": disabled
"/container:v1beta1/IPAllocationPolicy": ip_allocation_policy "/container:v1beta1/IPAllocationPolicy": ip_allocation_policy
"/container:v1beta1/IPAllocationPolicy/allowRouteOverlap": allow_route_overlap
"/container:v1beta1/IPAllocationPolicy/clusterIpv4Cidr": cluster_ipv4_cidr "/container:v1beta1/IPAllocationPolicy/clusterIpv4Cidr": cluster_ipv4_cidr
"/container:v1beta1/IPAllocationPolicy/clusterIpv4CidrBlock": cluster_ipv4_cidr_block "/container:v1beta1/IPAllocationPolicy/clusterIpv4CidrBlock": cluster_ipv4_cidr_block
"/container:v1beta1/IPAllocationPolicy/clusterSecondaryRangeName": cluster_secondary_range_name "/container:v1beta1/IPAllocationPolicy/clusterSecondaryRangeName": cluster_secondary_range_name
@ -51764,6 +51901,7 @@
"/monitoring:v3/UptimeCheckConfig/httpCheck": http_check "/monitoring:v3/UptimeCheckConfig/httpCheck": http_check
"/monitoring:v3/UptimeCheckConfig/internalCheckers": internal_checkers "/monitoring:v3/UptimeCheckConfig/internalCheckers": internal_checkers
"/monitoring:v3/UptimeCheckConfig/internalCheckers/internal_checker": internal_checker "/monitoring:v3/UptimeCheckConfig/internalCheckers/internal_checker": internal_checker
"/monitoring:v3/UptimeCheckConfig/isInternal": is_internal
"/monitoring:v3/UptimeCheckConfig/monitoredResource": monitored_resource "/monitoring:v3/UptimeCheckConfig/monitoredResource": monitored_resource
"/monitoring:v3/UptimeCheckConfig/name": name "/monitoring:v3/UptimeCheckConfig/name": name
"/monitoring:v3/UptimeCheckConfig/period": period "/monitoring:v3/UptimeCheckConfig/period": period

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/compute/docs/reference/latest/ # @see https://developers.google.com/compute/docs/reference/latest/
module ComputeAlpha module ComputeAlpha
VERSION = 'Alpha' VERSION = 'Alpha'
REVISION = '20171114' REVISION = '20171127'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

File diff suppressed because it is too large Load Diff

View File

@ -532,6 +532,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class DailyMaintenanceWindow
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DeprecationStatus class DeprecationStatus
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1006,6 +1012,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class HourlyMaintenanceWindow
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class HttpHealthCheck class HttpHealthCheck
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1474,6 +1486,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end 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 InstancesScopedList class InstancesScopedList
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1810,6 +1834,72 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end 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 ManagedInstance
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -2674,6 +2764,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class ShieldedVmConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SignedUrlKey class SignedUrlKey
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -3352,6 +3448,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class VmMaintenancePolicy
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class VpnTunnel class VpnTunnel
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -4405,6 +4507,15 @@ module Google
end end
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 class DeprecationStatus
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -5305,6 +5416,15 @@ module Google
end end
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 class HttpHealthCheck
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -5439,6 +5559,10 @@ module Google
property :source_image_encryption_key, as: 'sourceImageEncryptionKey', class: Google::Apis::ComputeAlpha::CustomerEncryptionKey, decorator: Google::Apis::ComputeAlpha::CustomerEncryptionKey::Representation property :source_image_encryption_key, as: 'sourceImageEncryptionKey', class: Google::Apis::ComputeAlpha::CustomerEncryptionKey, decorator: Google::Apis::ComputeAlpha::CustomerEncryptionKey::Representation
property :source_image_id, as: 'sourceImageId' property :source_image_id, as: 'sourceImageId'
property :source_snapshot, as: 'sourceSnapshot'
property :source_snapshot_encryption_key, as: 'sourceSnapshotEncryptionKey', class: Google::Apis::ComputeAlpha::CustomerEncryptionKey, decorator: Google::Apis::ComputeAlpha::CustomerEncryptionKey::Representation
property :source_snapshot_id, as: 'sourceSnapshotId'
property :source_type, as: 'sourceType' property :source_type, as: 'sourceType'
property :status, as: 'status' property :status, as: 'status'
end end
@ -5517,6 +5641,8 @@ module Google
property :self_link, as: 'selfLink' property :self_link, as: 'selfLink'
collection :service_accounts, as: 'serviceAccounts', class: Google::Apis::ComputeAlpha::ServiceAccount, decorator: Google::Apis::ComputeAlpha::ServiceAccount::Representation collection :service_accounts, as: 'serviceAccounts', class: Google::Apis::ComputeAlpha::ServiceAccount, decorator: Google::Apis::ComputeAlpha::ServiceAccount::Representation
property :shielded_vm_config, as: 'shieldedVmConfig', class: Google::Apis::ComputeAlpha::ShieldedVmConfig, decorator: Google::Apis::ComputeAlpha::ShieldedVmConfig::Representation
property :start_restricted, as: 'startRestricted' property :start_restricted, as: 'startRestricted'
property :status, as: 'status' property :status, as: 'status'
property :status_message, as: 'statusMessage' property :status_message, as: 'statusMessage'
@ -5749,6 +5875,7 @@ module Google
property :initial_delay_sec, as: 'initialDelaySec' property :initial_delay_sec, as: 'initialDelaySec'
property :max_unavailable, as: 'maxUnavailable', class: Google::Apis::ComputeAlpha::FixedOrPercent, decorator: Google::Apis::ComputeAlpha::FixedOrPercent::Representation property :max_unavailable, as: 'maxUnavailable', class: Google::Apis::ComputeAlpha::FixedOrPercent, decorator: Google::Apis::ComputeAlpha::FixedOrPercent::Representation
property :mode, as: 'mode'
end end
end end
@ -6215,6 +6342,20 @@ module Google
end end
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 InstancesScopedList class InstancesScopedList
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -6323,6 +6464,10 @@ module Google
class InterconnectAttachment class InterconnectAttachment
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :admin_enabled, as: 'adminEnabled'
property :availability_zone, as: 'availabilityZone'
property :bandwidth, as: 'bandwidth'
collection :candidate_subnets, as: 'candidateSubnets'
property :cloud_router_ip_address, as: 'cloudRouterIpAddress' property :cloud_router_ip_address, as: 'cloudRouterIpAddress'
property :creation_timestamp, as: 'creationTimestamp' property :creation_timestamp, as: 'creationTimestamp'
property :customer_router_ip_address, as: 'customerRouterIpAddress' property :customer_router_ip_address, as: 'customerRouterIpAddress'
@ -6333,11 +6478,15 @@ module Google
property :kind, as: 'kind' property :kind, as: 'kind'
property :name, as: 'name' property :name, as: 'name'
property :operational_status, as: 'operationalStatus' property :operational_status, as: 'operationalStatus'
property :pairing_key, as: 'pairingKey'
property :private_interconnect_info, as: 'privateInterconnectInfo', class: Google::Apis::ComputeAlpha::InterconnectAttachmentPrivateInfo, decorator: Google::Apis::ComputeAlpha::InterconnectAttachmentPrivateInfo::Representation property :private_interconnect_info, as: 'privateInterconnectInfo', class: Google::Apis::ComputeAlpha::InterconnectAttachmentPrivateInfo, decorator: Google::Apis::ComputeAlpha::InterconnectAttachmentPrivateInfo::Representation
property :region, as: 'region' property :region, as: 'region'
property :router, as: 'router' property :router, as: 'router'
property :self_link, as: 'selfLink' property :self_link, as: 'selfLink'
property :state, as: 'state'
property :type, as: 'type'
property :vlan_tag8021q, as: 'vlanTag8021q'
end end
end end
@ -6826,6 +6975,123 @@ module Google
end end
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 class ManagedInstance
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -8339,6 +8605,14 @@ module Google
end end
end end
class ShieldedVmConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :enable_secure_boot, as: 'enableSecureBoot'
property :enable_vtpm, as: 'enableVtpm'
end
end
class SignedUrlKey class SignedUrlKey
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -8545,8 +8819,6 @@ module Google
class StatefulPolicy class StatefulPolicy
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
collection :preserved_disks, as: 'preservedDisks', class: Google::Apis::ComputeAlpha::StatefulPolicyPreservedDisk, decorator: Google::Apis::ComputeAlpha::StatefulPolicyPreservedDisk::Representation
property :preserved_resources, as: 'preservedResources', class: Google::Apis::ComputeAlpha::StatefulPolicyPreservedResources, decorator: Google::Apis::ComputeAlpha::StatefulPolicyPreservedResources::Representation property :preserved_resources, as: 'preservedResources', class: Google::Apis::ComputeAlpha::StatefulPolicyPreservedResources, decorator: Google::Apis::ComputeAlpha::StatefulPolicyPreservedResources::Representation
end end
@ -9515,6 +9787,14 @@ module Google
end end
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 class VpnTunnel
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -7003,12 +7003,12 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Retrieves the list of private images available to the specified project. # Retrieves the list of custom images available to the specified project. Custom
# Private images are images you create that belong to your project. This method # images are images you create that belong to your project. This method does not
# does not get any images that belong to other projects, including publicly- # get any images that belong to other projects, including publicly-available
# available images, like Debian 8. If you want to get a list of publicly- # images, like Debian 8. If you want to get a list of publicly-available images,
# available images, use this method to make a request to the respective image # use this method to make a request to the respective image project, such as
# project, such as debian-cloud or windows-cloud. # debian-cloud or windows-cloud.
# @param [String] project # @param [String] project
# Project ID for this request. # Project ID for this request.
# @param [String] filter # @param [String] filter
@ -9412,6 +9412,64 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end 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. # Retrieves aggregated list of instances.
# @param [String] project # @param [String] project
# Project ID for this request. # Project ID for this request.
@ -10124,6 +10182,62 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end 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 # Performs a reset on the instance. For more information, see Resetting an
# instance. # instance.
# @param [String] project # @param [String] project
@ -11231,6 +11345,63 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Updates the Shielded VM config for an instance. This method supports PATCH
# semantics and uses the JSON merge patch format and processing rules.
# @param [String] project
# Project ID for this request.
# @param [String] zone
# The name of the zone for this request.
# @param [String] instance
# Name of the instance scoping this request.
# @param [Google::Apis::ComputeAlpha::ShieldedVmConfig] shielded_vm_config_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 update_instance_shielded_vm_config(project, zone, instance, shielded_vm_config_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, '{project}/zones/{zone}/instances/{instance}/updateShieldedVmConfig', options)
command.request_representation = Google::Apis::ComputeAlpha::ShieldedVmConfig::Representation
command.request_object = shielded_vm_config_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 an aggregated list of interconnect attachments. # Retrieves an aggregated list of interconnect attachments.
# @param [String] project # @param [String] project
# Project ID for this request. # Project ID for this request.
@ -12914,6 +13085,440 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Retrieves an aggregated list of maintenance policies.
# @param [String] project
# Project ID for this request.
# @param [String] filter
# Sets a filter `expression` for filtering listed resources. Your `expression`
# must be in the format: field_name comparison_string literal_string.
# The field_name is the name of the field you want to compare. Only atomic field
# types are supported (string, number, boolean). The comparison_string must be
# either eq (equals) or ne (not equals). The literal_string is the string value
# to filter to. The literal value must be valid for the type of field you are
# filtering by (string, number, boolean). For string fields, the literal value
# is interpreted as a regular expression using RE2 syntax. The literal value
# must match the entire field.
# For example, to filter for instances that do not have a name of example-
# instance, you would use name ne example-instance.
# You can filter on nested fields. For example, you could filter on instances
# that have set the scheduling.automaticRestart field to true. Use filtering on
# nested fields to take advantage of labels to organize and search for results
# based on label values.
# To filter on multiple expressions, provide each separate expression within
# parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
# central1-f). Multiple expressions are treated as AND expressions, meaning that
# resources must match all expressions to pass the filters.
# @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
# Sets a filter `expression` for filtering listed resources. Your `expression`
# must be in the format: field_name comparison_string literal_string.
# The field_name is the name of the field you want to compare. Only atomic field
# types are supported (string, number, boolean). The comparison_string must be
# either eq (equals) or ne (not equals). The literal_string is the string value
# to filter to. The literal value must be valid for the type of field you are
# filtering by (string, number, boolean). For string fields, the literal value
# is interpreted as a regular expression using RE2 syntax. The literal value
# must match the entire field.
# For example, to filter for instances that do not have a name of example-
# instance, you would use name ne example-instance.
# You can filter on nested fields. For example, you could filter on instances
# that have set the scheduling.automaticRestart field to true. Use filtering on
# nested fields to take advantage of labels to organize and search for results
# based on label values.
# To filter on multiple expressions, provide each separate expression within
# parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
# central1-f). Multiple expressions are treated as AND expressions, meaning that
# resources must match all expressions to pass the filters.
# @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. # Retrieves the list of network endpoint groups and sorts them by zone.
# @param [String] project # @param [String] project
# Project ID for this request. # Project ID for this request.

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/compute/docs/reference/latest/ # @see https://developers.google.com/compute/docs/reference/latest/
module ComputeV1 module ComputeV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20171114' REVISION = '20171127'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -500,7 +500,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :address attr_accessor :address
# The type of address to reserve. If unspecified, defaults to EXTERNAL. # The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified,
# defaults to EXTERNAL.
# Corresponds to the JSON property `addressType` # Corresponds to the JSON property `addressType`
# @return [String] # @return [String]
attr_accessor :address_type attr_accessor :address_type
@ -1112,13 +1113,13 @@ module Google
# projects/debian-cloud/global/images/family/debian-8 # projects/debian-cloud/global/images/family/debian-8
# Alternatively, use a specific version of a public operating system image: # Alternatively, use a specific version of a public operating system image:
# projects/debian-cloud/global/images/debian-8-jessie-vYYYYMMDD # projects/debian-cloud/global/images/debian-8-jessie-vYYYYMMDD
# To create a disk with a private image that you created, specify the image name # To create a disk with a custom image that you created, specify the image name
# in the following format: # in the following format:
# global/images/my-private-image # global/images/my-custom-image
# You can also specify a private image by its image family, which returns the # You can also specify a custom image by its image family, which returns the
# latest version of the image in that family. Replace the image name with family/ # latest version of the image in that family. Replace the image name with family/
# family-name: # family-name:
# global/images/family/my-private-family # global/images/family/my-image-family
# If the source image is deleted later, this field will not be set. # If the source image is deleted later, this field will not be set.
# Corresponds to the JSON property `sourceImage` # Corresponds to the JSON property `sourceImage`
# @return [String] # @return [String]
@ -3366,13 +3367,13 @@ module Google
# projects/debian-cloud/global/images/family/debian-8 # projects/debian-cloud/global/images/family/debian-8
# Alternatively, use a specific version of a public operating system image: # Alternatively, use a specific version of a public operating system image:
# projects/debian-cloud/global/images/debian-8-jessie-vYYYYMMDD # projects/debian-cloud/global/images/debian-8-jessie-vYYYYMMDD
# To create a disk with a private image that you created, specify the image name # To create a disk with a custom image that you created, specify the image name
# in the following format: # in the following format:
# global/images/my-private-image # global/images/my-custom-image
# You can also specify a private image by its image family, which returns the # You can also specify a custom image by its image family, which returns the
# latest version of the image in that family. Replace the image name with family/ # latest version of the image in that family. Replace the image name with family/
# family-name: # family-name:
# global/images/family/my-private-family # global/images/family/my-image-family
# Corresponds to the JSON property `sourceImage` # Corresponds to the JSON property `sourceImage`
# @return [String] # @return [String]
attr_accessor :source_image attr_accessor :source_image
@ -8739,16 +8740,16 @@ module Google
end end
end end
# Protocol definitions for Mixer API to support Interconnect. Next available tag: # Represents an Interconnects resource. The Interconnects resource is a
# 25 # dedicated connection between Google's network and your on-premises network.
# For more information, see the Dedicated overview page.
class Interconnect class Interconnect
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Administrative status of the interconnect. When this is set to ?true?, the # Administrative status of the interconnect. When this is set to true, the
# Interconnect is functional and may carry traffic (assuming there are # Interconnect is functional and can carry traffic. When set to false, no
# functional InterconnectAttachments and other requirements are satisfied). When # packets can be carried over the interconnect and no BGP routes are exchanged
# set to ?false?, no packets will be carried over this Interconnect and no BGP # over it. By default, the status is set to true.
# routes will be exchanged over it. By default, it is set to ?true?.
# Corresponds to the JSON property `adminEnabled` # Corresponds to the JSON property `adminEnabled`
# @return [Boolean] # @return [Boolean]
attr_accessor :admin_enabled attr_accessor :admin_enabled
@ -8806,7 +8807,8 @@ module Google
# @return [Array<String>] # @return [Array<String>]
attr_accessor :interconnect_attachments attr_accessor :interconnect_attachments
# # Type of interconnect. Note that "IT_PRIVATE" has been deprecated in favor of "
# DEDICATED"
# Corresponds to the JSON property `interconnectType` # Corresponds to the JSON property `interconnectType`
# @return [String] # @return [String]
attr_accessor :interconnect_type attr_accessor :interconnect_type
@ -8817,7 +8819,9 @@ module Google
# @return [String] # @return [String]
attr_accessor :kind attr_accessor :kind
# # Type of link requested. This field indicates speed of each of the links in the
# bundle, not the entire bundle. Only 10G per link is allowed for a dedicated
# interconnect. Options: Ethernet_10G_LR
# Corresponds to the JSON property `linkType` # Corresponds to the JSON property `linkType`
# @return [String] # @return [String]
attr_accessor :link_type attr_accessor :link_type
@ -8905,8 +8909,8 @@ module Google
end end
end end
# Protocol definitions for Mixer API to support InterconnectAttachment. Next # Represents an InterconnectAttachment (VLAN attachment) resource. For more
# available tag: 23 # information, see Creating VLAN Attachments.
class InterconnectAttachment class InterconnectAttachment
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -8927,8 +8931,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :customer_router_ip_address attr_accessor :customer_router_ip_address
# An optional description of this resource. Provide this property when you # An optional description of this resource.
# create the resource.
# Corresponds to the JSON property `description` # Corresponds to the JSON property `description`
# @return [String] # @return [String]
attr_accessor :description attr_accessor :description
@ -8973,8 +8976,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :operational_status attr_accessor :operational_status
# Private information for an interconnect attachment when this belongs to an # Information for an interconnect attachment when this belongs to an
# interconnect of type IT_PRIVATE. # interconnect of type DEDICATED.
# Corresponds to the JSON property `privateInterconnectInfo` # Corresponds to the JSON property `privateInterconnectInfo`
# @return [Google::Apis::ComputeV1::InterconnectAttachmentPrivateInfo] # @return [Google::Apis::ComputeV1::InterconnectAttachmentPrivateInfo]
attr_accessor :private_interconnect_info attr_accessor :private_interconnect_info
@ -9258,8 +9261,8 @@ module Google
end end
end end
# Private information for an interconnect attachment when this belongs to an # Information for an interconnect attachment when this belongs to an
# interconnect of type IT_PRIVATE. # interconnect of type DEDICATED.
class InterconnectAttachmentPrivateInfo class InterconnectAttachmentPrivateInfo
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -9376,8 +9379,7 @@ module Google
class InterconnectCircuitInfo class InterconnectCircuitInfo
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Customer-side demarc ID for this circuit. This will only be set if it was # Customer-side demarc ID for this circuit.
# provided by the Customer to Google during circuit turn-up.
# Corresponds to the JSON property `customerDemarcId` # Corresponds to the JSON property `customerDemarcId`
# @return [String] # @return [String]
attr_accessor :customer_demarc_id attr_accessor :customer_demarc_id
@ -9523,7 +9525,9 @@ module Google
end end
end end
# Protocol definitions for Mixer API to support InterconnectLocation. # Represents an InterconnectLocations resource. The InterconnectLocations
# resource describes the locations where you can connect to Google's networks.
# For more information, see Colocation Facilities.
class InterconnectLocation class InterconnectLocation
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -9533,22 +9537,20 @@ module Google
# @return [String] # @return [String]
attr_accessor :address attr_accessor :address
# Availability zone for this location. Within a city, maintenance will not be # [Output Only] Availability zone for this location. Within a metropolitan area (
# simultaneously scheduled in more than one availability zone. Example: "zone1" # metro), maintenance will not be simultaneously scheduled in more than one
# or "zone2". # availability zone. Example: "zone1" or "zone2".
# Corresponds to the JSON property `availabilityZone` # Corresponds to the JSON property `availabilityZone`
# @return [String] # @return [String]
attr_accessor :availability_zone attr_accessor :availability_zone
# City designator used by the Interconnect UI to locate this # [Output Only] Metropolitan area designator that indicates which city an
# InterconnectLocation within the Continent. For example: "Chicago, IL", " # interconnect is located. For example: "Chicago, IL", "Amsterdam, Netherlands".
# Amsterdam, Netherlands".
# Corresponds to the JSON property `city` # Corresponds to the JSON property `city`
# @return [String] # @return [String]
attr_accessor :city attr_accessor :city
# Continent for this location. Used by the location picker in the Interconnect # [Output Only] Continent for this location.
# UI.
# Corresponds to the JSON property `continent` # Corresponds to the JSON property `continent`
# @return [String] # @return [String]
attr_accessor :continent attr_accessor :continent
@ -9793,17 +9795,18 @@ module Google
# @return [Array<String>] # @return [Array<String>]
attr_accessor :affected_circuits attr_accessor :affected_circuits
# Short user-visible description of the purpose of the outage. # A description about the purpose of the outage.
# Corresponds to the JSON property `description` # Corresponds to the JSON property `description`
# @return [String] # @return [String]
attr_accessor :description attr_accessor :description
# # Scheduled end time for the outage (milliseconds since Unix epoch).
# Corresponds to the JSON property `endTime` # Corresponds to the JSON property `endTime`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :end_time attr_accessor :end_time
# # Form this outage is expected to take. Note that the "IT_" versions of this
# enum have been deprecated in favor of the unprefixed values.
# Corresponds to the JSON property `issueType` # Corresponds to the JSON property `issueType`
# @return [String] # @return [String]
attr_accessor :issue_type attr_accessor :issue_type
@ -9813,17 +9816,19 @@ module Google
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# # The party that generated this notification. Note that "NSRC_GOOGLE" has been
# deprecated in favor of "GOOGLE"
# Corresponds to the JSON property `source` # Corresponds to the JSON property `source`
# @return [String] # @return [String]
attr_accessor :source attr_accessor :source
# Scheduled start and end times for the outage (milliseconds since Unix epoch). # Scheduled start time for the outage (milliseconds since Unix epoch).
# Corresponds to the JSON property `startTime` # Corresponds to the JSON property `startTime`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :start_time attr_accessor :start_time
# # State of this notification. Note that the "NS_" versions of this enum have
# been deprecated in favor of the unprefixed values.
# Corresponds to the JSON property `state` # Corresponds to the JSON property `state`
# @return [String] # @return [String]
attr_accessor :state attr_accessor :state

View File

@ -5038,12 +5038,12 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Retrieves the list of private images available to the specified project. # Retrieves the list of custom images available to the specified project. Custom
# Private images are images you create that belong to your project. This method # images are images you create that belong to your project. This method does not
# does not get any images that belong to other projects, including publicly- # get any images that belong to other projects, including publicly-available
# available images, like Debian 8. If you want to get a list of publicly- # images, like Debian 8. If you want to get a list of publicly-available images,
# available images, use this method to make a request to the respective image # use this method to make a request to the respective image project, such as
# project, such as debian-cloud or windows-cloud. # debian-cloud or windows-cloud.
# @param [String] project # @param [String] project
# Project ID for this request. # Project ID for this request.
# @param [String] filter # @param [String] filter

View File

@ -829,6 +829,22 @@ module Google
class IpAllocationPolicy class IpAllocationPolicy
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# If true, allow allocation of cluster CIDR ranges that overlap with certain
# kinds of network routes. By default we do not allow cluster CIDR ranges to
# intersect with any user declared routes. With allow_route_overlap == true,
# we allow overlapping with CIDR ranges that are larger than the cluster CIDR
# range.
# If this field is set to true, then cluster and services CIDRs must be
# fully-specified (e.g. `10.96.0.0/14`, but not `/14`), which means:
# 1) When `use_ip_aliases` is true, `cluster_ipv4_cidr_block` and
# `services_ipv4_cidr_block` must be fully-specified.
# 2) When `use_ip_aliases` is false, `cluster.cluster_ipv4_cidr` muse be
# fully-specified.
# Corresponds to the JSON property `allowRouteOverlap`
# @return [Boolean]
attr_accessor :allow_route_overlap
alias_method :allow_route_overlap?, :allow_route_overlap
# This field is deprecated, use cluster_ipv4_cidr_block. # This field is deprecated, use cluster_ipv4_cidr_block.
# Corresponds to the JSON property `clusterIpv4Cidr` # Corresponds to the JSON property `clusterIpv4Cidr`
# @return [String] # @return [String]
@ -934,6 +950,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@allow_route_overlap = args[:allow_route_overlap] if args.key?(:allow_route_overlap)
@cluster_ipv4_cidr = args[:cluster_ipv4_cidr] if args.key?(:cluster_ipv4_cidr) @cluster_ipv4_cidr = args[:cluster_ipv4_cidr] if args.key?(:cluster_ipv4_cidr)
@cluster_ipv4_cidr_block = args[:cluster_ipv4_cidr_block] if args.key?(:cluster_ipv4_cidr_block) @cluster_ipv4_cidr_block = args[:cluster_ipv4_cidr_block] if args.key?(:cluster_ipv4_cidr_block)
@cluster_secondary_range_name = args[:cluster_secondary_range_name] if args.key?(:cluster_secondary_range_name) @cluster_secondary_range_name = args[:cluster_secondary_range_name] if args.key?(:cluster_secondary_range_name)

View File

@ -510,6 +510,7 @@ module Google
class IpAllocationPolicy class IpAllocationPolicy
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :allow_route_overlap, as: 'allowRouteOverlap'
property :cluster_ipv4_cidr, as: 'clusterIpv4Cidr' property :cluster_ipv4_cidr, as: 'clusterIpv4Cidr'
property :cluster_ipv4_cidr_block, as: 'clusterIpv4CidrBlock' property :cluster_ipv4_cidr_block, as: 'clusterIpv4CidrBlock'
property :cluster_secondary_range_name, as: 'clusterSecondaryRangeName' property :cluster_secondary_range_name, as: 'clusterSecondaryRangeName'

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/monitoring/api/ # @see https://cloud.google.com/monitoring/api/
module MonitoringV3 module MonitoringV3
VERSION = 'V3' VERSION = 'V3'
REVISION = '20171113' REVISION = '20171125'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1786,11 +1786,19 @@ module Google
# @return [Google::Apis::MonitoringV3::HttpCheck] # @return [Google::Apis::MonitoringV3::HttpCheck]
attr_accessor :http_check attr_accessor :http_check
# The internal checkers that this check will egress from. # The internal checkers that this check will egress from. If is_internal is true
# and this list is empty, the check will egress from all InternalCheckers
# configured for the project that owns this CheckConfig.
# Corresponds to the JSON property `internalCheckers` # Corresponds to the JSON property `internalCheckers`
# @return [Array<Google::Apis::MonitoringV3::InternalChecker>] # @return [Array<Google::Apis::MonitoringV3::InternalChecker>]
attr_accessor :internal_checkers attr_accessor :internal_checkers
# Denotes whether this check is a check that egresses from InternalCheckers.
# Corresponds to the JSON property `isInternal`
# @return [Boolean]
attr_accessor :is_internal
alias_method :is_internal?, :is_internal
# An object representing a resource that can be used for monitoring, logging, # An object representing a resource that can be used for monitoring, logging,
# billing, or other purposes. Examples include virtual machine instances, # billing, or other purposes. Examples include virtual machine instances,
# databases, and storage devices such as disks. The type field identifies a # databases, and storage devices such as disks. The type field identifies a
@ -1856,6 +1864,7 @@ module Google
@display_name = args[:display_name] if args.key?(:display_name) @display_name = args[:display_name] if args.key?(:display_name)
@http_check = args[:http_check] if args.key?(:http_check) @http_check = args[:http_check] if args.key?(:http_check)
@internal_checkers = args[:internal_checkers] if args.key?(:internal_checkers) @internal_checkers = args[:internal_checkers] if args.key?(:internal_checkers)
@is_internal = args[:is_internal] if args.key?(:is_internal)
@monitored_resource = args[:monitored_resource] if args.key?(:monitored_resource) @monitored_resource = args[:monitored_resource] if args.key?(:monitored_resource)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@period = args[:period] if args.key?(:period) @period = args[:period] if args.key?(:period)

View File

@ -715,6 +715,7 @@ module Google
collection :internal_checkers, as: 'internalCheckers', class: Google::Apis::MonitoringV3::InternalChecker, decorator: Google::Apis::MonitoringV3::InternalChecker::Representation collection :internal_checkers, as: 'internalCheckers', class: Google::Apis::MonitoringV3::InternalChecker, decorator: Google::Apis::MonitoringV3::InternalChecker::Representation
property :is_internal, as: 'isInternal'
property :monitored_resource, as: 'monitoredResource', class: Google::Apis::MonitoringV3::MonitoredResource, decorator: Google::Apis::MonitoringV3::MonitoredResource::Representation property :monitored_resource, as: 'monitoredResource', class: Google::Apis::MonitoringV3::MonitoredResource, decorator: Google::Apis::MonitoringV3::MonitoredResource::Representation
property :name, as: 'name' property :name, as: 'name'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/youtube/partner/ # @see https://developers.google.com/youtube/partner/
module YoutubePartnerV1 module YoutubePartnerV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20171113' REVISION = '20171127'
# View and manage your assets and associated content on YouTube # View and manage your assets and associated content on YouTube
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner' AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'