Autogenerated update (2019-01-23)
Update: - compute_alpha - compute_beta - compute_v1 - containeranalysis_v1beta1 - gmail_v1 - serviceconsumermanagement_v1 - texttospeech_v1 - vision_v1 - vision_v1p1beta1 - vision_v1p2beta1
This commit is contained in:
parent
1741b2efa5
commit
c2e3eec6f7
|
@ -20731,6 +20731,37 @@
|
|||
"/compute:alpha/Expr/expression": expression
|
||||
"/compute:alpha/Expr/location": location
|
||||
"/compute:alpha/Expr/title": title
|
||||
"/compute:alpha/ExternalVpnGateway": external_vpn_gateway
|
||||
"/compute:alpha/ExternalVpnGateway/creationTimestamp": creation_timestamp
|
||||
"/compute:alpha/ExternalVpnGateway/description": description
|
||||
"/compute:alpha/ExternalVpnGateway/id": id
|
||||
"/compute:alpha/ExternalVpnGateway/interfaces": interfaces
|
||||
"/compute:alpha/ExternalVpnGateway/interfaces/interface": interface
|
||||
"/compute:alpha/ExternalVpnGateway/kind": kind
|
||||
"/compute:alpha/ExternalVpnGateway/labelFingerprint": label_fingerprint
|
||||
"/compute:alpha/ExternalVpnGateway/labels": labels
|
||||
"/compute:alpha/ExternalVpnGateway/labels/label": label
|
||||
"/compute:alpha/ExternalVpnGateway/name": name
|
||||
"/compute:alpha/ExternalVpnGateway/redundancyType": redundancy_type
|
||||
"/compute:alpha/ExternalVpnGateway/selfLink": self_link
|
||||
"/compute:alpha/ExternalVpnGatewayInterface": external_vpn_gateway_interface
|
||||
"/compute:alpha/ExternalVpnGatewayInterface/id": id
|
||||
"/compute:alpha/ExternalVpnGatewayInterface/ipAddress": ip_address
|
||||
"/compute:alpha/ExternalVpnGatewayList": external_vpn_gateway_list
|
||||
"/compute:alpha/ExternalVpnGatewayList/etag": etag
|
||||
"/compute:alpha/ExternalVpnGatewayList/id": id
|
||||
"/compute:alpha/ExternalVpnGatewayList/items": items
|
||||
"/compute:alpha/ExternalVpnGatewayList/items/item": item
|
||||
"/compute:alpha/ExternalVpnGatewayList/kind": kind
|
||||
"/compute:alpha/ExternalVpnGatewayList/nextPageToken": next_page_token
|
||||
"/compute:alpha/ExternalVpnGatewayList/selfLink": self_link
|
||||
"/compute:alpha/ExternalVpnGatewayList/warning": warning
|
||||
"/compute:alpha/ExternalVpnGatewayList/warning/code": code
|
||||
"/compute:alpha/ExternalVpnGatewayList/warning/data": data
|
||||
"/compute:alpha/ExternalVpnGatewayList/warning/data/datum": datum
|
||||
"/compute:alpha/ExternalVpnGatewayList/warning/data/datum/key": key
|
||||
"/compute:alpha/ExternalVpnGatewayList/warning/data/datum/value": value
|
||||
"/compute:alpha/ExternalVpnGatewayList/warning/message": message
|
||||
"/compute:alpha/Firewall": firewall
|
||||
"/compute:alpha/Firewall/allowed": allowed
|
||||
"/compute:alpha/Firewall/allowed/allowed": allowed
|
||||
|
@ -20918,6 +20949,7 @@
|
|||
"/compute:alpha/HealthCheck/name": name
|
||||
"/compute:alpha/HealthCheck/region": region
|
||||
"/compute:alpha/HealthCheck/selfLink": self_link
|
||||
"/compute:alpha/HealthCheck/selfLinkWithId": self_link_with_id
|
||||
"/compute:alpha/HealthCheck/sslHealthCheck": ssl_health_check
|
||||
"/compute:alpha/HealthCheck/tcpHealthCheck": tcp_health_check
|
||||
"/compute:alpha/HealthCheck/timeoutSec": timeout_sec
|
||||
|
@ -21133,6 +21165,7 @@
|
|||
"/compute:alpha/HttpHealthCheck/port": port
|
||||
"/compute:alpha/HttpHealthCheck/requestPath": request_path
|
||||
"/compute:alpha/HttpHealthCheck/selfLink": self_link
|
||||
"/compute:alpha/HttpHealthCheck/selfLinkWithId": self_link_with_id
|
||||
"/compute:alpha/HttpHealthCheck/timeoutSec": timeout_sec
|
||||
"/compute:alpha/HttpHealthCheck/unhealthyThreshold": unhealthy_threshold
|
||||
"/compute:alpha/HttpHealthCheckList": http_health_check_list
|
||||
|
@ -21204,6 +21237,7 @@
|
|||
"/compute:alpha/HttpsHealthCheck/port": port
|
||||
"/compute:alpha/HttpsHealthCheck/requestPath": request_path
|
||||
"/compute:alpha/HttpsHealthCheck/selfLink": self_link
|
||||
"/compute:alpha/HttpsHealthCheck/selfLinkWithId": self_link_with_id
|
||||
"/compute:alpha/HttpsHealthCheck/timeoutSec": timeout_sec
|
||||
"/compute:alpha/HttpsHealthCheck/unhealthyThreshold": unhealthy_threshold
|
||||
"/compute:alpha/HttpsHealthCheckList": https_health_check_list
|
||||
|
@ -21312,6 +21346,7 @@
|
|||
"/compute:alpha/Instance/shieldedVmConfig": shielded_vm_config
|
||||
"/compute:alpha/Instance/shieldedVmIntegrityPolicy": shielded_vm_integrity_policy
|
||||
"/compute:alpha/Instance/sourceMachineImage": source_machine_image
|
||||
"/compute:alpha/Instance/sourceMachineImageEncryptionKey": source_machine_image_encryption_key
|
||||
"/compute:alpha/Instance/startRestricted": start_restricted
|
||||
"/compute:alpha/Instance/status": status
|
||||
"/compute:alpha/Instance/statusMessage": status_message
|
||||
|
@ -21626,6 +21661,7 @@
|
|||
"/compute:alpha/InstanceProperties/description": description
|
||||
"/compute:alpha/InstanceProperties/disks": disks
|
||||
"/compute:alpha/InstanceProperties/disks/disk": disk
|
||||
"/compute:alpha/InstanceProperties/displayDevice": display_device
|
||||
"/compute:alpha/InstanceProperties/guestAccelerators": guest_accelerators
|
||||
"/compute:alpha/InstanceProperties/guestAccelerators/guest_accelerator": guest_accelerator
|
||||
"/compute:alpha/InstanceProperties/labels": labels
|
||||
|
@ -21650,6 +21686,7 @@
|
|||
"/compute:alpha/InstanceTemplate/name": name
|
||||
"/compute:alpha/InstanceTemplate/properties": properties
|
||||
"/compute:alpha/InstanceTemplate/selfLink": self_link
|
||||
"/compute:alpha/InstanceTemplate/selfLinkWithId": self_link_with_id
|
||||
"/compute:alpha/InstanceTemplate/sourceInstance": source_instance
|
||||
"/compute:alpha/InstanceTemplate/sourceInstanceParams": source_instance_params
|
||||
"/compute:alpha/InstanceTemplateList": instance_template_list
|
||||
|
@ -21748,6 +21785,7 @@
|
|||
"/compute:alpha/Interconnect/provisionedLinkCount": provisioned_link_count
|
||||
"/compute:alpha/Interconnect/requestedLinkCount": requested_link_count
|
||||
"/compute:alpha/Interconnect/selfLink": self_link
|
||||
"/compute:alpha/Interconnect/selfLinkWithId": self_link_with_id
|
||||
"/compute:alpha/Interconnect/state": state
|
||||
"/compute:alpha/InterconnectAttachment": interconnect_attachment
|
||||
"/compute:alpha/InterconnectAttachment/adminEnabled": admin_enabled
|
||||
|
@ -21776,6 +21814,7 @@
|
|||
"/compute:alpha/InterconnectAttachment/region": region
|
||||
"/compute:alpha/InterconnectAttachment/router": router
|
||||
"/compute:alpha/InterconnectAttachment/selfLink": self_link
|
||||
"/compute:alpha/InterconnectAttachment/selfLinkWithId": self_link_with_id
|
||||
"/compute:alpha/InterconnectAttachment/state": state
|
||||
"/compute:alpha/InterconnectAttachment/type": type
|
||||
"/compute:alpha/InterconnectAttachment/vlanTag8021q": vlan_tag8021q
|
||||
|
@ -21881,6 +21920,7 @@
|
|||
"/compute:alpha/InterconnectLocation/regionInfos": region_infos
|
||||
"/compute:alpha/InterconnectLocation/regionInfos/region_info": region_info
|
||||
"/compute:alpha/InterconnectLocation/selfLink": self_link
|
||||
"/compute:alpha/InterconnectLocation/selfLinkWithId": self_link_with_id
|
||||
"/compute:alpha/InterconnectLocation/status": status
|
||||
"/compute:alpha/InterconnectLocationList": interconnect_location_list
|
||||
"/compute:alpha/InterconnectLocationList/id": id
|
||||
|
@ -21962,6 +22002,7 @@
|
|||
"/compute:alpha/License/name": name
|
||||
"/compute:alpha/License/resourceRequirements": resource_requirements
|
||||
"/compute:alpha/License/selfLink": self_link
|
||||
"/compute:alpha/License/selfLinkWithId": self_link_with_id
|
||||
"/compute:alpha/License/transferable": transferable
|
||||
"/compute:alpha/LicenseCode": license_code
|
||||
"/compute:alpha/LicenseCode/creationTimestamp": creation_timestamp
|
||||
|
@ -22010,8 +22051,10 @@
|
|||
"/compute:alpha/MachineImage/description": description
|
||||
"/compute:alpha/MachineImage/id": id
|
||||
"/compute:alpha/MachineImage/kind": kind
|
||||
"/compute:alpha/MachineImage/machineImageEncryptionKey": machine_image_encryption_key
|
||||
"/compute:alpha/MachineImage/name": name
|
||||
"/compute:alpha/MachineImage/selfLink": self_link
|
||||
"/compute:alpha/MachineImage/selfLinkWithId": self_link_with_id
|
||||
"/compute:alpha/MachineImage/sourceInstance": source_instance
|
||||
"/compute:alpha/MachineImage/sourceInstanceProperties": source_instance_properties
|
||||
"/compute:alpha/MachineImage/status": status
|
||||
|
@ -22045,6 +22088,7 @@
|
|||
"/compute:alpha/MachineType/memoryMb": memory_mb
|
||||
"/compute:alpha/MachineType/name": name
|
||||
"/compute:alpha/MachineType/selfLink": self_link
|
||||
"/compute:alpha/MachineType/selfLinkWithId": self_link_with_id
|
||||
"/compute:alpha/MachineType/zone": zone
|
||||
"/compute:alpha/MachineTypeAggregatedList": machine_type_aggregated_list
|
||||
"/compute:alpha/MachineTypeAggregatedList/id": id
|
||||
|
@ -22229,6 +22273,7 @@
|
|||
"/compute:alpha/NetworkEndpointGroup/network": network
|
||||
"/compute:alpha/NetworkEndpointGroup/networkEndpointType": network_endpoint_type
|
||||
"/compute:alpha/NetworkEndpointGroup/selfLink": self_link
|
||||
"/compute:alpha/NetworkEndpointGroup/selfLinkWithId": self_link_with_id
|
||||
"/compute:alpha/NetworkEndpointGroup/size": size
|
||||
"/compute:alpha/NetworkEndpointGroup/subnetwork": subnetwork
|
||||
"/compute:alpha/NetworkEndpointGroup/type": type
|
||||
|
@ -22360,6 +22405,7 @@
|
|||
"/compute:alpha/NodeGroup/nodes": nodes
|
||||
"/compute:alpha/NodeGroup/nodes/node": node
|
||||
"/compute:alpha/NodeGroup/selfLink": self_link
|
||||
"/compute:alpha/NodeGroup/selfLinkWithId": self_link_with_id
|
||||
"/compute:alpha/NodeGroup/size": size
|
||||
"/compute:alpha/NodeGroup/status": status
|
||||
"/compute:alpha/NodeGroup/zone": zone
|
||||
|
@ -22449,6 +22495,7 @@
|
|||
"/compute:alpha/NodeTemplate/nodeTypeFlexibility": node_type_flexibility
|
||||
"/compute:alpha/NodeTemplate/region": region
|
||||
"/compute:alpha/NodeTemplate/selfLink": self_link
|
||||
"/compute:alpha/NodeTemplate/selfLinkWithId": self_link_with_id
|
||||
"/compute:alpha/NodeTemplate/serverBinding": server_binding
|
||||
"/compute:alpha/NodeTemplate/status": status
|
||||
"/compute:alpha/NodeTemplate/statusMessage": status_message
|
||||
|
@ -22506,6 +22553,7 @@
|
|||
"/compute:alpha/NodeType/memoryMb": memory_mb
|
||||
"/compute:alpha/NodeType/name": name
|
||||
"/compute:alpha/NodeType/selfLink": self_link
|
||||
"/compute:alpha/NodeType/selfLinkWithId": self_link_with_id
|
||||
"/compute:alpha/NodeType/zone": zone
|
||||
"/compute:alpha/NodeTypeAggregatedList": node_type_aggregated_list
|
||||
"/compute:alpha/NodeTypeAggregatedList/id": id
|
||||
|
@ -22566,6 +22614,7 @@
|
|||
"/compute:alpha/Operation/progress": progress
|
||||
"/compute:alpha/Operation/region": region
|
||||
"/compute:alpha/Operation/selfLink": self_link
|
||||
"/compute:alpha/Operation/selfLinkWithId": self_link_with_id
|
||||
"/compute:alpha/Operation/startTime": start_time
|
||||
"/compute:alpha/Operation/status": status
|
||||
"/compute:alpha/Operation/statusMessage": status_message
|
||||
|
@ -22715,6 +22764,7 @@
|
|||
"/compute:alpha/Region/quotas": quotas
|
||||
"/compute:alpha/Region/quotas/quota": quota
|
||||
"/compute:alpha/Region/selfLink": self_link
|
||||
"/compute:alpha/Region/selfLinkWithId": self_link_with_id
|
||||
"/compute:alpha/Region/status": status
|
||||
"/compute:alpha/Region/zones": zones
|
||||
"/compute:alpha/Region/zones/zone": zone
|
||||
|
@ -22922,6 +22972,8 @@
|
|||
"/compute:alpha/ResourcePolicy/name": name
|
||||
"/compute:alpha/ResourcePolicy/region": region
|
||||
"/compute:alpha/ResourcePolicy/selfLink": self_link
|
||||
"/compute:alpha/ResourcePolicy/selfLinkWithId": self_link_with_id
|
||||
"/compute:alpha/ResourcePolicy/snapshotSchedulePolicy": snapshot_schedule_policy
|
||||
"/compute:alpha/ResourcePolicy/vmMaintenancePolicy": vm_maintenance_policy
|
||||
"/compute:alpha/ResourcePolicyAggregatedList": resource_policy_aggregated_list
|
||||
"/compute:alpha/ResourcePolicyAggregatedList/etag": etag
|
||||
|
@ -22979,6 +23031,24 @@
|
|||
"/compute:alpha/ResourcePolicyList/warning/data/datum/key": key
|
||||
"/compute:alpha/ResourcePolicyList/warning/data/datum/value": value
|
||||
"/compute:alpha/ResourcePolicyList/warning/message": message
|
||||
"/compute:alpha/ResourcePolicySnapshotSchedulePolicy": resource_policy_snapshot_schedule_policy
|
||||
"/compute:alpha/ResourcePolicySnapshotSchedulePolicy/retentionPolicy": retention_policy
|
||||
"/compute:alpha/ResourcePolicySnapshotSchedulePolicy/schedule": schedule
|
||||
"/compute:alpha/ResourcePolicySnapshotSchedulePolicy/snapshotProperties": snapshot_properties
|
||||
"/compute:alpha/ResourcePolicySnapshotSchedulePolicyRetentionPolicy": resource_policy_snapshot_schedule_policy_retention_policy
|
||||
"/compute:alpha/ResourcePolicySnapshotSchedulePolicyRetentionPolicy/maxRetentionDays": max_retention_days
|
||||
"/compute:alpha/ResourcePolicySnapshotSchedulePolicyRetentionPolicy/onPolicySwitch": on_policy_switch
|
||||
"/compute:alpha/ResourcePolicySnapshotSchedulePolicyRetentionPolicy/onSourceDiskDelete": on_source_disk_delete
|
||||
"/compute:alpha/ResourcePolicySnapshotSchedulePolicySchedule": resource_policy_snapshot_schedule_policy_schedule
|
||||
"/compute:alpha/ResourcePolicySnapshotSchedulePolicySchedule/dailySchedule": daily_schedule
|
||||
"/compute:alpha/ResourcePolicySnapshotSchedulePolicySchedule/hourlySchedule": hourly_schedule
|
||||
"/compute:alpha/ResourcePolicySnapshotSchedulePolicySchedule/weeklySchedule": weekly_schedule
|
||||
"/compute:alpha/ResourcePolicySnapshotSchedulePolicySnapshotProperties": resource_policy_snapshot_schedule_policy_snapshot_properties
|
||||
"/compute:alpha/ResourcePolicySnapshotSchedulePolicySnapshotProperties/guestFlush": guest_flush
|
||||
"/compute:alpha/ResourcePolicySnapshotSchedulePolicySnapshotProperties/labels": labels
|
||||
"/compute:alpha/ResourcePolicySnapshotSchedulePolicySnapshotProperties/labels/label": label
|
||||
"/compute:alpha/ResourcePolicySnapshotSchedulePolicySnapshotProperties/storageLocations": storage_locations
|
||||
"/compute:alpha/ResourcePolicySnapshotSchedulePolicySnapshotProperties/storageLocations/storage_location": storage_location
|
||||
"/compute:alpha/ResourcePolicyVmMaintenancePolicy": resource_policy_vm_maintenance_policy
|
||||
"/compute:alpha/ResourcePolicyVmMaintenancePolicy/maintenanceEnvironment": maintenance_environment
|
||||
"/compute:alpha/ResourcePolicyVmMaintenancePolicy/maintenanceWindow": maintenance_window
|
||||
|
@ -23050,6 +23120,7 @@
|
|||
"/compute:alpha/Router/network": network
|
||||
"/compute:alpha/Router/region": region
|
||||
"/compute:alpha/Router/selfLink": self_link
|
||||
"/compute:alpha/Router/selfLinkWithId": self_link_with_id
|
||||
"/compute:alpha/RouterAdvertisedIpRange": router_advertised_ip_range
|
||||
"/compute:alpha/RouterAdvertisedIpRange/description": description
|
||||
"/compute:alpha/RouterAdvertisedIpRange/range": range
|
||||
|
@ -23131,6 +23202,7 @@
|
|||
"/compute:alpha/RouterNat/tcpTransitoryIdleTimeoutSec": tcp_transitory_idle_timeout_sec
|
||||
"/compute:alpha/RouterNat/udpIdleTimeoutSec": udp_idle_timeout_sec
|
||||
"/compute:alpha/RouterNatLogConfig": router_nat_log_config
|
||||
"/compute:alpha/RouterNatLogConfig/enable": enable
|
||||
"/compute:alpha/RouterNatLogConfig/enabled": enabled
|
||||
"/compute:alpha/RouterNatLogConfig/filter": filter
|
||||
"/compute:alpha/RouterNatSubnetworkToNat": router_nat_subnetwork_to_nat
|
||||
|
@ -23272,6 +23344,7 @@
|
|||
"/compute:alpha/SecurityPolicy/rules": rules
|
||||
"/compute:alpha/SecurityPolicy/rules/rule": rule
|
||||
"/compute:alpha/SecurityPolicy/selfLink": self_link
|
||||
"/compute:alpha/SecurityPolicy/selfLinkWithId": self_link_with_id
|
||||
"/compute:alpha/SecurityPolicy/type": type
|
||||
"/compute:alpha/SecurityPolicyAssociation": security_policy_association
|
||||
"/compute:alpha/SecurityPolicyAssociation/attachmentId": attachment_id
|
||||
|
@ -23426,6 +23499,7 @@
|
|||
"/compute:alpha/SslCertificate/privateKey": private_key
|
||||
"/compute:alpha/SslCertificate/region": region
|
||||
"/compute:alpha/SslCertificate/selfLink": self_link
|
||||
"/compute:alpha/SslCertificate/selfLinkWithId": self_link_with_id
|
||||
"/compute:alpha/SslCertificate/selfManaged": self_managed
|
||||
"/compute:alpha/SslCertificate/subjectAlternativeNames": subject_alternative_names
|
||||
"/compute:alpha/SslCertificate/subjectAlternativeNames/subject_alternative_name": subject_alternative_name
|
||||
|
@ -23508,6 +23582,7 @@
|
|||
"/compute:alpha/SslPolicy/name": name
|
||||
"/compute:alpha/SslPolicy/profile": profile
|
||||
"/compute:alpha/SslPolicy/selfLink": self_link
|
||||
"/compute:alpha/SslPolicy/selfLinkWithId": self_link_with_id
|
||||
"/compute:alpha/SslPolicy/warnings": warnings
|
||||
"/compute:alpha/SslPolicy/warnings/warning": warning
|
||||
"/compute:alpha/SslPolicy/warnings/warning/code": code
|
||||
|
@ -23552,12 +23627,14 @@
|
|||
"/compute:alpha/Subnetwork/name": name
|
||||
"/compute:alpha/Subnetwork/network": network
|
||||
"/compute:alpha/Subnetwork/privateIpGoogleAccess": private_ip_google_access
|
||||
"/compute:alpha/Subnetwork/privateIpv6GoogleAccess": private_ipv6_google_access
|
||||
"/compute:alpha/Subnetwork/purpose": purpose
|
||||
"/compute:alpha/Subnetwork/region": region
|
||||
"/compute:alpha/Subnetwork/role": role
|
||||
"/compute:alpha/Subnetwork/secondaryIpRanges": secondary_ip_ranges
|
||||
"/compute:alpha/Subnetwork/secondaryIpRanges/secondary_ip_range": secondary_ip_range
|
||||
"/compute:alpha/Subnetwork/selfLink": self_link
|
||||
"/compute:alpha/Subnetwork/selfLinkWithId": self_link_with_id
|
||||
"/compute:alpha/Subnetwork/state": state
|
||||
"/compute:alpha/SubnetworkAggregatedList": subnetwork_aggregated_list
|
||||
"/compute:alpha/SubnetworkAggregatedList/id": id
|
||||
|
@ -23638,6 +23715,7 @@
|
|||
"/compute:alpha/TargetHttpProxy/name": name
|
||||
"/compute:alpha/TargetHttpProxy/region": region
|
||||
"/compute:alpha/TargetHttpProxy/selfLink": self_link
|
||||
"/compute:alpha/TargetHttpProxy/selfLinkWithId": self_link_with_id
|
||||
"/compute:alpha/TargetHttpProxy/urlMap": url_map
|
||||
"/compute:alpha/TargetHttpProxyAggregatedList": target_http_proxy_aggregated_list
|
||||
"/compute:alpha/TargetHttpProxyAggregatedList/id": id
|
||||
|
@ -23692,6 +23770,7 @@
|
|||
"/compute:alpha/TargetHttpsProxy/quicOverride": quic_override
|
||||
"/compute:alpha/TargetHttpsProxy/region": region
|
||||
"/compute:alpha/TargetHttpsProxy/selfLink": self_link
|
||||
"/compute:alpha/TargetHttpsProxy/selfLinkWithId": self_link_with_id
|
||||
"/compute:alpha/TargetHttpsProxy/sslCertificates": ssl_certificates
|
||||
"/compute:alpha/TargetHttpsProxy/sslCertificates/ssl_certificate": ssl_certificate
|
||||
"/compute:alpha/TargetHttpsProxy/sslPolicy": ssl_policy
|
||||
|
@ -23733,6 +23812,7 @@
|
|||
"/compute:alpha/TargetInstance/name": name
|
||||
"/compute:alpha/TargetInstance/natPolicy": nat_policy
|
||||
"/compute:alpha/TargetInstance/selfLink": self_link
|
||||
"/compute:alpha/TargetInstance/selfLinkWithId": self_link_with_id
|
||||
"/compute:alpha/TargetInstance/zone": zone
|
||||
"/compute:alpha/TargetInstanceAggregatedList": target_instance_aggregated_list
|
||||
"/compute:alpha/TargetInstanceAggregatedList/id": id
|
||||
|
@ -23786,6 +23866,7 @@
|
|||
"/compute:alpha/TargetPool/name": name
|
||||
"/compute:alpha/TargetPool/region": region
|
||||
"/compute:alpha/TargetPool/selfLink": self_link
|
||||
"/compute:alpha/TargetPool/selfLinkWithId": self_link_with_id
|
||||
"/compute:alpha/TargetPool/sessionAffinity": session_affinity
|
||||
"/compute:alpha/TargetPoolAggregatedList": target_pool_aggregated_list
|
||||
"/compute:alpha/TargetPoolAggregatedList/id": id
|
||||
|
@ -24603,6 +24684,28 @@
|
|||
"/compute:alpha/compute.disks.testIamPermissions/project": project
|
||||
"/compute:alpha/compute.disks.testIamPermissions/resource": resource
|
||||
"/compute:alpha/compute.disks.testIamPermissions/zone": zone
|
||||
"/compute:alpha/compute.externalVpnGateways.delete": delete_external_vpn_gateway
|
||||
"/compute:alpha/compute.externalVpnGateways.delete/externalVpnGateway": external_vpn_gateway
|
||||
"/compute:alpha/compute.externalVpnGateways.delete/project": project
|
||||
"/compute:alpha/compute.externalVpnGateways.delete/requestId": request_id
|
||||
"/compute:alpha/compute.externalVpnGateways.get": get_external_vpn_gateway
|
||||
"/compute:alpha/compute.externalVpnGateways.get/externalVpnGateway": external_vpn_gateway
|
||||
"/compute:alpha/compute.externalVpnGateways.get/project": project
|
||||
"/compute:alpha/compute.externalVpnGateways.insert": insert_external_vpn_gateway
|
||||
"/compute:alpha/compute.externalVpnGateways.insert/project": project
|
||||
"/compute:alpha/compute.externalVpnGateways.insert/requestId": request_id
|
||||
"/compute:alpha/compute.externalVpnGateways.list": list_external_vpn_gateways
|
||||
"/compute:alpha/compute.externalVpnGateways.list/filter": filter
|
||||
"/compute:alpha/compute.externalVpnGateways.list/maxResults": max_results
|
||||
"/compute:alpha/compute.externalVpnGateways.list/orderBy": order_by
|
||||
"/compute:alpha/compute.externalVpnGateways.list/pageToken": page_token
|
||||
"/compute:alpha/compute.externalVpnGateways.list/project": project
|
||||
"/compute:alpha/compute.externalVpnGateways.setLabels": set_external_vpn_gateway_labels
|
||||
"/compute:alpha/compute.externalVpnGateways.setLabels/project": project
|
||||
"/compute:alpha/compute.externalVpnGateways.setLabels/resource": resource
|
||||
"/compute:alpha/compute.externalVpnGateways.testIamPermissions": test_external_vpn_gateway_iam_permissions
|
||||
"/compute:alpha/compute.externalVpnGateways.testIamPermissions/project": project
|
||||
"/compute:alpha/compute.externalVpnGateways.testIamPermissions/resource": resource
|
||||
"/compute:alpha/compute.firewalls.delete": delete_firewall
|
||||
"/compute:alpha/compute.firewalls.delete/firewall": firewall
|
||||
"/compute:alpha/compute.firewalls.delete/project": project
|
||||
|
@ -28391,6 +28494,7 @@
|
|||
"/compute:beta/InstanceProperties/description": description
|
||||
"/compute:beta/InstanceProperties/disks": disks
|
||||
"/compute:beta/InstanceProperties/disks/disk": disk
|
||||
"/compute:beta/InstanceProperties/displayDevice": display_device
|
||||
"/compute:beta/InstanceProperties/guestAccelerators": guest_accelerators
|
||||
"/compute:beta/InstanceProperties/guestAccelerators/guest_accelerator": guest_accelerator
|
||||
"/compute:beta/InstanceProperties/labels": labels
|
||||
|
@ -29443,6 +29547,7 @@
|
|||
"/compute:beta/ResourcePolicy/name": name
|
||||
"/compute:beta/ResourcePolicy/region": region
|
||||
"/compute:beta/ResourcePolicy/selfLink": self_link
|
||||
"/compute:beta/ResourcePolicy/snapshotSchedulePolicy": snapshot_schedule_policy
|
||||
"/compute:beta/ResourcePolicyAggregatedList": resource_policy_aggregated_list
|
||||
"/compute:beta/ResourcePolicyAggregatedList/etag": etag
|
||||
"/compute:beta/ResourcePolicyAggregatedList/id": id
|
||||
|
@ -29498,6 +29603,23 @@
|
|||
"/compute:beta/ResourcePolicyList/warning/data/datum/key": key
|
||||
"/compute:beta/ResourcePolicyList/warning/data/datum/value": value
|
||||
"/compute:beta/ResourcePolicyList/warning/message": message
|
||||
"/compute:beta/ResourcePolicySnapshotSchedulePolicy": resource_policy_snapshot_schedule_policy
|
||||
"/compute:beta/ResourcePolicySnapshotSchedulePolicy/retentionPolicy": retention_policy
|
||||
"/compute:beta/ResourcePolicySnapshotSchedulePolicy/schedule": schedule
|
||||
"/compute:beta/ResourcePolicySnapshotSchedulePolicy/snapshotProperties": snapshot_properties
|
||||
"/compute:beta/ResourcePolicySnapshotSchedulePolicyRetentionPolicy": resource_policy_snapshot_schedule_policy_retention_policy
|
||||
"/compute:beta/ResourcePolicySnapshotSchedulePolicyRetentionPolicy/maxRetentionDays": max_retention_days
|
||||
"/compute:beta/ResourcePolicySnapshotSchedulePolicyRetentionPolicy/onSourceDiskDelete": on_source_disk_delete
|
||||
"/compute:beta/ResourcePolicySnapshotSchedulePolicySchedule": resource_policy_snapshot_schedule_policy_schedule
|
||||
"/compute:beta/ResourcePolicySnapshotSchedulePolicySchedule/dailySchedule": daily_schedule
|
||||
"/compute:beta/ResourcePolicySnapshotSchedulePolicySchedule/hourlySchedule": hourly_schedule
|
||||
"/compute:beta/ResourcePolicySnapshotSchedulePolicySchedule/weeklySchedule": weekly_schedule
|
||||
"/compute:beta/ResourcePolicySnapshotSchedulePolicySnapshotProperties": resource_policy_snapshot_schedule_policy_snapshot_properties
|
||||
"/compute:beta/ResourcePolicySnapshotSchedulePolicySnapshotProperties/guestFlush": guest_flush
|
||||
"/compute:beta/ResourcePolicySnapshotSchedulePolicySnapshotProperties/labels": labels
|
||||
"/compute:beta/ResourcePolicySnapshotSchedulePolicySnapshotProperties/labels/label": label
|
||||
"/compute:beta/ResourcePolicySnapshotSchedulePolicySnapshotProperties/storageLocations": storage_locations
|
||||
"/compute:beta/ResourcePolicySnapshotSchedulePolicySnapshotProperties/storageLocations/storage_location": storage_location
|
||||
"/compute:beta/ResourcePolicyWeeklyCycle": resource_policy_weekly_cycle
|
||||
"/compute:beta/ResourcePolicyWeeklyCycle/dayOfWeeks": day_of_weeks
|
||||
"/compute:beta/ResourcePolicyWeeklyCycle/dayOfWeeks/day_of_week": day_of_week
|
||||
|
@ -29621,6 +29743,7 @@
|
|||
"/compute:beta/RouterList/warning/message": message
|
||||
"/compute:beta/RouterNat": router_nat
|
||||
"/compute:beta/RouterNat/icmpIdleTimeoutSec": icmp_idle_timeout_sec
|
||||
"/compute:beta/RouterNat/logConfig": log_config
|
||||
"/compute:beta/RouterNat/minPortsPerVm": min_ports_per_vm
|
||||
"/compute:beta/RouterNat/name": name
|
||||
"/compute:beta/RouterNat/natIpAllocateOption": nat_ip_allocate_option
|
||||
|
@ -29632,6 +29755,9 @@
|
|||
"/compute:beta/RouterNat/tcpEstablishedIdleTimeoutSec": tcp_established_idle_timeout_sec
|
||||
"/compute:beta/RouterNat/tcpTransitoryIdleTimeoutSec": tcp_transitory_idle_timeout_sec
|
||||
"/compute:beta/RouterNat/udpIdleTimeoutSec": udp_idle_timeout_sec
|
||||
"/compute:beta/RouterNatLogConfig": router_nat_log_config
|
||||
"/compute:beta/RouterNatLogConfig/enable": enable
|
||||
"/compute:beta/RouterNatLogConfig/filter": filter
|
||||
"/compute:beta/RouterNatSubnetworkToNat": router_nat_subnetwork_to_nat
|
||||
"/compute:beta/RouterNatSubnetworkToNat/name": name
|
||||
"/compute:beta/RouterNatSubnetworkToNat/secondaryIpRangeNames": secondary_ip_range_names
|
||||
|
@ -31925,6 +32051,10 @@
|
|||
"/compute:beta/compute.regionDisks.get/disk": disk
|
||||
"/compute:beta/compute.regionDisks.get/project": project
|
||||
"/compute:beta/compute.regionDisks.get/region": region
|
||||
"/compute:beta/compute.regionDisks.getIamPolicy": get_region_disk_iam_policy
|
||||
"/compute:beta/compute.regionDisks.getIamPolicy/project": project
|
||||
"/compute:beta/compute.regionDisks.getIamPolicy/region": region
|
||||
"/compute:beta/compute.regionDisks.getIamPolicy/resource": resource
|
||||
"/compute:beta/compute.regionDisks.insert": insert_region_disk
|
||||
"/compute:beta/compute.regionDisks.insert/project": project
|
||||
"/compute:beta/compute.regionDisks.insert/region": region
|
||||
|
@ -31947,6 +32077,10 @@
|
|||
"/compute:beta/compute.regionDisks.resize/project": project
|
||||
"/compute:beta/compute.regionDisks.resize/region": region
|
||||
"/compute:beta/compute.regionDisks.resize/requestId": request_id
|
||||
"/compute:beta/compute.regionDisks.setIamPolicy": set_region_disk_iam_policy
|
||||
"/compute:beta/compute.regionDisks.setIamPolicy/project": project
|
||||
"/compute:beta/compute.regionDisks.setIamPolicy/region": region
|
||||
"/compute:beta/compute.regionDisks.setIamPolicy/resource": resource
|
||||
"/compute:beta/compute.regionDisks.setLabels": set_region_disk_labels
|
||||
"/compute:beta/compute.regionDisks.setLabels/project": project
|
||||
"/compute:beta/compute.regionDisks.setLabels/region": region
|
||||
|
@ -33340,6 +33474,10 @@
|
|||
"/compute:v1/FirewallList/warning/message": message
|
||||
"/compute:v1/FirewallLogConfig": firewall_log_config
|
||||
"/compute:v1/FirewallLogConfig/enable": enable
|
||||
"/compute:v1/FixedOrPercent": fixed_or_percent
|
||||
"/compute:v1/FixedOrPercent/calculated": calculated
|
||||
"/compute:v1/FixedOrPercent/fixed": fixed
|
||||
"/compute:v1/FixedOrPercent/percent": percent
|
||||
"/compute:v1/ForwardingRule": forwarding_rule
|
||||
"/compute:v1/ForwardingRule/IPAddress": ip_address
|
||||
"/compute:v1/ForwardingRule/IPProtocol": ip_protocol
|
||||
|
@ -33358,6 +33496,8 @@
|
|||
"/compute:v1/ForwardingRule/ports/port": port
|
||||
"/compute:v1/ForwardingRule/region": region
|
||||
"/compute:v1/ForwardingRule/selfLink": self_link
|
||||
"/compute:v1/ForwardingRule/serviceLabel": service_label
|
||||
"/compute:v1/ForwardingRule/serviceName": service_name
|
||||
"/compute:v1/ForwardingRule/subnetwork": subnetwork
|
||||
"/compute:v1/ForwardingRule/target": target
|
||||
"/compute:v1/ForwardingRuleAggregatedList": forwarding_rule_aggregated_list
|
||||
|
@ -33677,9 +33817,13 @@
|
|||
"/compute:v1/InstanceGroupManager/namedPorts/named_port": named_port
|
||||
"/compute:v1/InstanceGroupManager/region": region
|
||||
"/compute:v1/InstanceGroupManager/selfLink": self_link
|
||||
"/compute:v1/InstanceGroupManager/status": status
|
||||
"/compute:v1/InstanceGroupManager/targetPools": target_pools
|
||||
"/compute:v1/InstanceGroupManager/targetPools/target_pool": target_pool
|
||||
"/compute:v1/InstanceGroupManager/targetSize": target_size
|
||||
"/compute:v1/InstanceGroupManager/updatePolicy": update_policy
|
||||
"/compute:v1/InstanceGroupManager/versions": versions
|
||||
"/compute:v1/InstanceGroupManager/versions/version": version
|
||||
"/compute:v1/InstanceGroupManager/zone": zone
|
||||
"/compute:v1/InstanceGroupManagerActionsSummary": instance_group_manager_actions_summary
|
||||
"/compute:v1/InstanceGroupManagerActionsSummary/abandoning": abandoning
|
||||
|
@ -33722,6 +33866,17 @@
|
|||
"/compute:v1/InstanceGroupManagerList/warning/data/datum/key": key
|
||||
"/compute:v1/InstanceGroupManagerList/warning/data/datum/value": value
|
||||
"/compute:v1/InstanceGroupManagerList/warning/message": message
|
||||
"/compute:v1/InstanceGroupManagerStatus": instance_group_manager_status
|
||||
"/compute:v1/InstanceGroupManagerStatus/isStable": is_stable
|
||||
"/compute:v1/InstanceGroupManagerUpdatePolicy": instance_group_manager_update_policy
|
||||
"/compute:v1/InstanceGroupManagerUpdatePolicy/maxSurge": max_surge
|
||||
"/compute:v1/InstanceGroupManagerUpdatePolicy/maxUnavailable": max_unavailable
|
||||
"/compute:v1/InstanceGroupManagerUpdatePolicy/minimalAction": minimal_action
|
||||
"/compute:v1/InstanceGroupManagerUpdatePolicy/type": type
|
||||
"/compute:v1/InstanceGroupManagerVersion": instance_group_manager_version
|
||||
"/compute:v1/InstanceGroupManagerVersion/instanceTemplate": instance_template
|
||||
"/compute:v1/InstanceGroupManagerVersion/name": name
|
||||
"/compute:v1/InstanceGroupManagerVersion/targetSize": target_size
|
||||
"/compute:v1/InstanceGroupManagersAbandonInstancesRequest": instance_group_managers_abandon_instances_request
|
||||
"/compute:v1/InstanceGroupManagersAbandonInstancesRequest/instances": instances
|
||||
"/compute:v1/InstanceGroupManagersAbandonInstancesRequest/instances/instance": instance
|
||||
|
@ -39557,6 +39712,9 @@
|
|||
"/containeranalysis:v1beta1/Installation/location": location
|
||||
"/containeranalysis:v1beta1/Installation/location/location": location
|
||||
"/containeranalysis:v1beta1/Installation/name": name
|
||||
"/containeranalysis:v1beta1/KnowledgeBase": knowledge_base
|
||||
"/containeranalysis:v1beta1/KnowledgeBase/name": name
|
||||
"/containeranalysis:v1beta1/KnowledgeBase/url": url
|
||||
"/containeranalysis:v1beta1/Layer": layer
|
||||
"/containeranalysis:v1beta1/Layer/arguments": arguments
|
||||
"/containeranalysis:v1beta1/Layer/directive": directive
|
||||
|
@ -39690,6 +39848,8 @@
|
|||
"/containeranalysis:v1beta1/Vulnerability/details": details
|
||||
"/containeranalysis:v1beta1/Vulnerability/details/detail": detail
|
||||
"/containeranalysis:v1beta1/Vulnerability/severity": severity
|
||||
"/containeranalysis:v1beta1/Vulnerability/windowsDetails": windows_details
|
||||
"/containeranalysis:v1beta1/Vulnerability/windowsDetails/windows_detail": windows_detail
|
||||
"/containeranalysis:v1beta1/VulnerabilityLocation": vulnerability_location
|
||||
"/containeranalysis:v1beta1/VulnerabilityLocation/cpeUri": cpe_uri
|
||||
"/containeranalysis:v1beta1/VulnerabilityLocation/package": package
|
||||
|
@ -39697,6 +39857,12 @@
|
|||
"/containeranalysis:v1beta1/VulnerabilityOccurrencesSummary": vulnerability_occurrences_summary
|
||||
"/containeranalysis:v1beta1/VulnerabilityOccurrencesSummary/counts": counts
|
||||
"/containeranalysis:v1beta1/VulnerabilityOccurrencesSummary/counts/count": count
|
||||
"/containeranalysis:v1beta1/WindowsDetail": windows_detail
|
||||
"/containeranalysis:v1beta1/WindowsDetail/cpeUri": cpe_uri
|
||||
"/containeranalysis:v1beta1/WindowsDetail/description": description
|
||||
"/containeranalysis:v1beta1/WindowsDetail/fixingKbs": fixing_kbs
|
||||
"/containeranalysis:v1beta1/WindowsDetail/fixingKbs/fixing_kb": fixing_kb
|
||||
"/containeranalysis:v1beta1/WindowsDetail/name": name
|
||||
"/containeranalysis:v1beta1/containeranalysis.projects.notes.batchCreate": batch_create_notes
|
||||
"/containeranalysis:v1beta1/containeranalysis.projects.notes.batchCreate/parent": parent
|
||||
"/containeranalysis:v1beta1/containeranalysis.projects.notes.create": create_project_note
|
||||
|
@ -94867,6 +95033,8 @@
|
|||
"/testing:v1/testing.testEnvironmentCatalog.get/projectId": project_id
|
||||
"/texttospeech:v1/AudioConfig": audio_config
|
||||
"/texttospeech:v1/AudioConfig/audioEncoding": audio_encoding
|
||||
"/texttospeech:v1/AudioConfig/effectsProfileId": effects_profile_id
|
||||
"/texttospeech:v1/AudioConfig/effectsProfileId/effects_profile_id": effects_profile_id
|
||||
"/texttospeech:v1/AudioConfig/pitch": pitch
|
||||
"/texttospeech:v1/AudioConfig/sampleRateHertz": sample_rate_hertz
|
||||
"/texttospeech:v1/AudioConfig/speakingRate": speaking_rate
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/compute/docs/reference/latest/
|
||||
module ComputeAlpha
|
||||
VERSION = 'Alpha'
|
||||
REVISION = '20181217'
|
||||
REVISION = '20190107'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -850,6 +850,36 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ExternalVpnGateway
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ExternalVpnGatewayInterface
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ExternalVpnGatewayList
|
||||
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 Firewall
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -3094,30 +3124,6 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ResourcePolicyBackupSchedulePolicy
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ResourcePolicyBackupSchedulePolicyRetentionPolicy
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ResourcePolicyBackupSchedulePolicySchedule
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ResourcePolicyBackupSchedulePolicySnapshotProperties
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ResourcePolicyDailyCycle
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -3148,6 +3154,30 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ResourcePolicySnapshotSchedulePolicy
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ResourcePolicySnapshotSchedulePolicyRetentionPolicy
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ResourcePolicySnapshotSchedulePolicySchedule
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ResourcePolicySnapshotSchedulePolicySnapshotProperties
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ResourcePolicyVmMaintenancePolicy
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -6120,6 +6150,64 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class ExternalVpnGateway
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :creation_timestamp, as: 'creationTimestamp'
|
||||
property :description, as: 'description'
|
||||
property :id, :numeric_string => true, as: 'id'
|
||||
collection :interfaces, as: 'interfaces', class: Google::Apis::ComputeAlpha::ExternalVpnGatewayInterface, decorator: Google::Apis::ComputeAlpha::ExternalVpnGatewayInterface::Representation
|
||||
|
||||
property :kind, as: 'kind'
|
||||
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
|
||||
hash :labels, as: 'labels'
|
||||
property :name, as: 'name'
|
||||
property :redundancy_type, as: 'redundancyType'
|
||||
property :self_link, as: 'selfLink'
|
||||
end
|
||||
end
|
||||
|
||||
class ExternalVpnGatewayInterface
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :id, as: 'id'
|
||||
property :ip_address, as: 'ipAddress'
|
||||
end
|
||||
end
|
||||
|
||||
class ExternalVpnGatewayList
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :etag, as: 'etag'
|
||||
property :id, as: 'id'
|
||||
collection :items, as: 'items', class: Google::Apis::ComputeAlpha::ExternalVpnGateway, decorator: Google::Apis::ComputeAlpha::ExternalVpnGateway::Representation
|
||||
|
||||
property :kind, as: 'kind'
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::ExternalVpnGatewayList::Warning, decorator: Google::Apis::ComputeAlpha::ExternalVpnGatewayList::Warning::Representation
|
||||
|
||||
end
|
||||
|
||||
class Warning
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :code, as: 'code'
|
||||
collection :data, as: 'data', class: Google::Apis::ComputeAlpha::ExternalVpnGatewayList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::ExternalVpnGatewayList::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 Firewall
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -6458,6 +6546,7 @@ module Google
|
|||
property :name, as: 'name'
|
||||
property :region, as: 'region'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :self_link_with_id, as: 'selfLinkWithId'
|
||||
property :ssl_health_check, as: 'sslHealthCheck', class: Google::Apis::ComputeAlpha::SslHealthCheck, decorator: Google::Apis::ComputeAlpha::SslHealthCheck::Representation
|
||||
|
||||
property :tcp_health_check, as: 'tcpHealthCheck', class: Google::Apis::ComputeAlpha::TcpHealthCheck, decorator: Google::Apis::ComputeAlpha::TcpHealthCheck::Representation
|
||||
|
@ -6679,6 +6768,7 @@ module Google
|
|||
property :port, as: 'port'
|
||||
property :request_path, as: 'requestPath'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :self_link_with_id, as: 'selfLinkWithId'
|
||||
property :timeout_sec, as: 'timeoutSec'
|
||||
property :unhealthy_threshold, as: 'unhealthyThreshold'
|
||||
end
|
||||
|
@ -6812,6 +6902,7 @@ module Google
|
|||
property :port, as: 'port'
|
||||
property :request_path, as: 'requestPath'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :self_link_with_id, as: 'selfLinkWithId'
|
||||
property :timeout_sec, as: 'timeoutSec'
|
||||
property :unhealthy_threshold, as: 'unhealthyThreshold'
|
||||
end
|
||||
|
@ -6976,6 +7067,8 @@ module Google
|
|||
property :shielded_vm_integrity_policy, as: 'shieldedVmIntegrityPolicy', class: Google::Apis::ComputeAlpha::ShieldedVmIntegrityPolicy, decorator: Google::Apis::ComputeAlpha::ShieldedVmIntegrityPolicy::Representation
|
||||
|
||||
property :source_machine_image, as: 'sourceMachineImage'
|
||||
property :source_machine_image_encryption_key, as: 'sourceMachineImageEncryptionKey', class: Google::Apis::ComputeAlpha::CustomerEncryptionKey, decorator: Google::Apis::ComputeAlpha::CustomerEncryptionKey::Representation
|
||||
|
||||
property :start_restricted, as: 'startRestricted'
|
||||
property :status, as: 'status'
|
||||
property :status_message, as: 'statusMessage'
|
||||
|
@ -7607,6 +7700,8 @@ module Google
|
|||
property :description, as: 'description'
|
||||
collection :disks, as: 'disks', class: Google::Apis::ComputeAlpha::AttachedDisk, decorator: Google::Apis::ComputeAlpha::AttachedDisk::Representation
|
||||
|
||||
property :display_device, as: 'displayDevice', class: Google::Apis::ComputeAlpha::DisplayDevice, decorator: Google::Apis::ComputeAlpha::DisplayDevice::Representation
|
||||
|
||||
collection :guest_accelerators, as: 'guestAccelerators', class: Google::Apis::ComputeAlpha::AcceleratorConfig, decorator: Google::Apis::ComputeAlpha::AcceleratorConfig::Representation
|
||||
|
||||
hash :labels, as: 'labels'
|
||||
|
@ -7645,6 +7740,7 @@ module Google
|
|||
property :properties, as: 'properties', class: Google::Apis::ComputeAlpha::InstanceProperties, decorator: Google::Apis::ComputeAlpha::InstanceProperties::Representation
|
||||
|
||||
property :self_link, as: 'selfLink'
|
||||
property :self_link_with_id, as: 'selfLinkWithId'
|
||||
property :source_instance, as: 'sourceInstance'
|
||||
property :source_instance_params, as: 'sourceInstanceParams', class: Google::Apis::ComputeAlpha::SourceInstanceParams, decorator: Google::Apis::ComputeAlpha::SourceInstanceParams::Representation
|
||||
|
||||
|
@ -7829,6 +7925,7 @@ module Google
|
|||
property :provisioned_link_count, as: 'provisionedLinkCount'
|
||||
property :requested_link_count, as: 'requestedLinkCount'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :self_link_with_id, as: 'selfLinkWithId'
|
||||
property :state, as: 'state'
|
||||
end
|
||||
end
|
||||
|
@ -7861,6 +7958,7 @@ module Google
|
|||
property :region, as: 'region'
|
||||
property :router, as: 'router'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :self_link_with_id, as: 'selfLinkWithId'
|
||||
property :state, as: 'state'
|
||||
property :type, as: 'type'
|
||||
property :vlan_tag8021q, as: 'vlanTag8021q'
|
||||
|
@ -8086,6 +8184,7 @@ module Google
|
|||
collection :region_infos, as: 'regionInfos', class: Google::Apis::ComputeAlpha::InterconnectLocationRegionInfo, decorator: Google::Apis::ComputeAlpha::InterconnectLocationRegionInfo::Representation
|
||||
|
||||
property :self_link, as: 'selfLink'
|
||||
property :self_link_with_id, as: 'selfLinkWithId'
|
||||
property :status, as: 'status'
|
||||
end
|
||||
end
|
||||
|
@ -8250,6 +8349,7 @@ module Google
|
|||
property :resource_requirements, as: 'resourceRequirements', class: Google::Apis::ComputeAlpha::LicenseResourceRequirements, decorator: Google::Apis::ComputeAlpha::LicenseResourceRequirements::Representation
|
||||
|
||||
property :self_link, as: 'selfLink'
|
||||
property :self_link_with_id, as: 'selfLinkWithId'
|
||||
property :transferable, as: 'transferable'
|
||||
end
|
||||
end
|
||||
|
@ -8360,8 +8460,11 @@ module Google
|
|||
property :description, as: 'description'
|
||||
property :id, :numeric_string => true, as: 'id'
|
||||
property :kind, as: 'kind'
|
||||
property :machine_image_encryption_key, as: 'machineImageEncryptionKey', class: Google::Apis::ComputeAlpha::CustomerEncryptionKey, decorator: Google::Apis::ComputeAlpha::CustomerEncryptionKey::Representation
|
||||
|
||||
property :name, as: 'name'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :self_link_with_id, as: 'selfLinkWithId'
|
||||
property :source_instance, as: 'sourceInstance'
|
||||
property :source_instance_properties, as: 'sourceInstanceProperties', class: Google::Apis::ComputeAlpha::SourceInstanceProperties, decorator: Google::Apis::ComputeAlpha::SourceInstanceProperties::Representation
|
||||
|
||||
|
@ -8419,6 +8522,7 @@ module Google
|
|||
property :memory_mb, as: 'memoryMb'
|
||||
property :name, as: 'name'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :self_link_with_id, as: 'selfLinkWithId'
|
||||
property :zone, as: 'zone'
|
||||
end
|
||||
end
|
||||
|
@ -8700,6 +8804,7 @@ module Google
|
|||
property :network, as: 'network'
|
||||
property :network_endpoint_type, as: 'networkEndpointType'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :self_link_with_id, as: 'selfLinkWithId'
|
||||
property :size, as: 'size'
|
||||
property :subnetwork, as: 'subnetwork'
|
||||
property :type, as: 'type'
|
||||
|
@ -8983,6 +9088,7 @@ module Google
|
|||
property :name, as: 'name'
|
||||
property :node_template, as: 'nodeTemplate'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :self_link_with_id, as: 'selfLinkWithId'
|
||||
property :size, as: 'size'
|
||||
property :status, as: 'status'
|
||||
property :zone, as: 'zone'
|
||||
|
@ -9176,6 +9282,7 @@ module Google
|
|||
|
||||
property :region, as: 'region'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :self_link_with_id, as: 'selfLinkWithId'
|
||||
property :server_binding, as: 'serverBinding', class: Google::Apis::ComputeAlpha::ServerBinding, decorator: Google::Apis::ComputeAlpha::ServerBinding::Representation
|
||||
|
||||
property :status, as: 'status'
|
||||
|
@ -9299,6 +9406,7 @@ module Google
|
|||
property :memory_mb, as: 'memoryMb'
|
||||
property :name, as: 'name'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :self_link_with_id, as: 'selfLinkWithId'
|
||||
property :zone, as: 'zone'
|
||||
end
|
||||
end
|
||||
|
@ -9414,6 +9522,7 @@ module Google
|
|||
property :progress, as: 'progress'
|
||||
property :region, as: 'region'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :self_link_with_id, as: 'selfLinkWithId'
|
||||
property :start_time, as: 'startTime'
|
||||
property :status, as: 'status'
|
||||
property :status_message, as: 'statusMessage'
|
||||
|
@ -9740,6 +9849,7 @@ module Google
|
|||
collection :quotas, as: 'quotas', class: Google::Apis::ComputeAlpha::Quota, decorator: Google::Apis::ComputeAlpha::Quota::Representation
|
||||
|
||||
property :self_link, as: 'selfLink'
|
||||
property :self_link_with_id, as: 'selfLinkWithId'
|
||||
property :status, as: 'status'
|
||||
collection :zones, as: 'zones'
|
||||
end
|
||||
|
@ -10178,8 +10288,6 @@ module Google
|
|||
class ResourcePolicy
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :backup_schedule_policy, as: 'backupSchedulePolicy', class: Google::Apis::ComputeAlpha::ResourcePolicyBackupSchedulePolicy, decorator: Google::Apis::ComputeAlpha::ResourcePolicyBackupSchedulePolicy::Representation
|
||||
|
||||
property :creation_timestamp, as: 'creationTimestamp'
|
||||
property :description, as: 'description'
|
||||
property :id, :numeric_string => true, as: 'id'
|
||||
|
@ -10187,6 +10295,9 @@ module Google
|
|||
property :name, as: 'name'
|
||||
property :region, as: 'region'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :self_link_with_id, as: 'selfLinkWithId'
|
||||
property :snapshot_schedule_policy, as: 'snapshotSchedulePolicy', class: Google::Apis::ComputeAlpha::ResourcePolicySnapshotSchedulePolicy, decorator: Google::Apis::ComputeAlpha::ResourcePolicySnapshotSchedulePolicy::Representation
|
||||
|
||||
property :vm_maintenance_policy, as: 'vmMaintenancePolicy', class: Google::Apis::ComputeAlpha::ResourcePolicyVmMaintenancePolicy, decorator: Google::Apis::ComputeAlpha::ResourcePolicyVmMaintenancePolicy::Representation
|
||||
|
||||
end
|
||||
|
@ -10225,48 +10336,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class ResourcePolicyBackupSchedulePolicy
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :retention_policy, as: 'retentionPolicy', class: Google::Apis::ComputeAlpha::ResourcePolicyBackupSchedulePolicyRetentionPolicy, decorator: Google::Apis::ComputeAlpha::ResourcePolicyBackupSchedulePolicyRetentionPolicy::Representation
|
||||
|
||||
property :schedule, as: 'schedule', class: Google::Apis::ComputeAlpha::ResourcePolicyBackupSchedulePolicySchedule, decorator: Google::Apis::ComputeAlpha::ResourcePolicyBackupSchedulePolicySchedule::Representation
|
||||
|
||||
property :snapshot_properties, as: 'snapshotProperties', class: Google::Apis::ComputeAlpha::ResourcePolicyBackupSchedulePolicySnapshotProperties, decorator: Google::Apis::ComputeAlpha::ResourcePolicyBackupSchedulePolicySnapshotProperties::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class ResourcePolicyBackupSchedulePolicyRetentionPolicy
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :max_retention_days, as: 'maxRetentionDays'
|
||||
property :on_policy_switch, as: 'onPolicySwitch'
|
||||
property :on_source_disk_delete, as: 'onSourceDiskDelete'
|
||||
end
|
||||
end
|
||||
|
||||
class ResourcePolicyBackupSchedulePolicySchedule
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :daily_schedule, as: 'dailySchedule', class: Google::Apis::ComputeAlpha::ResourcePolicyDailyCycle, decorator: Google::Apis::ComputeAlpha::ResourcePolicyDailyCycle::Representation
|
||||
|
||||
property :hourly_schedule, as: 'hourlySchedule', class: Google::Apis::ComputeAlpha::ResourcePolicyHourlyCycle, decorator: Google::Apis::ComputeAlpha::ResourcePolicyHourlyCycle::Representation
|
||||
|
||||
property :weekly_schedule, as: 'weeklySchedule', class: Google::Apis::ComputeAlpha::ResourcePolicyWeeklyCycle, decorator: Google::Apis::ComputeAlpha::ResourcePolicyWeeklyCycle::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class ResourcePolicyBackupSchedulePolicySnapshotProperties
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :guest_flush, as: 'guestFlush'
|
||||
hash :labels, as: 'labels'
|
||||
collection :storage_locations, as: 'storageLocations'
|
||||
end
|
||||
end
|
||||
|
||||
class ResourcePolicyDailyCycle
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -10318,6 +10387,48 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class ResourcePolicySnapshotSchedulePolicy
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :retention_policy, as: 'retentionPolicy', class: Google::Apis::ComputeAlpha::ResourcePolicySnapshotSchedulePolicyRetentionPolicy, decorator: Google::Apis::ComputeAlpha::ResourcePolicySnapshotSchedulePolicyRetentionPolicy::Representation
|
||||
|
||||
property :schedule, as: 'schedule', class: Google::Apis::ComputeAlpha::ResourcePolicySnapshotSchedulePolicySchedule, decorator: Google::Apis::ComputeAlpha::ResourcePolicySnapshotSchedulePolicySchedule::Representation
|
||||
|
||||
property :snapshot_properties, as: 'snapshotProperties', class: Google::Apis::ComputeAlpha::ResourcePolicySnapshotSchedulePolicySnapshotProperties, decorator: Google::Apis::ComputeAlpha::ResourcePolicySnapshotSchedulePolicySnapshotProperties::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class ResourcePolicySnapshotSchedulePolicyRetentionPolicy
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :max_retention_days, as: 'maxRetentionDays'
|
||||
property :on_policy_switch, as: 'onPolicySwitch'
|
||||
property :on_source_disk_delete, as: 'onSourceDiskDelete'
|
||||
end
|
||||
end
|
||||
|
||||
class ResourcePolicySnapshotSchedulePolicySchedule
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :daily_schedule, as: 'dailySchedule', class: Google::Apis::ComputeAlpha::ResourcePolicyDailyCycle, decorator: Google::Apis::ComputeAlpha::ResourcePolicyDailyCycle::Representation
|
||||
|
||||
property :hourly_schedule, as: 'hourlySchedule', class: Google::Apis::ComputeAlpha::ResourcePolicyHourlyCycle, decorator: Google::Apis::ComputeAlpha::ResourcePolicyHourlyCycle::Representation
|
||||
|
||||
property :weekly_schedule, as: 'weeklySchedule', class: Google::Apis::ComputeAlpha::ResourcePolicyWeeklyCycle, decorator: Google::Apis::ComputeAlpha::ResourcePolicyWeeklyCycle::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class ResourcePolicySnapshotSchedulePolicySnapshotProperties
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :guest_flush, as: 'guestFlush'
|
||||
hash :labels, as: 'labels'
|
||||
collection :storage_locations, as: 'storageLocations'
|
||||
end
|
||||
end
|
||||
|
||||
class ResourcePolicyVmMaintenancePolicy
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -10446,6 +10557,7 @@ module Google
|
|||
property :network, as: 'network'
|
||||
property :region, as: 'region'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :self_link_with_id, as: 'selfLinkWithId'
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -10582,6 +10694,7 @@ module Google
|
|||
class RouterNatLogConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :enable, as: 'enable'
|
||||
property :enabled, as: 'enabled'
|
||||
property :filter, as: 'filter'
|
||||
end
|
||||
|
@ -10791,6 +10904,7 @@ module Google
|
|||
collection :rules, as: 'rules', class: Google::Apis::ComputeAlpha::SecurityPolicyRule, decorator: Google::Apis::ComputeAlpha::SecurityPolicyRule::Representation
|
||||
|
||||
property :self_link, as: 'selfLink'
|
||||
property :self_link_with_id, as: 'selfLinkWithId'
|
||||
property :type, as: 'type'
|
||||
end
|
||||
end
|
||||
|
@ -11067,6 +11181,7 @@ module Google
|
|||
property :private_key, as: 'privateKey'
|
||||
property :region, as: 'region'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :self_link_with_id, as: 'selfLinkWithId'
|
||||
property :self_managed, as: 'selfManaged', class: Google::Apis::ComputeAlpha::SslCertificateSelfManagedSslCertificate, decorator: Google::Apis::ComputeAlpha::SslCertificateSelfManagedSslCertificate::Representation
|
||||
|
||||
collection :subject_alternative_names, as: 'subjectAlternativeNames'
|
||||
|
@ -11236,6 +11351,7 @@ module Google
|
|||
property :name, as: 'name'
|
||||
property :profile, as: 'profile'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :self_link_with_id, as: 'selfLinkWithId'
|
||||
collection :warnings, as: 'warnings', class: Google::Apis::ComputeAlpha::SslPolicy::Warning, decorator: Google::Apis::ComputeAlpha::SslPolicy::Warning::Representation
|
||||
|
||||
end
|
||||
|
@ -11328,12 +11444,14 @@ module Google
|
|||
property :name, as: 'name'
|
||||
property :network, as: 'network'
|
||||
property :private_ip_google_access, as: 'privateIpGoogleAccess'
|
||||
property :private_ipv6_google_access, as: 'privateIpv6GoogleAccess'
|
||||
property :purpose, as: 'purpose'
|
||||
property :region, as: 'region'
|
||||
property :role, as: 'role'
|
||||
collection :secondary_ip_ranges, as: 'secondaryIpRanges', class: Google::Apis::ComputeAlpha::SubnetworkSecondaryRange, decorator: Google::Apis::ComputeAlpha::SubnetworkSecondaryRange::Representation
|
||||
|
||||
property :self_link, as: 'selfLink'
|
||||
property :self_link_with_id, as: 'selfLinkWithId'
|
||||
property :state, as: 'state'
|
||||
end
|
||||
end
|
||||
|
@ -11520,6 +11638,7 @@ module Google
|
|||
property :name, as: 'name'
|
||||
property :region, as: 'region'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :self_link_with_id, as: 'selfLinkWithId'
|
||||
property :url_map, as: 'urlMap'
|
||||
end
|
||||
end
|
||||
|
@ -11641,6 +11760,7 @@ module Google
|
|||
property :quic_override, as: 'quicOverride'
|
||||
property :region, as: 'region'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :self_link_with_id, as: 'selfLinkWithId'
|
||||
collection :ssl_certificates, as: 'sslCertificates'
|
||||
property :ssl_policy, as: 'sslPolicy'
|
||||
property :url_map, as: 'urlMap'
|
||||
|
@ -11722,6 +11842,7 @@ module Google
|
|||
property :name, as: 'name'
|
||||
property :nat_policy, as: 'natPolicy'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :self_link_with_id, as: 'selfLinkWithId'
|
||||
property :zone, as: 'zone'
|
||||
end
|
||||
end
|
||||
|
@ -11832,6 +11953,7 @@ module Google
|
|||
property :name, as: 'name'
|
||||
property :region, as: 'region'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :self_link_with_id, as: 'selfLinkWithId'
|
||||
property :session_affinity, as: 'sessionAffinity'
|
||||
end
|
||||
end
|
||||
|
|
|
@ -3560,6 +3560,290 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Deletes the specified externalVpnGateway.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] external_vpn_gateway
|
||||
# Name of the externalVpnGateways 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
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @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_external_vpn_gateway(project, external_vpn_gateway, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:delete, '{project}/global/externalVpnGateways/{externalVpnGateway}', 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['externalVpnGateway'] = external_vpn_gateway unless external_vpn_gateway.nil?
|
||||
command.query['requestId'] = request_id unless request_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Returns the specified externalVpnGateway. Get a list of available
|
||||
# externalVpnGateways by making a list() request.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] external_vpn_gateway
|
||||
# Name of the externalVpnGateway to return.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ComputeAlpha::ExternalVpnGateway] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ComputeAlpha::ExternalVpnGateway]
|
||||
#
|
||||
# @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_external_vpn_gateway(project, external_vpn_gateway, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, '{project}/global/externalVpnGateways/{externalVpnGateway}', options)
|
||||
command.response_representation = Google::Apis::ComputeAlpha::ExternalVpnGateway::Representation
|
||||
command.response_class = Google::Apis::ComputeAlpha::ExternalVpnGateway
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.params['externalVpnGateway'] = external_vpn_gateway unless external_vpn_gateway.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 ExternalVpnGateway in the specified project using the data included
|
||||
# in the request.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [Google::Apis::ComputeAlpha::ExternalVpnGateway] external_vpn_gateway_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
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @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_external_vpn_gateway(project, external_vpn_gateway_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, '{project}/global/externalVpnGateways', options)
|
||||
command.request_representation = Google::Apis::ComputeAlpha::ExternalVpnGateway::Representation
|
||||
command.request_object = external_vpn_gateway_object
|
||||
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
||||
command.response_class = Google::Apis::ComputeAlpha::Operation
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.query['requestId'] = request_id unless request_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Retrieves the list of ExternalVpnGateway available to the specified project.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] filter
|
||||
# A filter expression that filters resources listed in the response. The
|
||||
# expression must specify the field name, a comparison operator, and the value
|
||||
# that you want to use for filtering. The value must be a string, a number, or a
|
||||
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||
# instances named example-instance by specifying name != example-instance.
|
||||
# You can also filter nested fields. For example, you could specify scheduling.
|
||||
# automaticRestart = false to include instances only if they are not scheduled
|
||||
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||
# on resource labels.
|
||||
# To filter on multiple expressions, provide each separate expression within
|
||||
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||
# automaticRestart = true).
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of results per page that should be returned. If the number
|
||||
# of available results is larger than maxResults, Compute Engine returns a
|
||||
# nextPageToken that can be used to get the next page of results in subsequent
|
||||
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
||||
# @param [String] order_by
|
||||
# Sorts list results by a certain order. By default, results are returned in
|
||||
# alphanumerical order based on the resource name.
|
||||
# You can also sort results in descending order based on the creation timestamp
|
||||
# using orderBy="creationTimestamp desc". This sorts results based on the
|
||||
# creationTimestamp field in reverse chronological order (newest result first).
|
||||
# Use this to sort resources like operations so that the newest operation is
|
||||
# returned first.
|
||||
# Currently, only sorting by name or creationTimestamp desc is supported.
|
||||
# @param [String] page_token
|
||||
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
||||
# a previous list request to get the next page of results.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ComputeAlpha::ExternalVpnGatewayList] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ComputeAlpha::ExternalVpnGatewayList]
|
||||
#
|
||||
# @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_external_vpn_gateways(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}/global/externalVpnGateways', options)
|
||||
command.response_representation = Google::Apis::ComputeAlpha::ExternalVpnGatewayList::Representation
|
||||
command.response_class = Google::Apis::ComputeAlpha::ExternalVpnGatewayList
|
||||
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
|
||||
|
||||
# Sets the labels on an ExternalVpnGateway. To learn more about labels, read the
|
||||
# Labeling Resources documentation.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] resource
|
||||
# Name or id of the resource for this request.
|
||||
# @param [Google::Apis::ComputeAlpha::GlobalSetLabelsRequest] global_set_labels_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ComputeAlpha::Operation]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def set_external_vpn_gateway_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, '{project}/global/externalVpnGateways/{resource}/setLabels', options)
|
||||
command.request_representation = Google::Apis::ComputeAlpha::GlobalSetLabelsRequest::Representation
|
||||
command.request_object = global_set_labels_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['resource'] = resource unless resource.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Returns permissions that a caller has on the specified resource.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] resource
|
||||
# Name or id of the resource for this request.
|
||||
# @param [Google::Apis::ComputeAlpha::TestPermissionsRequest] test_permissions_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @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_external_vpn_gateway_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, '{project}/global/externalVpnGateways/{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['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
|
||||
|
||||
# Deletes the specified firewall.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
|
@ -10222,8 +10506,8 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Performs a reset on the instance. For more information, see Resetting an
|
||||
# instance.
|
||||
# Performs a reset on the instance. This is a hard reset; the VM does not do a
|
||||
# graceful shutdown. For more information, see Resetting an instance.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] zone
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/compute/docs/reference/latest/
|
||||
module ComputeBeta
|
||||
VERSION = 'Beta'
|
||||
REVISION = '20181217'
|
||||
REVISION = '20190107'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -10697,6 +10697,11 @@ module Google
|
|||
# @return [Array<Google::Apis::ComputeBeta::AttachedDisk>]
|
||||
attr_accessor :disks
|
||||
|
||||
# A set of Display Device options
|
||||
# Corresponds to the JSON property `displayDevice`
|
||||
# @return [Google::Apis::ComputeBeta::DisplayDevice]
|
||||
attr_accessor :display_device
|
||||
|
||||
# A list of guest accelerator cards' type and count to use for instances created
|
||||
# from the instance template.
|
||||
# Corresponds to the JSON property `guestAccelerators`
|
||||
|
@ -10764,6 +10769,7 @@ module Google
|
|||
@can_ip_forward = args[:can_ip_forward] if args.key?(:can_ip_forward)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@disks = args[:disks] if args.key?(:disks)
|
||||
@display_device = args[:display_device] if args.key?(:display_device)
|
||||
@guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators)
|
||||
@labels = args[:labels] if args.key?(:labels)
|
||||
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
||||
|
@ -17251,12 +17257,14 @@ module Google
|
|||
# - https://www.googleapis.com/compute/v1/projects/project/global/
|
||||
# backendServices/backendService
|
||||
# - compute/v1/projects/project/global/backendServices/backendService
|
||||
# - global/backendServices/backendService
|
||||
# Use defaultService instead of defaultRouteAction when simple routing to a
|
||||
# backend service is desired and other advanced capabilities like traffic
|
||||
# splitting and URL rewrites are not required.
|
||||
# Only one of defaultService, defaultRouteAction or defaultUrlRedirect must be
|
||||
# set.
|
||||
# - global/backendServices/backendService If defaultRouteAction is additionally
|
||||
# specified, advanced routing actions like URL Rewrites, etc. take effect prior
|
||||
# to sending the request to the backend. However, if defaultService is specified,
|
||||
# defaultRouteAction cannot contain any weightedBackendServices. Conversely, if
|
||||
# defaultRouteAction specifies any weightedBackendServices, defaultService must
|
||||
# not be specified.
|
||||
# Only one of defaultService, defaultUrlRedirect or defaultRouteAction.
|
||||
# weightedBackendService must be set.
|
||||
# Authorization requires one or more of the following Google IAM permissions on
|
||||
# the specified resource default_service:
|
||||
# - compute.backendBuckets.use
|
||||
|
@ -17313,11 +17321,14 @@ module Google
|
|||
# @return [Array<String>]
|
||||
attr_accessor :paths
|
||||
|
||||
# The URL of the backend service resource if this rule is matched.
|
||||
# Use service instead of routeAction when simple routing to a backend service is
|
||||
# desired and other advanced capabilities like traffic splitting and rewrites
|
||||
# are not required.
|
||||
# Only one of service, routeAction or urlRedirect should must be set.
|
||||
# The full or partial URL of the backend service resource to which traffic is
|
||||
# directed if this rule is matched. If routeAction is additionally specified,
|
||||
# advanced routing actions like URL Rewrites, etc. take effect prior to sending
|
||||
# the request to the backend. However, if service is specified, routeAction
|
||||
# cannot contain any weightedBackendService s. Conversely, if routeAction
|
||||
# specifies any weightedBackendServices, service must not be specified.
|
||||
# Only one of urlRedirect, service or routeAction.weightedBackendService must be
|
||||
# set.
|
||||
# Corresponds to the JSON property `service`
|
||||
# @return [String]
|
||||
attr_accessor :service
|
||||
|
@ -19005,13 +19016,6 @@ module Google
|
|||
class ResourcePolicy
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# A backup schedule policy specifies when and how frequently snapshots are to be
|
||||
# created for the target disk. Also specifies how many and how long these
|
||||
# scheduled snapshots should be retained.
|
||||
# Corresponds to the JSON property `backupSchedulePolicy`
|
||||
# @return [Google::Apis::ComputeBeta::ResourcePolicyBackupSchedulePolicy]
|
||||
attr_accessor :backup_schedule_policy
|
||||
|
||||
# [Output Only] Creation timestamp in RFC3339 text format.
|
||||
# Corresponds to the JSON property `creationTimestamp`
|
||||
# @return [String]
|
||||
|
@ -19055,13 +19059,19 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :self_link
|
||||
|
||||
# A snapshot schedule policy specifies when and how frequently snapshots are to
|
||||
# be created for the target disk. Also specifies how many and how long these
|
||||
# scheduled snapshots should be retained.
|
||||
# Corresponds to the JSON property `snapshotSchedulePolicy`
|
||||
# @return [Google::Apis::ComputeBeta::ResourcePolicySnapshotSchedulePolicy]
|
||||
attr_accessor :snapshot_schedule_policy
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@backup_schedule_policy = args[:backup_schedule_policy] if args.key?(:backup_schedule_policy)
|
||||
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
|
@ -19069,6 +19079,7 @@ module Google
|
|||
@name = args[:name] if args.key?(:name)
|
||||
@region = args[:region] if args.key?(:region)
|
||||
@self_link = args[:self_link] if args.key?(:self_link)
|
||||
@snapshot_schedule_policy = args[:snapshot_schedule_policy] if args.key?(:snapshot_schedule_policy)
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -19195,129 +19206,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# A backup schedule policy specifies when and how frequently snapshots are to be
|
||||
# created for the target disk. Also specifies how many and how long these
|
||||
# scheduled snapshots should be retained.
|
||||
class ResourcePolicyBackupSchedulePolicy
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Policy for retention of scheduled snapshots.
|
||||
# Corresponds to the JSON property `retentionPolicy`
|
||||
# @return [Google::Apis::ComputeBeta::ResourcePolicyBackupSchedulePolicyRetentionPolicy]
|
||||
attr_accessor :retention_policy
|
||||
|
||||
# A schedule for disks where the schedueled operations are performed.
|
||||
# Corresponds to the JSON property `schedule`
|
||||
# @return [Google::Apis::ComputeBeta::ResourcePolicyBackupSchedulePolicySchedule]
|
||||
attr_accessor :schedule
|
||||
|
||||
# Specified snapshot properties for scheduled snapshots created by this policy.
|
||||
# Corresponds to the JSON property `snapshotProperties`
|
||||
# @return [Google::Apis::ComputeBeta::ResourcePolicyBackupSchedulePolicySnapshotProperties]
|
||||
attr_accessor :snapshot_properties
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@retention_policy = args[:retention_policy] if args.key?(:retention_policy)
|
||||
@schedule = args[:schedule] if args.key?(:schedule)
|
||||
@snapshot_properties = args[:snapshot_properties] if args.key?(:snapshot_properties)
|
||||
end
|
||||
end
|
||||
|
||||
# Policy for retention of scheduled snapshots.
|
||||
class ResourcePolicyBackupSchedulePolicyRetentionPolicy
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Maximum age of the snapshot that is allowed to be kept.
|
||||
# Corresponds to the JSON property `maxRetentionDays`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :max_retention_days
|
||||
|
||||
# Specifies the behavior to apply to scheduled snapshots when the source disk is
|
||||
# deleted.
|
||||
# Corresponds to the JSON property `onSourceDiskDelete`
|
||||
# @return [String]
|
||||
attr_accessor :on_source_disk_delete
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@max_retention_days = args[:max_retention_days] if args.key?(:max_retention_days)
|
||||
@on_source_disk_delete = args[:on_source_disk_delete] if args.key?(:on_source_disk_delete)
|
||||
end
|
||||
end
|
||||
|
||||
# A schedule for disks where the schedueled operations are performed.
|
||||
class ResourcePolicyBackupSchedulePolicySchedule
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Time window specified for daily operations.
|
||||
# Corresponds to the JSON property `dailySchedule`
|
||||
# @return [Google::Apis::ComputeBeta::ResourcePolicyDailyCycle]
|
||||
attr_accessor :daily_schedule
|
||||
|
||||
# Time window specified for hourly operations.
|
||||
# Corresponds to the JSON property `hourlySchedule`
|
||||
# @return [Google::Apis::ComputeBeta::ResourcePolicyHourlyCycle]
|
||||
attr_accessor :hourly_schedule
|
||||
|
||||
# Time window specified for weekly operations.
|
||||
# Corresponds to the JSON property `weeklySchedule`
|
||||
# @return [Google::Apis::ComputeBeta::ResourcePolicyWeeklyCycle]
|
||||
attr_accessor :weekly_schedule
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@daily_schedule = args[:daily_schedule] if args.key?(:daily_schedule)
|
||||
@hourly_schedule = args[:hourly_schedule] if args.key?(:hourly_schedule)
|
||||
@weekly_schedule = args[:weekly_schedule] if args.key?(:weekly_schedule)
|
||||
end
|
||||
end
|
||||
|
||||
# Specified snapshot properties for scheduled snapshots created by this policy.
|
||||
class ResourcePolicyBackupSchedulePolicySnapshotProperties
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Indication to perform a ?guest aware? snapshot.
|
||||
# Corresponds to the JSON property `guestFlush`
|
||||
# @return [Boolean]
|
||||
attr_accessor :guest_flush
|
||||
alias_method :guest_flush?, :guest_flush
|
||||
|
||||
# Labels to apply to scheduled snapshots. These can be later modified by the
|
||||
# setLabels method. Label values may be empty.
|
||||
# Corresponds to the JSON property `labels`
|
||||
# @return [Hash<String,String>]
|
||||
attr_accessor :labels
|
||||
|
||||
# GCS bucket storage location of the auto snapshot (regional or multi-regional).
|
||||
# Corresponds to the JSON property `storageLocations`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :storage_locations
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@guest_flush = args[:guest_flush] if args.key?(:guest_flush)
|
||||
@labels = args[:labels] if args.key?(:labels)
|
||||
@storage_locations = args[:storage_locations] if args.key?(:storage_locations)
|
||||
end
|
||||
end
|
||||
|
||||
# Time window specified for daily operations.
|
||||
class ResourcePolicyDailyCycle
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -19509,6 +19397,129 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# A snapshot schedule policy specifies when and how frequently snapshots are to
|
||||
# be created for the target disk. Also specifies how many and how long these
|
||||
# scheduled snapshots should be retained.
|
||||
class ResourcePolicySnapshotSchedulePolicy
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Policy for retention of scheduled snapshots.
|
||||
# Corresponds to the JSON property `retentionPolicy`
|
||||
# @return [Google::Apis::ComputeBeta::ResourcePolicySnapshotSchedulePolicyRetentionPolicy]
|
||||
attr_accessor :retention_policy
|
||||
|
||||
# A schedule for disks where the schedueled operations are performed.
|
||||
# Corresponds to the JSON property `schedule`
|
||||
# @return [Google::Apis::ComputeBeta::ResourcePolicySnapshotSchedulePolicySchedule]
|
||||
attr_accessor :schedule
|
||||
|
||||
# Specified snapshot properties for scheduled snapshots created by this policy.
|
||||
# Corresponds to the JSON property `snapshotProperties`
|
||||
# @return [Google::Apis::ComputeBeta::ResourcePolicySnapshotSchedulePolicySnapshotProperties]
|
||||
attr_accessor :snapshot_properties
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@retention_policy = args[:retention_policy] if args.key?(:retention_policy)
|
||||
@schedule = args[:schedule] if args.key?(:schedule)
|
||||
@snapshot_properties = args[:snapshot_properties] if args.key?(:snapshot_properties)
|
||||
end
|
||||
end
|
||||
|
||||
# Policy for retention of scheduled snapshots.
|
||||
class ResourcePolicySnapshotSchedulePolicyRetentionPolicy
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Maximum age of the snapshot that is allowed to be kept.
|
||||
# Corresponds to the JSON property `maxRetentionDays`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :max_retention_days
|
||||
|
||||
# Specifies the behavior to apply to scheduled snapshots when the source disk is
|
||||
# deleted.
|
||||
# Corresponds to the JSON property `onSourceDiskDelete`
|
||||
# @return [String]
|
||||
attr_accessor :on_source_disk_delete
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@max_retention_days = args[:max_retention_days] if args.key?(:max_retention_days)
|
||||
@on_source_disk_delete = args[:on_source_disk_delete] if args.key?(:on_source_disk_delete)
|
||||
end
|
||||
end
|
||||
|
||||
# A schedule for disks where the schedueled operations are performed.
|
||||
class ResourcePolicySnapshotSchedulePolicySchedule
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Time window specified for daily operations.
|
||||
# Corresponds to the JSON property `dailySchedule`
|
||||
# @return [Google::Apis::ComputeBeta::ResourcePolicyDailyCycle]
|
||||
attr_accessor :daily_schedule
|
||||
|
||||
# Time window specified for hourly operations.
|
||||
# Corresponds to the JSON property `hourlySchedule`
|
||||
# @return [Google::Apis::ComputeBeta::ResourcePolicyHourlyCycle]
|
||||
attr_accessor :hourly_schedule
|
||||
|
||||
# Time window specified for weekly operations.
|
||||
# Corresponds to the JSON property `weeklySchedule`
|
||||
# @return [Google::Apis::ComputeBeta::ResourcePolicyWeeklyCycle]
|
||||
attr_accessor :weekly_schedule
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@daily_schedule = args[:daily_schedule] if args.key?(:daily_schedule)
|
||||
@hourly_schedule = args[:hourly_schedule] if args.key?(:hourly_schedule)
|
||||
@weekly_schedule = args[:weekly_schedule] if args.key?(:weekly_schedule)
|
||||
end
|
||||
end
|
||||
|
||||
# Specified snapshot properties for scheduled snapshots created by this policy.
|
||||
class ResourcePolicySnapshotSchedulePolicySnapshotProperties
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Indication to perform a ?guest aware? snapshot.
|
||||
# Corresponds to the JSON property `guestFlush`
|
||||
# @return [Boolean]
|
||||
attr_accessor :guest_flush
|
||||
alias_method :guest_flush?, :guest_flush
|
||||
|
||||
# Labels to apply to scheduled snapshots. These can be later modified by the
|
||||
# setLabels method. Label values may be empty.
|
||||
# Corresponds to the JSON property `labels`
|
||||
# @return [Hash<String,String>]
|
||||
attr_accessor :labels
|
||||
|
||||
# GCS bucket storage location of the auto snapshot (regional or multi-regional).
|
||||
# Corresponds to the JSON property `storageLocations`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :storage_locations
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@guest_flush = args[:guest_flush] if args.key?(:guest_flush)
|
||||
@labels = args[:labels] if args.key?(:labels)
|
||||
@storage_locations = args[:storage_locations] if args.key?(:storage_locations)
|
||||
end
|
||||
end
|
||||
|
||||
# Time window specified for weekly operations.
|
||||
class ResourcePolicyWeeklyCycle
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -20461,6 +20472,11 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :icmp_idle_timeout_sec
|
||||
|
||||
# Configuration of logging on a NAT.
|
||||
# Corresponds to the JSON property `logConfig`
|
||||
# @return [Google::Apis::ComputeBeta::RouterNatLogConfig]
|
||||
attr_accessor :log_config
|
||||
|
||||
# Minimum number of ports allocated to a VM from this NAT config. If not set, a
|
||||
# default number of ports is allocated to a VM. This gets rounded up to the
|
||||
# nearest power of 2. Eg. if the value of this field is 50, at least 64 ports
|
||||
|
@ -20526,6 +20542,7 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@icmp_idle_timeout_sec = args[:icmp_idle_timeout_sec] if args.key?(:icmp_idle_timeout_sec)
|
||||
@log_config = args[:log_config] if args.key?(:log_config)
|
||||
@min_ports_per_vm = args[:min_ports_per_vm] if args.key?(:min_ports_per_vm)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@nat_ip_allocate_option = args[:nat_ip_allocate_option] if args.key?(:nat_ip_allocate_option)
|
||||
|
@ -20538,6 +20555,33 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Configuration of logging on a NAT.
|
||||
class RouterNatLogConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Indicates whether or not to export logs. This is false by default.
|
||||
# Corresponds to the JSON property `enable`
|
||||
# @return [Boolean]
|
||||
attr_accessor :enable
|
||||
alias_method :enable?, :enable
|
||||
|
||||
# Specifies the desired filtering of logs on this NAT. If unspecified, logs are
|
||||
# exported for all connections handled by this NAT.
|
||||
# Corresponds to the JSON property `filter`
|
||||
# @return [String]
|
||||
attr_accessor :filter
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@enable = args[:enable] if args.key?(:enable)
|
||||
@filter = args[:filter] if args.key?(:filter)
|
||||
end
|
||||
end
|
||||
|
||||
# Defines the IP ranges that want to use NAT for a subnetwork.
|
||||
class RouterNatSubnetworkToNat
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -25714,12 +25758,15 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :creation_timestamp
|
||||
|
||||
# The URL of the backendService resource if none of the hostRules match.
|
||||
# Use defaultService instead of defaultRouteAction when simple routing to a
|
||||
# backendService is desired and other advanced capabilities like traffic
|
||||
# splitting and rewrites are not required.
|
||||
# Only one of defaultService, defaultRouteAction or defaultUrlRedirect should
|
||||
# must be set.
|
||||
# The full or partial URL of the defaultService resource to which traffic is
|
||||
# directed if none of the hostRules match. If defaultRouteAction is additionally
|
||||
# specified, advanced routing actions like URL Rewrites, etc. take effect prior
|
||||
# to sending the request to the backend. However, if defaultService is specified,
|
||||
# defaultRouteAction cannot contain any weightedBackendServices. Conversely, if
|
||||
# routeAction specifies any weightedBackendServices, service must not be
|
||||
# specified.
|
||||
# Only one of defaultService, defaultUrlRedirect or defaultRouteAction.
|
||||
# weightedBackendService must be set.
|
||||
# Corresponds to the JSON property `defaultService`
|
||||
# @return [String]
|
||||
attr_accessor :default_service
|
||||
|
|
|
@ -2656,30 +2656,6 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ResourcePolicyBackupSchedulePolicy
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ResourcePolicyBackupSchedulePolicyRetentionPolicy
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ResourcePolicyBackupSchedulePolicySchedule
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ResourcePolicyBackupSchedulePolicySnapshotProperties
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ResourcePolicyDailyCycle
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -2710,6 +2686,30 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ResourcePolicySnapshotSchedulePolicy
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ResourcePolicySnapshotSchedulePolicyRetentionPolicy
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ResourcePolicySnapshotSchedulePolicySchedule
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ResourcePolicySnapshotSchedulePolicySnapshotProperties
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ResourcePolicyWeeklyCycle
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -2830,6 +2830,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class RouterNatLogConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class RouterNatSubnetworkToNat
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -6430,6 +6436,8 @@ module Google
|
|||
property :description, as: 'description'
|
||||
collection :disks, as: 'disks', class: Google::Apis::ComputeBeta::AttachedDisk, decorator: Google::Apis::ComputeBeta::AttachedDisk::Representation
|
||||
|
||||
property :display_device, as: 'displayDevice', class: Google::Apis::ComputeBeta::DisplayDevice, decorator: Google::Apis::ComputeBeta::DisplayDevice::Representation
|
||||
|
||||
collection :guest_accelerators, as: 'guestAccelerators', class: Google::Apis::ComputeBeta::AcceleratorConfig, decorator: Google::Apis::ComputeBeta::AcceleratorConfig::Representation
|
||||
|
||||
hash :labels, as: 'labels'
|
||||
|
@ -8613,8 +8621,6 @@ module Google
|
|||
class ResourcePolicy
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :backup_schedule_policy, as: 'backupSchedulePolicy', class: Google::Apis::ComputeBeta::ResourcePolicyBackupSchedulePolicy, decorator: Google::Apis::ComputeBeta::ResourcePolicyBackupSchedulePolicy::Representation
|
||||
|
||||
property :creation_timestamp, as: 'creationTimestamp'
|
||||
property :description, as: 'description'
|
||||
property :id, :numeric_string => true, as: 'id'
|
||||
|
@ -8622,6 +8628,8 @@ module Google
|
|||
property :name, as: 'name'
|
||||
property :region, as: 'region'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :snapshot_schedule_policy, as: 'snapshotSchedulePolicy', class: Google::Apis::ComputeBeta::ResourcePolicySnapshotSchedulePolicy, decorator: Google::Apis::ComputeBeta::ResourcePolicySnapshotSchedulePolicy::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -8658,47 +8666,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class ResourcePolicyBackupSchedulePolicy
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :retention_policy, as: 'retentionPolicy', class: Google::Apis::ComputeBeta::ResourcePolicyBackupSchedulePolicyRetentionPolicy, decorator: Google::Apis::ComputeBeta::ResourcePolicyBackupSchedulePolicyRetentionPolicy::Representation
|
||||
|
||||
property :schedule, as: 'schedule', class: Google::Apis::ComputeBeta::ResourcePolicyBackupSchedulePolicySchedule, decorator: Google::Apis::ComputeBeta::ResourcePolicyBackupSchedulePolicySchedule::Representation
|
||||
|
||||
property :snapshot_properties, as: 'snapshotProperties', class: Google::Apis::ComputeBeta::ResourcePolicyBackupSchedulePolicySnapshotProperties, decorator: Google::Apis::ComputeBeta::ResourcePolicyBackupSchedulePolicySnapshotProperties::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class ResourcePolicyBackupSchedulePolicyRetentionPolicy
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :max_retention_days, as: 'maxRetentionDays'
|
||||
property :on_source_disk_delete, as: 'onSourceDiskDelete'
|
||||
end
|
||||
end
|
||||
|
||||
class ResourcePolicyBackupSchedulePolicySchedule
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :daily_schedule, as: 'dailySchedule', class: Google::Apis::ComputeBeta::ResourcePolicyDailyCycle, decorator: Google::Apis::ComputeBeta::ResourcePolicyDailyCycle::Representation
|
||||
|
||||
property :hourly_schedule, as: 'hourlySchedule', class: Google::Apis::ComputeBeta::ResourcePolicyHourlyCycle, decorator: Google::Apis::ComputeBeta::ResourcePolicyHourlyCycle::Representation
|
||||
|
||||
property :weekly_schedule, as: 'weeklySchedule', class: Google::Apis::ComputeBeta::ResourcePolicyWeeklyCycle, decorator: Google::Apis::ComputeBeta::ResourcePolicyWeeklyCycle::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class ResourcePolicyBackupSchedulePolicySnapshotProperties
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :guest_flush, as: 'guestFlush'
|
||||
hash :labels, as: 'labels'
|
||||
collection :storage_locations, as: 'storageLocations'
|
||||
end
|
||||
end
|
||||
|
||||
class ResourcePolicyDailyCycle
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -8750,6 +8717,47 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class ResourcePolicySnapshotSchedulePolicy
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :retention_policy, as: 'retentionPolicy', class: Google::Apis::ComputeBeta::ResourcePolicySnapshotSchedulePolicyRetentionPolicy, decorator: Google::Apis::ComputeBeta::ResourcePolicySnapshotSchedulePolicyRetentionPolicy::Representation
|
||||
|
||||
property :schedule, as: 'schedule', class: Google::Apis::ComputeBeta::ResourcePolicySnapshotSchedulePolicySchedule, decorator: Google::Apis::ComputeBeta::ResourcePolicySnapshotSchedulePolicySchedule::Representation
|
||||
|
||||
property :snapshot_properties, as: 'snapshotProperties', class: Google::Apis::ComputeBeta::ResourcePolicySnapshotSchedulePolicySnapshotProperties, decorator: Google::Apis::ComputeBeta::ResourcePolicySnapshotSchedulePolicySnapshotProperties::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class ResourcePolicySnapshotSchedulePolicyRetentionPolicy
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :max_retention_days, as: 'maxRetentionDays'
|
||||
property :on_source_disk_delete, as: 'onSourceDiskDelete'
|
||||
end
|
||||
end
|
||||
|
||||
class ResourcePolicySnapshotSchedulePolicySchedule
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :daily_schedule, as: 'dailySchedule', class: Google::Apis::ComputeBeta::ResourcePolicyDailyCycle, decorator: Google::Apis::ComputeBeta::ResourcePolicyDailyCycle::Representation
|
||||
|
||||
property :hourly_schedule, as: 'hourlySchedule', class: Google::Apis::ComputeBeta::ResourcePolicyHourlyCycle, decorator: Google::Apis::ComputeBeta::ResourcePolicyHourlyCycle::Representation
|
||||
|
||||
property :weekly_schedule, as: 'weeklySchedule', class: Google::Apis::ComputeBeta::ResourcePolicyWeeklyCycle, decorator: Google::Apis::ComputeBeta::ResourcePolicyWeeklyCycle::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class ResourcePolicySnapshotSchedulePolicySnapshotProperties
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :guest_flush, as: 'guestFlush'
|
||||
hash :labels, as: 'labels'
|
||||
collection :storage_locations, as: 'storageLocations'
|
||||
end
|
||||
end
|
||||
|
||||
class ResourcePolicyWeeklyCycle
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -8979,6 +8987,8 @@ module Google
|
|||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :icmp_idle_timeout_sec, as: 'icmpIdleTimeoutSec'
|
||||
property :log_config, as: 'logConfig', class: Google::Apis::ComputeBeta::RouterNatLogConfig, decorator: Google::Apis::ComputeBeta::RouterNatLogConfig::Representation
|
||||
|
||||
property :min_ports_per_vm, as: 'minPortsPerVm'
|
||||
property :name, as: 'name'
|
||||
property :nat_ip_allocate_option, as: 'natIpAllocateOption'
|
||||
|
@ -8992,6 +9002,14 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class RouterNatLogConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :enable, as: 'enable'
|
||||
property :filter, as: 'filter'
|
||||
end
|
||||
end
|
||||
|
||||
class RouterNatSubnetworkToNat
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
|
@ -9242,8 +9242,8 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Performs a reset on the instance. For more information, see Resetting an
|
||||
# instance.
|
||||
# Performs a reset on the instance. This is a hard reset; the VM does not do a
|
||||
# graceful shutdown. For more information, see Resetting an instance.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] zone
|
||||
|
@ -16315,6 +16315,46 @@ module Google
|
|||
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 or id of the resource for this request.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ComputeBeta::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ComputeBeta::Policy]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_region_disk_iam_policy(project, region, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, '{project}/regions/{region}/disks/{resource}/getIamPolicy', options)
|
||||
command.response_representation = Google::Apis::ComputeBeta::Policy::Representation
|
||||
command.response_class = Google::Apis::ComputeBeta::Policy
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.params['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 persistent regional disk in the specified project using the data
|
||||
# included in the request.
|
||||
# @param [String] project
|
||||
|
@ -16552,6 +16592,49 @@ module Google
|
|||
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 or id of the resource for this request.
|
||||
# @param [Google::Apis::ComputeBeta::RegionSetPolicyRequest] region_set_policy_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ComputeBeta::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ComputeBeta::Policy]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def set_region_disk_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, '{project}/regions/{region}/disks/{resource}/setIamPolicy', options)
|
||||
command.request_representation = Google::Apis::ComputeBeta::RegionSetPolicyRequest::Representation
|
||||
command.request_object = region_set_policy_request_object
|
||||
command.response_representation = Google::Apis::ComputeBeta::Policy::Representation
|
||||
command.response_class = Google::Apis::ComputeBeta::Policy
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.params['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
|
||||
|
||||
# Sets the labels on the target regional disk.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/compute/docs/reference/latest/
|
||||
module ComputeV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20181217'
|
||||
REVISION = '20190107'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -5194,6 +5194,45 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Encapsulates numeric value that can be either absolute or relative.
|
||||
class FixedOrPercent
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Output Only] Absolute value of VM instances calculated based on the specific
|
||||
# mode.
|
||||
#
|
||||
# - If the value is fixed, then the caculated value is equal to the fixed value.
|
||||
# - If the value is a percent, then the calculated value is percent/100 *
|
||||
# targetSize. For example, the calculated value of a 80% of a managed instance
|
||||
# group with 150 instances would be (80/100 * 150) = 120 VM instances. If there
|
||||
# is a remainder, the number is rounded up.
|
||||
# Corresponds to the JSON property `calculated`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :calculated
|
||||
|
||||
# Specifies a fixed number of VM instances. This must be a positive integer.
|
||||
# Corresponds to the JSON property `fixed`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :fixed
|
||||
|
||||
# Specifies a percentage of instances between 0 to 100%, inclusive. For example,
|
||||
# specify 80 for 80%.
|
||||
# Corresponds to the JSON property `percent`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :percent
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@calculated = args[:calculated] if args.key?(:calculated)
|
||||
@fixed = args[:fixed] if args.key?(:fixed)
|
||||
@percent = args[:percent] if args.key?(:percent)
|
||||
end
|
||||
end
|
||||
|
||||
# A ForwardingRule resource. A ForwardingRule resource specifies which pool of
|
||||
# target virtual machines to forward a packet to if it matches the given [
|
||||
# IPAddress, IPProtocol, ports] tuple. (== resource_for beta.forwardingRules ==)
|
||||
|
@ -5358,6 +5397,25 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :self_link
|
||||
|
||||
# An optional prefix to the service name for this Forwarding Rule. If specified,
|
||||
# will be the first label of the fully qualified service name.
|
||||
# The label must be 1-63 characters long, and comply with RFC1035. Specifically,
|
||||
# the label must be 1-63 characters long and match the regular expression `[a-z](
|
||||
# [-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase
|
||||
# letter, and all following characters must be a dash, lowercase letter, or
|
||||
# digit, except the last character, which cannot be a dash.
|
||||
# This field is only used for internal load balancing.
|
||||
# Corresponds to the JSON property `serviceLabel`
|
||||
# @return [String]
|
||||
attr_accessor :service_label
|
||||
|
||||
# [Output Only] The internal fully qualified service name for this Forwarding
|
||||
# Rule.
|
||||
# This field is only used for internal load balancing.
|
||||
# Corresponds to the JSON property `serviceName`
|
||||
# @return [String]
|
||||
attr_accessor :service_name
|
||||
|
||||
# This field is only used for INTERNAL load balancing.
|
||||
# For internal load balancing, this field identifies the subnetwork that the
|
||||
# load balanced IP should belong to for this Forwarding Rule.
|
||||
|
@ -5400,6 +5458,8 @@ module Google
|
|||
@ports = args[:ports] if args.key?(:ports)
|
||||
@region = args[:region] if args.key?(:region)
|
||||
@self_link = args[:self_link] if args.key?(:self_link)
|
||||
@service_label = args[:service_label] if args.key?(:service_label)
|
||||
@service_name = args[:service_name] if args.key?(:service_name)
|
||||
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
||||
@target = args[:target] if args.key?(:target)
|
||||
end
|
||||
|
@ -7883,6 +7943,11 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :self_link
|
||||
|
||||
# [Output Only] The status of this managed instance group.
|
||||
# Corresponds to the JSON property `status`
|
||||
# @return [Google::Apis::ComputeV1::InstanceGroupManagerStatus]
|
||||
attr_accessor :status
|
||||
|
||||
# The URLs for all TargetPool resources to which instances in the instanceGroup
|
||||
# field are added. The target pools automatically apply to all of the instances
|
||||
# in the managed instance group.
|
||||
|
@ -7897,6 +7962,23 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :target_size
|
||||
|
||||
# The update policy for this managed instance group.
|
||||
# Corresponds to the JSON property `updatePolicy`
|
||||
# @return [Google::Apis::ComputeV1::InstanceGroupManagerUpdatePolicy]
|
||||
attr_accessor :update_policy
|
||||
|
||||
# Specifies the instance templates used by this managed instance group to create
|
||||
# instances.
|
||||
# Each version is defined by an instanceTemplate. Every template can appear at
|
||||
# most once per instance group. This field overrides the top-level
|
||||
# instanceTemplate field. Read more about the relationships between these fields.
|
||||
# Exactly one version must leave the targetSize field unset. That version will
|
||||
# be applied to all remaining instances. For more information, read about canary
|
||||
# updates.
|
||||
# Corresponds to the JSON property `versions`
|
||||
# @return [Array<Google::Apis::ComputeV1::InstanceGroupManagerVersion>]
|
||||
attr_accessor :versions
|
||||
|
||||
# [Output Only] The URL of the zone where the managed instance group is located (
|
||||
# for zonal resources).
|
||||
# Corresponds to the JSON property `zone`
|
||||
|
@ -7924,8 +8006,11 @@ module Google
|
|||
@named_ports = args[:named_ports] if args.key?(:named_ports)
|
||||
@region = args[:region] if args.key?(:region)
|
||||
@self_link = args[:self_link] if args.key?(:self_link)
|
||||
@status = args[:status] if args.key?(:status)
|
||||
@target_pools = args[:target_pools] if args.key?(:target_pools)
|
||||
@target_size = args[:target_size] if args.key?(:target_size)
|
||||
@update_policy = args[:update_policy] if args.key?(:update_policy)
|
||||
@versions = args[:versions] if args.key?(:versions)
|
||||
@zone = args[:zone] if args.key?(:zone)
|
||||
end
|
||||
end
|
||||
|
@ -8284,6 +8369,105 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
class InstanceGroupManagerStatus
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Output Only] A bit indicating whether the managed instance group is in a
|
||||
# stable state. A stable state means that: none of the instances in the managed
|
||||
# instance group is currently undergoing any type of change (for example,
|
||||
# creation, restart, or deletion); no future changes are scheduled for instances
|
||||
# in the managed instance group; and the managed instance group itself is not
|
||||
# being modified.
|
||||
# Corresponds to the JSON property `isStable`
|
||||
# @return [Boolean]
|
||||
attr_accessor :is_stable
|
||||
alias_method :is_stable?, :is_stable
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@is_stable = args[:is_stable] if args.key?(:is_stable)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class InstanceGroupManagerUpdatePolicy
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Encapsulates numeric value that can be either absolute or relative.
|
||||
# Corresponds to the JSON property `maxSurge`
|
||||
# @return [Google::Apis::ComputeV1::FixedOrPercent]
|
||||
attr_accessor :max_surge
|
||||
|
||||
# Encapsulates numeric value that can be either absolute or relative.
|
||||
# Corresponds to the JSON property `maxUnavailable`
|
||||
# @return [Google::Apis::ComputeV1::FixedOrPercent]
|
||||
attr_accessor :max_unavailable
|
||||
|
||||
# Minimal action to be taken on an instance. You can specify either RESTART to
|
||||
# restart existing instances or REPLACE to delete and create new instances from
|
||||
# the target template. If you specify a RESTART, the Updater will attempt to
|
||||
# perform that action only. However, if the Updater determines that the minimal
|
||||
# action you specify is not enough to perform the update, it might perform a
|
||||
# more disruptive action.
|
||||
# Corresponds to the JSON property `minimalAction`
|
||||
# @return [String]
|
||||
attr_accessor :minimal_action
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@max_surge = args[:max_surge] if args.key?(:max_surge)
|
||||
@max_unavailable = args[:max_unavailable] if args.key?(:max_unavailable)
|
||||
@minimal_action = args[:minimal_action] if args.key?(:minimal_action)
|
||||
@type = args[:type] if args.key?(:type)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class InstanceGroupManagerVersion
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `instanceTemplate`
|
||||
# @return [String]
|
||||
attr_accessor :instance_template
|
||||
|
||||
# Name of the version. Unique among all versions in the scope of this managed
|
||||
# instance group.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Encapsulates numeric value that can be either absolute or relative.
|
||||
# Corresponds to the JSON property `targetSize`
|
||||
# @return [Google::Apis::ComputeV1::FixedOrPercent]
|
||||
attr_accessor :target_size
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@instance_template = args[:instance_template] if args.key?(:instance_template)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@target_size = args[:target_size] if args.key?(:target_size)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class InstanceGroupManagersAbandonInstancesRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -14818,12 +15002,14 @@ module Google
|
|||
# - https://www.googleapis.com/compute/v1/projects/project/global/
|
||||
# backendServices/backendService
|
||||
# - compute/v1/projects/project/global/backendServices/backendService
|
||||
# - global/backendServices/backendService
|
||||
# Use defaultService instead of defaultRouteAction when simple routing to a
|
||||
# backend service is desired and other advanced capabilities like traffic
|
||||
# splitting and URL rewrites are not required.
|
||||
# Only one of defaultService, defaultRouteAction or defaultUrlRedirect must be
|
||||
# set.
|
||||
# - global/backendServices/backendService If defaultRouteAction is additionally
|
||||
# specified, advanced routing actions like URL Rewrites, etc. take effect prior
|
||||
# to sending the request to the backend. However, if defaultService is specified,
|
||||
# defaultRouteAction cannot contain any weightedBackendServices. Conversely, if
|
||||
# defaultRouteAction specifies any weightedBackendServices, defaultService must
|
||||
# not be specified.
|
||||
# Only one of defaultService, defaultUrlRedirect or defaultRouteAction.
|
||||
# weightedBackendService must be set.
|
||||
# Authorization requires one or more of the following Google IAM permissions on
|
||||
# the specified resource default_service:
|
||||
# - compute.backendBuckets.use
|
||||
|
@ -14880,11 +15066,14 @@ module Google
|
|||
# @return [Array<String>]
|
||||
attr_accessor :paths
|
||||
|
||||
# The URL of the backend service resource if this rule is matched.
|
||||
# Use service instead of routeAction when simple routing to a backend service is
|
||||
# desired and other advanced capabilities like traffic splitting and rewrites
|
||||
# are not required.
|
||||
# Only one of service, routeAction or urlRedirect should must be set.
|
||||
# The full or partial URL of the backend service resource to which traffic is
|
||||
# directed if this rule is matched. If routeAction is additionally specified,
|
||||
# advanced routing actions like URL Rewrites, etc. take effect prior to sending
|
||||
# the request to the backend. However, if service is specified, routeAction
|
||||
# cannot contain any weightedBackendService s. Conversely, if routeAction
|
||||
# specifies any weightedBackendServices, service must not be specified.
|
||||
# Only one of urlRedirect, service or routeAction.weightedBackendService must be
|
||||
# set.
|
||||
# Corresponds to the JSON property `service`
|
||||
# @return [String]
|
||||
attr_accessor :service
|
||||
|
@ -22164,12 +22353,15 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :creation_timestamp
|
||||
|
||||
# The URL of the backendService resource if none of the hostRules match.
|
||||
# Use defaultService instead of defaultRouteAction when simple routing to a
|
||||
# backendService is desired and other advanced capabilities like traffic
|
||||
# splitting and rewrites are not required.
|
||||
# Only one of defaultService, defaultRouteAction or defaultUrlRedirect should
|
||||
# must be set.
|
||||
# The full or partial URL of the defaultService resource to which traffic is
|
||||
# directed if none of the hostRules match. If defaultRouteAction is additionally
|
||||
# specified, advanced routing actions like URL Rewrites, etc. take effect prior
|
||||
# to sending the request to the backend. However, if defaultService is specified,
|
||||
# defaultRouteAction cannot contain any weightedBackendServices. Conversely, if
|
||||
# routeAction specifies any weightedBackendServices, service must not be
|
||||
# specified.
|
||||
# Only one of defaultService, defaultUrlRedirect or defaultRouteAction.
|
||||
# weightedBackendService must be set.
|
||||
# Corresponds to the JSON property `defaultService`
|
||||
# @return [String]
|
||||
attr_accessor :default_service
|
||||
|
|
|
@ -700,6 +700,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class FixedOrPercent
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ForwardingRule
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -1030,6 +1036,24 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class InstanceGroupManagerStatus
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class InstanceGroupManagerUpdatePolicy
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class InstanceGroupManagerVersion
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class InstanceGroupManagersAbandonInstancesRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -4568,6 +4592,15 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class FixedOrPercent
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :calculated, as: 'calculated'
|
||||
property :fixed, as: 'fixed'
|
||||
property :percent, as: 'percent'
|
||||
end
|
||||
end
|
||||
|
||||
class ForwardingRule
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -4587,6 +4620,8 @@ module Google
|
|||
collection :ports, as: 'ports'
|
||||
property :region, as: 'region'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :service_label, as: 'serviceLabel'
|
||||
property :service_name, as: 'serviceName'
|
||||
property :subnetwork, as: 'subnetwork'
|
||||
property :target, as: 'target'
|
||||
end
|
||||
|
@ -5177,8 +5212,14 @@ module Google
|
|||
|
||||
property :region, as: 'region'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :status, as: 'status', class: Google::Apis::ComputeV1::InstanceGroupManagerStatus, decorator: Google::Apis::ComputeV1::InstanceGroupManagerStatus::Representation
|
||||
|
||||
collection :target_pools, as: 'targetPools'
|
||||
property :target_size, as: 'targetSize'
|
||||
property :update_policy, as: 'updatePolicy', class: Google::Apis::ComputeV1::InstanceGroupManagerUpdatePolicy, decorator: Google::Apis::ComputeV1::InstanceGroupManagerUpdatePolicy::Representation
|
||||
|
||||
collection :versions, as: 'versions', class: Google::Apis::ComputeV1::InstanceGroupManagerVersion, decorator: Google::Apis::ComputeV1::InstanceGroupManagerVersion::Representation
|
||||
|
||||
property :zone, as: 'zone'
|
||||
end
|
||||
end
|
||||
|
@ -5270,6 +5311,35 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class InstanceGroupManagerStatus
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :is_stable, as: 'isStable'
|
||||
end
|
||||
end
|
||||
|
||||
class InstanceGroupManagerUpdatePolicy
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :max_surge, as: 'maxSurge', class: Google::Apis::ComputeV1::FixedOrPercent, decorator: Google::Apis::ComputeV1::FixedOrPercent::Representation
|
||||
|
||||
property :max_unavailable, as: 'maxUnavailable', class: Google::Apis::ComputeV1::FixedOrPercent, decorator: Google::Apis::ComputeV1::FixedOrPercent::Representation
|
||||
|
||||
property :minimal_action, as: 'minimalAction'
|
||||
property :type, as: 'type'
|
||||
end
|
||||
end
|
||||
|
||||
class InstanceGroupManagerVersion
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :instance_template, as: 'instanceTemplate'
|
||||
property :name, as: 'name'
|
||||
property :target_size, as: 'targetSize', class: Google::Apis::ComputeV1::FixedOrPercent, decorator: Google::Apis::ComputeV1::FixedOrPercent::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class InstanceGroupManagersAbandonInstancesRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
|
@ -7786,8 +7786,8 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Performs a reset on the instance. For more information, see Resetting an
|
||||
# instance.
|
||||
# Performs a reset on the instance. This is a hard reset; the VM does not do a
|
||||
# graceful shutdown. For more information, see Resetting an instance.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] zone
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/container-analysis/api/reference/rest/
|
||||
module ContaineranalysisV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20181207'
|
||||
REVISION = '20190122'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -1555,6 +1555,32 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
class KnowledgeBase
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The KB name (generally of the form KB[0-9]+ i.e. KB123456).
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# A link to the KB in the Windows update catalog -
|
||||
# https://www.catalog.update.microsoft.com/
|
||||
# Corresponds to the JSON property `url`
|
||||
# @return [String]
|
||||
attr_accessor :url
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@url = args[:url] if args.key?(:url)
|
||||
end
|
||||
end
|
||||
|
||||
# Layer holds metadata specific to a layer of a Docker image.
|
||||
class Layer
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -2634,6 +2660,14 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :severity
|
||||
|
||||
# Windows details get their own format because the information format and
|
||||
# model don't match a normal detail. Specifically Windows updates are done as
|
||||
# patches, thus Windows vulnerabilities really are a missing package, rather
|
||||
# than a package being at an incorrect version.
|
||||
# Corresponds to the JSON property `windowsDetails`
|
||||
# @return [Array<Google::Apis::ContaineranalysisV1beta1::WindowsDetail>]
|
||||
attr_accessor :windows_details
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -2643,6 +2677,7 @@ module Google
|
|||
@cvss_score = args[:cvss_score] if args.key?(:cvss_score)
|
||||
@details = args[:details] if args.key?(:details)
|
||||
@severity = args[:severity] if args.key?(:severity)
|
||||
@windows_details = args[:windows_details] if args.key?(:windows_details)
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -2697,6 +2732,49 @@ module Google
|
|||
@counts = args[:counts] if args.key?(:counts)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class WindowsDetail
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Required. The CPE URI in
|
||||
# [cpe format](https://cpe.mitre.org/specification/) in which the
|
||||
# vulnerability manifests. Examples include distro or storage location for
|
||||
# vulnerable jar.
|
||||
# Corresponds to the JSON property `cpeUri`
|
||||
# @return [String]
|
||||
attr_accessor :cpe_uri
|
||||
|
||||
# The description of the vulnerability.
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# Required. The names of the KBs which have hotfixes to mitigate this
|
||||
# vulnerability. Note that there may be multiple hotfixes (and thus
|
||||
# multiple KBs) that mitigate a given vulnerability. Currently any listed
|
||||
# kb's presence is considered a fix.
|
||||
# Corresponds to the JSON property `fixingKbs`
|
||||
# @return [Array<Google::Apis::ContaineranalysisV1beta1::KnowledgeBase>]
|
||||
attr_accessor :fixing_kbs
|
||||
|
||||
# Required. The name of the vulnerability.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@fixing_kbs = args[:fixing_kbs] if args.key?(:fixing_kbs)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -280,6 +280,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class KnowledgeBase
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Layer
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -442,6 +448,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class WindowsDetail
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class AliasContext
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -853,6 +865,14 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class KnowledgeBase
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :name, as: 'name'
|
||||
property :url, as: 'url'
|
||||
end
|
||||
end
|
||||
|
||||
class Layer
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -1127,6 +1147,8 @@ module Google
|
|||
collection :details, as: 'details', class: Google::Apis::ContaineranalysisV1beta1::Detail, decorator: Google::Apis::ContaineranalysisV1beta1::Detail::Representation
|
||||
|
||||
property :severity, as: 'severity'
|
||||
collection :windows_details, as: 'windowsDetails', class: Google::Apis::ContaineranalysisV1beta1::WindowsDetail, decorator: Google::Apis::ContaineranalysisV1beta1::WindowsDetail::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -1147,6 +1169,17 @@ module Google
|
|||
|
||||
end
|
||||
end
|
||||
|
||||
class WindowsDetail
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :cpe_uri, as: 'cpeUri'
|
||||
property :description, as: 'description'
|
||||
collection :fixing_kbs, as: 'fixingKbs', class: Google::Apis::ContaineranalysisV1beta1::KnowledgeBase, decorator: Google::Apis::ContaineranalysisV1beta1::KnowledgeBase::Representation
|
||||
|
||||
property :name, as: 'name'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/gmail/api/
|
||||
module GmailV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20181202'
|
||||
REVISION = '20190120'
|
||||
|
||||
# Read, compose, send, and permanently delete all your email from Gmail
|
||||
AUTH_SCOPE = 'https://mail.google.com/'
|
||||
|
|
|
@ -778,7 +778,9 @@ module Google
|
|||
class ListMessagesResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# List of messages.
|
||||
# List of messages. Note that each message resource contains only an id and a
|
||||
# threadId. Additional message details can be fetched using the messages.get
|
||||
# method.
|
||||
# Corresponds to the JSON property `messages`
|
||||
# @return [Array<Google::Apis::GmailV1::Message>]
|
||||
attr_accessor :messages
|
||||
|
@ -857,7 +859,9 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :result_size_estimate
|
||||
|
||||
# List of threads.
|
||||
# List of threads. Note that each thread resource does not contain a list of
|
||||
# messages. The list of messages for a given thread can be fetched using the
|
||||
# threads.get method.
|
||||
# Corresponds to the JSON property `threads`
|
||||
# @return [Array<Google::Apis::GmailV1::Thread>]
|
||||
attr_accessor :threads
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/service-consumer-management/docs/overview
|
||||
module ServiceconsumermanagementV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190109'
|
||||
REVISION = '20190119'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -310,6 +310,8 @@ module Google
|
|||
# New billing configuration will be applied if specified.
|
||||
# Omit billing configuration to keep the existing one.
|
||||
# Service account in the project will be created if previously non existing.
|
||||
# Specified folder will be ignored, moving tenant project to a different
|
||||
# folder is not supported.
|
||||
# Operation fails if any of the steps fail, but no rollback of already
|
||||
# applied configuration changes is attempted.
|
||||
# Operation<response: Empty>.
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/text-to-speech/
|
||||
module TexttospeechV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180803'
|
||||
REVISION = '20190118'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -31,6 +31,17 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :audio_encoding
|
||||
|
||||
# An identifier which selects 'audio effects' profiles that are applied on
|
||||
# (post synthesized) text to speech.
|
||||
# Effects are applied on top of each other in the order they are given.
|
||||
# See
|
||||
# [audio-profiles](https:
|
||||
# //cloud.google.com/text-to-speech/docs/audio-profiles)
|
||||
# for current supported profile ids.
|
||||
# Corresponds to the JSON property `effectsProfileId`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :effects_profile_id
|
||||
|
||||
# Optional speaking pitch, in the range [-20.0, 20.0]. 20 means increase 20
|
||||
# semitones from the original pitch. -20 means decrease 20 semitones from the
|
||||
# original pitch.
|
||||
|
@ -75,6 +86,7 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@audio_encoding = args[:audio_encoding] if args.key?(:audio_encoding)
|
||||
@effects_profile_id = args[:effects_profile_id] if args.key?(:effects_profile_id)
|
||||
@pitch = args[:pitch] if args.key?(:pitch)
|
||||
@sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz)
|
||||
@speaking_rate = args[:speaking_rate] if args.key?(:speaking_rate)
|
||||
|
|
|
@ -68,6 +68,7 @@ module Google
|
|||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :audio_encoding, as: 'audioEncoding'
|
||||
collection :effects_profile_id, as: 'effectsProfileId'
|
||||
property :pitch, as: 'pitch'
|
||||
property :sample_rate_hertz, as: 'sampleRateHertz'
|
||||
property :speaking_rate, as: 'speakingRate'
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/vision/
|
||||
module VisionV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190111'
|
||||
REVISION = '20190119'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/vision/
|
||||
module VisionV1p1beta1
|
||||
VERSION = 'V1p1beta1'
|
||||
REVISION = '20190111'
|
||||
REVISION = '20190119'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/vision/
|
||||
module VisionV1p2beta1
|
||||
VERSION = 'V1p2beta1'
|
||||
REVISION = '20190111'
|
||||
REVISION = '20190119'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
Loading…
Reference in New Issue