diff --git a/api_names_out.yaml b/api_names_out.yaml
index ce36388b3..3e2f29fdb 100644
--- a/api_names_out.yaml
+++ b/api_names_out.yaml
@@ -48876,6 +48876,7 @@
"/container:v1/Cluster/nodePools": node_pools
"/container:v1/Cluster/nodePools/node_pool": node_pool
"/container:v1/Cluster/privateClusterConfig": private_cluster_config
+"/container:v1/Cluster/releaseChannel": release_channel
"/container:v1/Cluster/resourceLabels": resource_labels
"/container:v1/Cluster/resourceLabels/resource_label": resource_label
"/container:v1/Cluster/resourceUsageExportConfig": resource_usage_export_config
@@ -48912,6 +48913,7 @@
"/container:v1/ClusterUpdate/desiredNodePoolAutoscaling": desired_node_pool_autoscaling
"/container:v1/ClusterUpdate/desiredNodePoolId": desired_node_pool_id
"/container:v1/ClusterUpdate/desiredNodeVersion": desired_node_version
+"/container:v1/ClusterUpdate/desiredReleaseChannel": desired_release_channel
"/container:v1/ClusterUpdate/desiredResourceUsageExportConfig": desired_resource_usage_export_config
"/container:v1/ClusterUpdate/desiredShieldedNodes": desired_shielded_nodes
"/container:v1/ClusterUpdate/desiredVerticalPodAutoscaling": desired_vertical_pod_autoscaling
@@ -49053,6 +49055,7 @@
"/container:v1/NodeConfig": node_config
"/container:v1/NodeConfig/accelerators": accelerators
"/container:v1/NodeConfig/accelerators/accelerator": accelerator
+"/container:v1/NodeConfig/bootDiskKmsKey": boot_disk_kms_key
"/container:v1/NodeConfig/diskSizeGb": disk_size_gb
"/container:v1/NodeConfig/diskType": disk_type
"/container:v1/NodeConfig/imageType": image_type
@@ -49141,6 +49144,13 @@
"/container:v1/RecurringTimeWindow": recurring_time_window
"/container:v1/RecurringTimeWindow/recurrence": recurrence
"/container:v1/RecurringTimeWindow/window": window
+"/container:v1/ReleaseChannel": release_channel
+"/container:v1/ReleaseChannel/channel": channel
+"/container:v1/ReleaseChannelConfig": release_channel_config
+"/container:v1/ReleaseChannelConfig/channel": channel
+"/container:v1/ReleaseChannelConfig/defaultVersion": default_version
+"/container:v1/ReleaseChannelConfig/validVersions": valid_versions
+"/container:v1/ReleaseChannelConfig/validVersions/valid_version": valid_version
"/container:v1/ReservationAffinity": reservation_affinity
"/container:v1/ReservationAffinity/consumeReservationType": consume_reservation_type
"/container:v1/ReservationAffinity/key": key
@@ -49163,6 +49173,8 @@
"/container:v1/SandboxConfig": sandbox_config
"/container:v1/SandboxConfig/type": type
"/container:v1/ServerConfig": server_config
+"/container:v1/ServerConfig/channels": channels
+"/container:v1/ServerConfig/channels/channel": channel
"/container:v1/ServerConfig/defaultClusterVersion": default_cluster_version
"/container:v1/ServerConfig/defaultImageType": default_image_type
"/container:v1/ServerConfig/validImageTypes": valid_image_types
@@ -49803,6 +49815,9 @@
"/container:v1beta1/KubernetesDashboard/disabled": disabled
"/container:v1beta1/LegacyAbac": legacy_abac
"/container:v1beta1/LegacyAbac/enabled": enabled
+"/container:v1beta1/LinuxNodeConfig": linux_node_config
+"/container:v1beta1/LinuxNodeConfig/sysctls": sysctls
+"/container:v1beta1/LinuxNodeConfig/sysctls/sysctl": sysctl
"/container:v1beta1/ListClustersResponse": list_clusters_response
"/container:v1beta1/ListClustersResponse/clusters": clusters
"/container:v1beta1/ListClustersResponse/clusters/cluster": cluster
@@ -49872,8 +49887,10 @@
"/container:v1beta1/NodeConfig/diskSizeGb": disk_size_gb
"/container:v1beta1/NodeConfig/diskType": disk_type
"/container:v1beta1/NodeConfig/imageType": image_type
+"/container:v1beta1/NodeConfig/kubeletConfig": kubelet_config
"/container:v1beta1/NodeConfig/labels": labels
"/container:v1beta1/NodeConfig/labels/label": label
+"/container:v1beta1/NodeConfig/linuxNodeConfig": linux_node_config
"/container:v1beta1/NodeConfig/localSsdCount": local_ssd_count
"/container:v1beta1/NodeConfig/machineType": machine_type
"/container:v1beta1/NodeConfig/metadata": metadata
@@ -49891,6 +49908,10 @@
"/container:v1beta1/NodeConfig/taints": taints
"/container:v1beta1/NodeConfig/taints/taint": taint_prop
"/container:v1beta1/NodeConfig/workloadMetadataConfig": workload_metadata_config
+"/container:v1beta1/NodeKubeletConfig": node_kubelet_config
+"/container:v1beta1/NodeKubeletConfig/cpuCfsQuota": cpu_cfs_quota
+"/container:v1beta1/NodeKubeletConfig/cpuCfsQuotaPeriod": cpu_cfs_quota_period
+"/container:v1beta1/NodeKubeletConfig/cpuManagerPolicy": cpu_manager_policy
"/container:v1beta1/NodeManagement": node_management
"/container:v1beta1/NodeManagement/autoRepair": auto_repair
"/container:v1beta1/NodeManagement/autoUpgrade": auto_upgrade
@@ -49969,6 +49990,8 @@
"/container:v1beta1/ReleaseChannelConfig/availableVersions/available_version": available_version
"/container:v1beta1/ReleaseChannelConfig/channel": channel
"/container:v1beta1/ReleaseChannelConfig/defaultVersion": default_version
+"/container:v1beta1/ReleaseChannelConfig/validVersions": valid_versions
+"/container:v1beta1/ReleaseChannelConfig/validVersions/valid_version": valid_version
"/container:v1beta1/ReservationAffinity": reservation_affinity
"/container:v1beta1/ReservationAffinity/consumeReservationType": consume_reservation_type
"/container:v1beta1/ReservationAffinity/key": key
@@ -50117,6 +50140,8 @@
"/container:v1beta1/UpdateNodePoolRequest": update_node_pool_request
"/container:v1beta1/UpdateNodePoolRequest/clusterId": cluster_id
"/container:v1beta1/UpdateNodePoolRequest/imageType": image_type
+"/container:v1beta1/UpdateNodePoolRequest/kubeletConfig": kubelet_config
+"/container:v1beta1/UpdateNodePoolRequest/linuxNodeConfig": linux_node_config
"/container:v1beta1/UpdateNodePoolRequest/locations": locations
"/container:v1beta1/UpdateNodePoolRequest/locations/location": location
"/container:v1beta1/UpdateNodePoolRequest/name": name
@@ -89714,6 +89739,7 @@
"/drive:v2/File/canReadRevisions": can_read_revisions
"/drive:v2/File/capabilities": capabilities
"/drive:v2/File/capabilities/canAddChildren": can_add_children
+"/drive:v2/File/capabilities/canAddFolderFromAnotherDrive": can_add_folder_from_another_drive
"/drive:v2/File/capabilities/canAddMyDriveParent": can_add_my_drive_parent
"/drive:v2/File/capabilities/canChangeCopyRequiresWriterPermission": can_change_copy_requires_writer_permission
"/drive:v2/File/capabilities/canChangeRestrictedDownload": can_change_restricted_download
@@ -90521,6 +90547,7 @@
"/drive:v3/File/appProperties/app_property": app_property
"/drive:v3/File/capabilities": capabilities
"/drive:v3/File/capabilities/canAddChildren": can_add_children
+"/drive:v3/File/capabilities/canAddFolderFromAnotherDrive": can_add_folder_from_another_drive
"/drive:v3/File/capabilities/canAddMyDriveParent": can_add_my_drive_parent
"/drive:v3/File/capabilities/canChangeCopyRequiresWriterPermission": can_change_copy_requires_writer_permission
"/drive:v3/File/capabilities/canChangeViewersCanCopyContent": can_change_viewers_can_copy_content
@@ -117377,6 +117404,14 @@
"/sasportal:v1alpha1/SasPortalCustomer/name": name
"/sasportal:v1alpha1/SasPortalCustomer/sasUserIds": sas_user_ids
"/sasportal:v1alpha1/SasPortalCustomer/sasUserIds/sas_user_id": sas_user_id
+"/sasportal:v1alpha1/SasPortalDeployment": sas_portal_deployment
+"/sasportal:v1alpha1/SasPortalDeployment/allowedBillingModes": allowed_billing_modes
+"/sasportal:v1alpha1/SasPortalDeployment/allowedBillingModes/allowed_billing_mode": allowed_billing_mode
+"/sasportal:v1alpha1/SasPortalDeployment/defaultBillingMode": default_billing_mode
+"/sasportal:v1alpha1/SasPortalDeployment/displayName": display_name
+"/sasportal:v1alpha1/SasPortalDeployment/name": name
+"/sasportal:v1alpha1/SasPortalDeployment/sasUserIds": sas_user_ids
+"/sasportal:v1alpha1/SasPortalDeployment/sasUserIds/sas_user_id": sas_user_id
"/sasportal:v1alpha1/SasPortalDevice": sas_portal_device
"/sasportal:v1alpha1/SasPortalDevice/activeConfig": active_config
"/sasportal:v1alpha1/SasPortalDevice/deviceMetadata": device_metadata
@@ -117451,6 +117486,10 @@
"/sasportal:v1alpha1/SasPortalListCustomersResponse/customers": customers
"/sasportal:v1alpha1/SasPortalListCustomersResponse/customers/customer": customer
"/sasportal:v1alpha1/SasPortalListCustomersResponse/nextPageToken": next_page_token
+"/sasportal:v1alpha1/SasPortalListDeploymentsResponse": sas_portal_list_deployments_response
+"/sasportal:v1alpha1/SasPortalListDeploymentsResponse/deployments": deployments
+"/sasportal:v1alpha1/SasPortalListDeploymentsResponse/deployments/deployment": deployment
+"/sasportal:v1alpha1/SasPortalListDeploymentsResponse/nextPageToken": next_page_token
"/sasportal:v1alpha1/SasPortalListDevicesResponse": sas_portal_list_devices_response
"/sasportal:v1alpha1/SasPortalListDevicesResponse/devices": devices
"/sasportal:v1alpha1/SasPortalListDevicesResponse/devices/device": device
@@ -117509,6 +117548,19 @@
"/sasportal:v1alpha1/fields": fields
"/sasportal:v1alpha1/key": key
"/sasportal:v1alpha1/quotaUser": quota_user
+"/sasportal:v1alpha1/sasportal.customers.deployments.create": create_customer_deployment
+"/sasportal:v1alpha1/sasportal.customers.deployments.create/parent": parent
+"/sasportal:v1alpha1/sasportal.customers.deployments.delete": delete_customer_deployment
+"/sasportal:v1alpha1/sasportal.customers.deployments.delete/name": name
+"/sasportal:v1alpha1/sasportal.customers.deployments.get": get_customer_deployment
+"/sasportal:v1alpha1/sasportal.customers.deployments.get/name": name
+"/sasportal:v1alpha1/sasportal.customers.deployments.list": list_customer_deployments
+"/sasportal:v1alpha1/sasportal.customers.deployments.list/pageSize": page_size
+"/sasportal:v1alpha1/sasportal.customers.deployments.list/pageToken": page_token
+"/sasportal:v1alpha1/sasportal.customers.deployments.list/parent": parent
+"/sasportal:v1alpha1/sasportal.customers.deployments.patch": patch_customer_deployment
+"/sasportal:v1alpha1/sasportal.customers.deployments.patch/name": name
+"/sasportal:v1alpha1/sasportal.customers.deployments.patch/updateMask": update_mask
"/sasportal:v1alpha1/sasportal.customers.devices.bulk": bulk_customer_device
"/sasportal:v1alpha1/sasportal.customers.devices.bulk/parent": parent
"/sasportal:v1alpha1/sasportal.customers.devices.create": create_customer_device
@@ -117542,6 +117594,12 @@
"/sasportal:v1alpha1/sasportal.customers.nodes.create/parent": parent
"/sasportal:v1alpha1/sasportal.customers.nodes.delete": delete_customer_node
"/sasportal:v1alpha1/sasportal.customers.nodes.delete/name": name
+"/sasportal:v1alpha1/sasportal.customers.nodes.deployments.create": create_customer_node_deployment
+"/sasportal:v1alpha1/sasportal.customers.nodes.deployments.create/parent": parent
+"/sasportal:v1alpha1/sasportal.customers.nodes.deployments.list": list_customer_node_deployments
+"/sasportal:v1alpha1/sasportal.customers.nodes.deployments.list/pageSize": page_size
+"/sasportal:v1alpha1/sasportal.customers.nodes.deployments.list/pageToken": page_token
+"/sasportal:v1alpha1/sasportal.customers.nodes.deployments.list/parent": parent
"/sasportal:v1alpha1/sasportal.customers.nodes.get": get_customer_node
"/sasportal:v1alpha1/sasportal.customers.nodes.get/name": name
"/sasportal:v1alpha1/sasportal.customers.nodes.list": list_customer_nodes
@@ -117562,8 +117620,21 @@
"/sasportal:v1alpha1/sasportal.customers.patch": patch_customer
"/sasportal:v1alpha1/sasportal.customers.patch/name": name
"/sasportal:v1alpha1/sasportal.customers.patch/updateMask": update_mask
+"/sasportal:v1alpha1/sasportal.deployments.get": get_deployment
+"/sasportal:v1alpha1/sasportal.deployments.get/name": name
"/sasportal:v1alpha1/sasportal.installer.generateSecret": generate_installer_secret
"/sasportal:v1alpha1/sasportal.installer.validate": validate_installer
+"/sasportal:v1alpha1/sasportal.nodes.deployments.delete": delete_node_deployment
+"/sasportal:v1alpha1/sasportal.nodes.deployments.delete/name": name
+"/sasportal:v1alpha1/sasportal.nodes.deployments.get": get_node_deployment
+"/sasportal:v1alpha1/sasportal.nodes.deployments.get/name": name
+"/sasportal:v1alpha1/sasportal.nodes.deployments.list": list_node_deployments
+"/sasportal:v1alpha1/sasportal.nodes.deployments.list/pageSize": page_size
+"/sasportal:v1alpha1/sasportal.nodes.deployments.list/pageToken": page_token
+"/sasportal:v1alpha1/sasportal.nodes.deployments.list/parent": parent
+"/sasportal:v1alpha1/sasportal.nodes.deployments.patch": patch_node_deployment
+"/sasportal:v1alpha1/sasportal.nodes.deployments.patch/name": name
+"/sasportal:v1alpha1/sasportal.nodes.deployments.patch/updateMask": update_mask
"/sasportal:v1alpha1/sasportal.nodes.devices.bulk": bulk_node_device
"/sasportal:v1alpha1/sasportal.nodes.devices.bulk/parent": parent
"/sasportal:v1alpha1/sasportal.nodes.devices.create": create_node_device
@@ -117594,6 +117665,12 @@
"/sasportal:v1alpha1/sasportal.nodes.nodes.create/parent": parent
"/sasportal:v1alpha1/sasportal.nodes.nodes.delete": delete_node_node
"/sasportal:v1alpha1/sasportal.nodes.nodes.delete/name": name
+"/sasportal:v1alpha1/sasportal.nodes.nodes.deployments.create": create_node_node_deployment
+"/sasportal:v1alpha1/sasportal.nodes.nodes.deployments.create/parent": parent
+"/sasportal:v1alpha1/sasportal.nodes.nodes.deployments.list": list_node_node_deployments
+"/sasportal:v1alpha1/sasportal.nodes.nodes.deployments.list/pageSize": page_size
+"/sasportal:v1alpha1/sasportal.nodes.nodes.deployments.list/pageToken": page_token
+"/sasportal:v1alpha1/sasportal.nodes.nodes.deployments.list/parent": parent
"/sasportal:v1alpha1/sasportal.nodes.nodes.devices.bulk": bulk_node_node_device
"/sasportal:v1alpha1/sasportal.nodes.nodes.devices.bulk/parent": parent
"/sasportal:v1alpha1/sasportal.nodes.nodes.devices.create": create_node_node_device
diff --git a/generated/google/apis/container_v1.rb b/generated/google/apis/container_v1.rb
index 928a778b3..37d3b1761 100644
--- a/generated/google/apis/container_v1.rb
+++ b/generated/google/apis/container_v1.rb
@@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/container-engine/
module ContainerV1
VERSION = 'V1'
- REVISION = '20200603'
+ REVISION = '20200619'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/container_v1/classes.rb b/generated/google/apis/container_v1/classes.rb
index 8bea148e3..a6c3a6cbe 100644
--- a/generated/google/apis/container_v1/classes.rb
+++ b/generated/google/apis/container_v1/classes.rb
@@ -496,7 +496,7 @@ module Google
attr_accessor :initial_cluster_version
# The number of nodes to create in this cluster. You must ensure that your
- # Compute Engine resource quota
+ # Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
# is sufficient for this number of instances. You must also have available
# firewall and routes quota.
# For requests, this field should only be used in lieu of a
@@ -648,6 +648,15 @@ module Google
# @return [Google::Apis::ContainerV1::PrivateClusterConfig]
attr_accessor :private_cluster_config
+ # ReleaseChannel indicates which release channel a cluster is
+ # subscribed to. Release channels are arranged in order of risk.
+ # When a cluster is subscribed to a release channel, Google maintains
+ # both the master version and the node version. Node auto-upgrade
+ # defaults to true and cannot be disabled.
+ # Corresponds to the JSON property `releaseChannel`
+ # @return [Google::Apis::ContainerV1::ReleaseChannel]
+ attr_accessor :release_channel
+
# The resource labels for the cluster to use to annotate any related
# Google Compute Engine resources.
# Corresponds to the JSON property `resourceLabels`
@@ -767,6 +776,7 @@ module Google
@node_ipv4_cidr_size = args[:node_ipv4_cidr_size] if args.key?(:node_ipv4_cidr_size)
@node_pools = args[:node_pools] if args.key?(:node_pools)
@private_cluster_config = args[:private_cluster_config] if args.key?(:private_cluster_config)
+ @release_channel = args[:release_channel] if args.key?(:release_channel)
@resource_labels = args[:resource_labels] if args.key?(:resource_labels)
@resource_usage_export_config = args[:resource_usage_export_config] if args.key?(:resource_usage_export_config)
@self_link = args[:self_link] if args.key?(:self_link)
@@ -952,6 +962,15 @@ module Google
# @return [String]
attr_accessor :desired_node_version
+ # ReleaseChannel indicates which release channel a cluster is
+ # subscribed to. Release channels are arranged in order of risk.
+ # When a cluster is subscribed to a release channel, Google maintains
+ # both the master version and the node version. Node auto-upgrade
+ # defaults to true and cannot be disabled.
+ # Corresponds to the JSON property `desiredReleaseChannel`
+ # @return [Google::Apis::ContainerV1::ReleaseChannel]
+ attr_accessor :desired_release_channel
+
# Configuration for exporting cluster resource usages.
# Corresponds to the JSON property `desiredResourceUsageExportConfig`
# @return [Google::Apis::ContainerV1::ResourceUsageExportConfig]
@@ -995,6 +1014,7 @@ module Google
@desired_node_pool_autoscaling = args[:desired_node_pool_autoscaling] if args.key?(:desired_node_pool_autoscaling)
@desired_node_pool_id = args[:desired_node_pool_id] if args.key?(:desired_node_pool_id)
@desired_node_version = args[:desired_node_version] if args.key?(:desired_node_version)
+ @desired_release_channel = args[:desired_release_channel] if args.key?(:desired_release_channel)
@desired_resource_usage_export_config = args[:desired_resource_usage_export_config] if args.key?(:desired_resource_usage_export_config)
@desired_shielded_nodes = args[:desired_shielded_nodes] if args.key?(:desired_shielded_nodes)
@desired_vertical_pod_autoscaling = args[:desired_vertical_pod_autoscaling] if args.key?(:desired_vertical_pod_autoscaling)
@@ -2105,6 +2125,17 @@ module Google
# @return [Array]
attr_accessor :accelerators
+ # The Customer Managed Encryption Key used to encrypt the boot disk attached
+ # to each node in the node pool. This should be of the form
+ # projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/
+ # [KEY_NAME].
+ # For more information about protecting resources with Cloud KMS Keys please
+ # see:
+ # https://cloud.google.com/compute/docs/disks/customer-managed-encryption
+ # Corresponds to the JSON property `bootDiskKmsKey`
+ # @return [String]
+ attr_accessor :boot_disk_kms_key
+
# Size of the disk attached to each node, specified in GB.
# The smallest allowed disk size is 10GB.
# If unspecified, the default disk size is 100GB.
@@ -2276,6 +2307,7 @@ module Google
# Update properties of this object
def update!(**args)
@accelerators = args[:accelerators] if args.key?(:accelerators)
+ @boot_disk_kms_key = args[:boot_disk_kms_key] if args.key?(:boot_disk_kms_key)
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
@disk_type = args[:disk_type] if args.key?(:disk_type)
@image_type = args[:image_type] if args.key?(:image_type)
@@ -2362,7 +2394,7 @@ module Google
attr_accessor :config
# The initial node count for the pool. You must ensure that your
- # Compute Engine resource quota
+ # Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
# is sufficient for this number of instances. You must also have available
# firewall and routes quota.
# Corresponds to the JSON property `initialNodeCount`
@@ -2807,6 +2839,60 @@ module Google
end
end
+ # ReleaseChannel indicates which release channel a cluster is
+ # subscribed to. Release channels are arranged in order of risk.
+ # When a cluster is subscribed to a release channel, Google maintains
+ # both the master version and the node version. Node auto-upgrade
+ # defaults to true and cannot be disabled.
+ class ReleaseChannel
+ include Google::Apis::Core::Hashable
+
+ # channel specifies which release channel the cluster is subscribed to.
+ # Corresponds to the JSON property `channel`
+ # @return [String]
+ attr_accessor :channel
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @channel = args[:channel] if args.key?(:channel)
+ end
+ end
+
+ # ReleaseChannelConfig exposes configuration for a release channel.
+ class ReleaseChannelConfig
+ include Google::Apis::Core::Hashable
+
+ # The release channel this configuration applies to.
+ # Corresponds to the JSON property `channel`
+ # @return [String]
+ attr_accessor :channel
+
+ # The default version for newly created clusters on the channel.
+ # Corresponds to the JSON property `defaultVersion`
+ # @return [String]
+ attr_accessor :default_version
+
+ # List of valid versions for the channel.
+ # Corresponds to the JSON property `validVersions`
+ # @return [Array]
+ attr_accessor :valid_versions
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @channel = args[:channel] if args.key?(:channel)
+ @default_version = args[:default_version] if args.key?(:default_version)
+ @valid_versions = args[:valid_versions] if args.key?(:valid_versions)
+ end
+ end
+
# [ReservationAffinity](https://cloud.google.com/compute/docs/instances/
# reserving-zonal-resources)
# is the configuration of desired reservation which instances could take
@@ -2985,6 +3071,11 @@ module Google
class ServerConfig
include Google::Apis::Core::Hashable
+ # List of release channel configurations.
+ # Corresponds to the JSON property `channels`
+ # @return [Array]
+ attr_accessor :channels
+
# Version of Kubernetes the service deploys by default.
# Corresponds to the JSON property `defaultClusterVersion`
# @return [String]
@@ -3016,6 +3107,7 @@ module Google
# Update properties of this object
def update!(**args)
+ @channels = args[:channels] if args.key?(:channels)
@default_cluster_version = args[:default_cluster_version] if args.key?(:default_cluster_version)
@default_image_type = args[:default_image_type] if args.key?(:default_image_type)
@valid_image_types = args[:valid_image_types] if args.key?(:valid_image_types)
diff --git a/generated/google/apis/container_v1/representations.rb b/generated/google/apis/container_v1/representations.rb
index a8151a615..368e8d7a5 100644
--- a/generated/google/apis/container_v1/representations.rb
+++ b/generated/google/apis/container_v1/representations.rb
@@ -346,6 +346,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
+ class ReleaseChannel
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class ReleaseChannelConfig
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class ReservationAffinity
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -696,6 +708,8 @@ module Google
property :private_cluster_config, as: 'privateClusterConfig', class: Google::Apis::ContainerV1::PrivateClusterConfig, decorator: Google::Apis::ContainerV1::PrivateClusterConfig::Representation
+ property :release_channel, as: 'releaseChannel', class: Google::Apis::ContainerV1::ReleaseChannel, decorator: Google::Apis::ContainerV1::ReleaseChannel::Representation
+
hash :resource_labels, as: 'resourceLabels'
property :resource_usage_export_config, as: 'resourceUsageExportConfig', class: Google::Apis::ContainerV1::ResourceUsageExportConfig, decorator: Google::Apis::ContainerV1::ResourceUsageExportConfig::Representation
@@ -751,6 +765,8 @@ module Google
property :desired_node_pool_id, as: 'desiredNodePoolId'
property :desired_node_version, as: 'desiredNodeVersion'
+ property :desired_release_channel, as: 'desiredReleaseChannel', class: Google::Apis::ContainerV1::ReleaseChannel, decorator: Google::Apis::ContainerV1::ReleaseChannel::Representation
+
property :desired_resource_usage_export_config, as: 'desiredResourceUsageExportConfig', class: Google::Apis::ContainerV1::ResourceUsageExportConfig, decorator: Google::Apis::ContainerV1::ResourceUsageExportConfig::Representation
property :desired_shielded_nodes, as: 'desiredShieldedNodes', class: Google::Apis::ContainerV1::ShieldedNodes, decorator: Google::Apis::ContainerV1::ShieldedNodes::Representation
@@ -1057,6 +1073,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
collection :accelerators, as: 'accelerators', class: Google::Apis::ContainerV1::AcceleratorConfig, decorator: Google::Apis::ContainerV1::AcceleratorConfig::Representation
+ property :boot_disk_kms_key, as: 'bootDiskKmsKey'
property :disk_size_gb, as: 'diskSizeGb'
property :disk_type, as: 'diskType'
property :image_type, as: 'imageType'
@@ -1194,6 +1211,22 @@ module Google
end
end
+ class ReleaseChannel
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :channel, as: 'channel'
+ end
+ end
+
+ class ReleaseChannelConfig
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :channel, as: 'channel'
+ property :default_version, as: 'defaultVersion'
+ collection :valid_versions, as: 'validVersions'
+ end
+ end
+
class ReservationAffinity
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1244,6 +1277,8 @@ module Google
class ServerConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+ collection :channels, as: 'channels', class: Google::Apis::ContainerV1::ReleaseChannelConfig, decorator: Google::Apis::ContainerV1::ReleaseChannelConfig::Representation
+
property :default_cluster_version, as: 'defaultClusterVersion'
property :default_image_type, as: 'defaultImageType'
collection :valid_image_types, as: 'validImageTypes'
diff --git a/generated/google/apis/container_v1beta1.rb b/generated/google/apis/container_v1beta1.rb
index 5f09c75ed..0622e8c6b 100644
--- a/generated/google/apis/container_v1beta1.rb
+++ b/generated/google/apis/container_v1beta1.rb
@@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/container-engine/
module ContainerV1beta1
VERSION = 'V1beta1'
- REVISION = '20200603'
+ REVISION = '20200619'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/container_v1beta1/classes.rb b/generated/google/apis/container_v1beta1/classes.rb
index 6ea08e9d0..d8707fe0d 100644
--- a/generated/google/apis/container_v1beta1/classes.rb
+++ b/generated/google/apis/container_v1beta1/classes.rb
@@ -269,8 +269,7 @@ module Google
end
end
- # AvailableVersion is an additional Kubernetes versions offered
- # to users who subscribed to the release channel.
+ # Deprecated.
class AvailableVersion
include Google::Apis::Core::Hashable
@@ -581,7 +580,7 @@ module Google
attr_accessor :initial_cluster_version
# The number of nodes to create in this cluster. You must ensure that your
- # Compute Engine resource quota
+ # Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
# is sufficient for this number of instances. You must also have available
# firewall and routes quota.
# For requests, this field should only be used in lieu of a
@@ -764,12 +763,10 @@ module Google
attr_accessor :private_cluster_config
# ReleaseChannel indicates which release channel a cluster is
- # subscribed to. Release channels are arranged in order of risk and
- # frequency of updates.
+ # subscribed to. Release channels are arranged in order of risk.
# When a cluster is subscribed to a release channel, Google maintains
# both the master version and the node version. Node auto-upgrade
- # defaults to true and cannot be disabled. Updates to version related
- # fields (e.g. current_master_version) return an error.
+ # defaults to true and cannot be disabled.
# Corresponds to the JSON property `releaseChannel`
# @return [Google::Apis::ContainerV1beta1::ReleaseChannel]
attr_accessor :release_channel
@@ -1144,12 +1141,10 @@ module Google
attr_accessor :desired_private_cluster_config
# ReleaseChannel indicates which release channel a cluster is
- # subscribed to. Release channels are arranged in order of risk and
- # frequency of updates.
+ # subscribed to. Release channels are arranged in order of risk.
# When a cluster is subscribed to a release channel, Google maintains
# both the master version and the node version. Node auto-upgrade
- # defaults to true and cannot be disabled. Updates to version related
- # fields (e.g. current_master_version) return an error.
+ # defaults to true and cannot be disabled.
# Corresponds to the JSON property `desiredReleaseChannel`
# @return [Google::Apis::ContainerV1beta1::ReleaseChannel]
attr_accessor :desired_release_channel
@@ -2049,6 +2044,36 @@ module Google
end
end
+ # Parameters that can be configured on Linux nodes.
+ class LinuxNodeConfig
+ include Google::Apis::Core::Hashable
+
+ # The Linux kernel parameters to be applied to the nodes and all pods running
+ # on the nodes.
+ # The following parameters are supported.
+ # net.core.netdev_max_backlog
+ # net.core.rmem_max
+ # net.core.wmem_default
+ # net.core.wmem_max
+ # net.core.optmem_max
+ # net.core.somaxconn
+ # net.ipv4.tcp_rmem
+ # net.ipv4.tcp_wmem
+ # net.ipv4.tcp_tw_reuse
+ # Corresponds to the JSON property `sysctls`
+ # @return [Hash]
+ attr_accessor :sysctls
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @sysctls = args[:sysctls] if args.key?(:sysctls)
+ end
+ end
+
# ListClustersResponse is the result of ListClustersRequest.
class ListClustersResponse
include Google::Apis::Core::Hashable
@@ -2568,6 +2593,11 @@ module Google
# @return [String]
attr_accessor :image_type
+ # Node kubelet configs.
+ # Corresponds to the JSON property `kubeletConfig`
+ # @return [Google::Apis::ContainerV1beta1::NodeKubeletConfig]
+ attr_accessor :kubelet_config
+
# The map of Kubernetes labels (key/value pairs) to be applied to each node.
# These will added in addition to any default label(s) that
# Kubernetes may apply to the node.
@@ -2580,6 +2610,11 @@ module Google
# @return [Hash]
attr_accessor :labels
+ # Parameters that can be configured on Linux nodes.
+ # Corresponds to the JSON property `linuxNodeConfig`
+ # @return [Google::Apis::ContainerV1beta1::LinuxNodeConfig]
+ attr_accessor :linux_node_config
+
# The number of local SSD disks to be attached to the node.
# The limit for this value is dependent upon the maximum number of
# disks available on a machine per zone. See:
@@ -2724,7 +2759,9 @@ module Google
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
@disk_type = args[:disk_type] if args.key?(:disk_type)
@image_type = args[:image_type] if args.key?(:image_type)
+ @kubelet_config = args[:kubelet_config] if args.key?(:kubelet_config)
@labels = args[:labels] if args.key?(:labels)
+ @linux_node_config = args[:linux_node_config] if args.key?(:linux_node_config)
@local_ssd_count = args[:local_ssd_count] if args.key?(:local_ssd_count)
@machine_type = args[:machine_type] if args.key?(:machine_type)
@metadata = args[:metadata] if args.key?(:metadata)
@@ -2741,6 +2778,55 @@ module Google
end
end
+ # Node kubelet configs.
+ class NodeKubeletConfig
+ include Google::Apis::Core::Hashable
+
+ # Enable CPU CFS quota enforcement for containers that specify CPU limits.
+ # If this option is enabled, kubelet uses CFS quota
+ # (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to
+ # enforce container CPU limits. Otherwise, CPU limits will not be enforced at
+ # all.
+ # Disable this option to mitigate CPU throttling problems while still having
+ # your pods to be in Guaranteed QoS class by specifying the CPU limits.
+ # The default value is 'true' if unspecified.
+ # Corresponds to the JSON property `cpuCfsQuota`
+ # @return [Boolean]
+ attr_accessor :cpu_cfs_quota
+ alias_method :cpu_cfs_quota?, :cpu_cfs_quota
+
+ # Set the CPU CFS quota period value 'cpu.cfs_period_us'.
+ # The string must be a sequence of decimal numbers, each with optional
+ # fraction and a unit suffix, such as "300ms".
+ # Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".
+ # The value must be a positive duration.
+ # Corresponds to the JSON property `cpuCfsQuotaPeriod`
+ # @return [String]
+ attr_accessor :cpu_cfs_quota_period
+
+ # Control the CPU management policy on the node.
+ # See
+ # https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/
+ # The following values are allowed.
+ # - "none": the default, which represents the existing scheduling behavior.
+ # - "static": allows pods with certain resource characteristics to be
+ # granted increased CPU affinity and exclusivity on the node.
+ # Corresponds to the JSON property `cpuManagerPolicy`
+ # @return [String]
+ attr_accessor :cpu_manager_policy
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @cpu_cfs_quota = args[:cpu_cfs_quota] if args.key?(:cpu_cfs_quota)
+ @cpu_cfs_quota_period = args[:cpu_cfs_quota_period] if args.key?(:cpu_cfs_quota_period)
+ @cpu_manager_policy = args[:cpu_manager_policy] if args.key?(:cpu_manager_policy)
+ end
+ end
+
# NodeManagement defines the set of node management services turned on for the
# node pool.
class NodeManagement
@@ -2802,7 +2888,7 @@ module Google
attr_accessor :config
# The initial node count for the pool. You must ensure that your
- # Compute Engine resource quota
+ # Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
# is sufficient for this number of instances. You must also have available
# firewall and routes quota.
# Corresponds to the JSON property `initialNodeCount`
@@ -3295,12 +3381,10 @@ module Google
end
# ReleaseChannel indicates which release channel a cluster is
- # subscribed to. Release channels are arranged in order of risk and
- # frequency of updates.
+ # subscribed to. Release channels are arranged in order of risk.
# When a cluster is subscribed to a release channel, Google maintains
# both the master version and the node version. Node auto-upgrade
- # defaults to true and cannot be disabled. Updates to version related
- # fields (e.g. current_master_version) return an error.
+ # defaults to true and cannot be disabled.
class ReleaseChannel
include Google::Apis::Core::Hashable
@@ -3323,7 +3407,9 @@ module Google
class ReleaseChannelConfig
include Google::Apis::Core::Hashable
- # List of available versions for the release channel.
+ # Deprecated.
+ # This field has been deprecated and replaced with the valid_versions
+ # field.
# Corresponds to the JSON property `availableVersions`
# @return [Array]
attr_accessor :available_versions
@@ -3338,6 +3424,11 @@ module Google
# @return [String]
attr_accessor :default_version
+ # List of valid versions for the channel.
+ # Corresponds to the JSON property `validVersions`
+ # @return [Array]
+ attr_accessor :valid_versions
+
def initialize(**args)
update!(**args)
end
@@ -3347,6 +3438,7 @@ module Google
@available_versions = args[:available_versions] if args.key?(:available_versions)
@channel = args[:channel] if args.key?(:channel)
@default_version = args[:default_version] if args.key?(:default_version)
+ @valid_versions = args[:valid_versions] if args.key?(:valid_versions)
end
end
@@ -4566,6 +4658,16 @@ module Google
# @return [String]
attr_accessor :image_type
+ # Node kubelet configs.
+ # Corresponds to the JSON property `kubeletConfig`
+ # @return [Google::Apis::ContainerV1beta1::NodeKubeletConfig]
+ attr_accessor :kubelet_config
+
+ # Parameters that can be configured on Linux nodes.
+ # Corresponds to the JSON property `linuxNodeConfig`
+ # @return [Google::Apis::ContainerV1beta1::LinuxNodeConfig]
+ attr_accessor :linux_node_config
+
# The desired list of Google Compute Engine
# [zones](https://cloud.google.com/compute/docs/zones#available) in which the
# node pool's nodes should be located. Changing the locations for a node pool
@@ -4652,6 +4754,8 @@ module Google
def update!(**args)
@cluster_id = args[:cluster_id] if args.key?(:cluster_id)
@image_type = args[:image_type] if args.key?(:image_type)
+ @kubelet_config = args[:kubelet_config] if args.key?(:kubelet_config)
+ @linux_node_config = args[:linux_node_config] if args.key?(:linux_node_config)
@locations = args[:locations] if args.key?(:locations)
@name = args[:name] if args.key?(:name)
@node_pool_id = args[:node_pool_id] if args.key?(:node_pool_id)
diff --git a/generated/google/apis/container_v1beta1/representations.rb b/generated/google/apis/container_v1beta1/representations.rb
index f7610538c..1eb522615 100644
--- a/generated/google/apis/container_v1beta1/representations.rb
+++ b/generated/google/apis/container_v1beta1/representations.rb
@@ -256,6 +256,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
+ class LinuxNodeConfig
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class ListClustersResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -358,6 +364,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
+ class NodeKubeletConfig
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class NodeManagement
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -1112,6 +1124,13 @@ module Google
end
end
+ class LinuxNodeConfig
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ hash :sysctls, as: 'sysctls'
+ end
+ end
+
class ListClustersResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1266,7 +1285,11 @@ module Google
property :disk_size_gb, as: 'diskSizeGb'
property :disk_type, as: 'diskType'
property :image_type, as: 'imageType'
+ property :kubelet_config, as: 'kubeletConfig', class: Google::Apis::ContainerV1beta1::NodeKubeletConfig, decorator: Google::Apis::ContainerV1beta1::NodeKubeletConfig::Representation
+
hash :labels, as: 'labels'
+ property :linux_node_config, as: 'linuxNodeConfig', class: Google::Apis::ContainerV1beta1::LinuxNodeConfig, decorator: Google::Apis::ContainerV1beta1::LinuxNodeConfig::Representation
+
property :local_ssd_count, as: 'localSsdCount'
property :machine_type, as: 'machineType'
hash :metadata, as: 'metadata'
@@ -1288,6 +1311,15 @@ module Google
end
end
+ class NodeKubeletConfig
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :cpu_cfs_quota, as: 'cpuCfsQuota'
+ property :cpu_cfs_quota_period, as: 'cpuCfsQuotaPeriod'
+ property :cpu_manager_policy, as: 'cpuManagerPolicy'
+ end
+ end
+
class NodeManagement
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1430,6 +1462,7 @@ module Google
property :channel, as: 'channel'
property :default_version, as: 'defaultVersion'
+ collection :valid_versions, as: 'validVersions'
end
end
@@ -1716,6 +1749,10 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :cluster_id, as: 'clusterId'
property :image_type, as: 'imageType'
+ property :kubelet_config, as: 'kubeletConfig', class: Google::Apis::ContainerV1beta1::NodeKubeletConfig, decorator: Google::Apis::ContainerV1beta1::NodeKubeletConfig::Representation
+
+ property :linux_node_config, as: 'linuxNodeConfig', class: Google::Apis::ContainerV1beta1::LinuxNodeConfig, decorator: Google::Apis::ContainerV1beta1::LinuxNodeConfig::Representation
+
collection :locations, as: 'locations'
property :name, as: 'name'
property :node_pool_id, as: 'nodePoolId'
diff --git a/generated/google/apis/dns_v1beta2.rb b/generated/google/apis/dns_v1beta2.rb
index 82aae67dd..1146deee6 100644
--- a/generated/google/apis/dns_v1beta2.rb
+++ b/generated/google/apis/dns_v1beta2.rb
@@ -18,14 +18,14 @@ require 'google/apis/dns_v1beta2/representations.rb'
module Google
module Apis
- # Google Cloud DNS API
+ # Cloud DNS API
#
- # Configures and serves authoritative DNS records.
+ #
#
- # @see https://developers.google.com/cloud-dns
+ # @see http://developers.google.com/cloud-dns
module DnsV1beta2
VERSION = 'V1beta2'
- REVISION = '20200515'
+ REVISION = '20200625'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/dns_v1beta2/classes.rb b/generated/google/apis/dns_v1beta2/classes.rb
index a6064a273..11b39f68d 100644
--- a/generated/google/apis/dns_v1beta2/classes.rb
+++ b/generated/google/apis/dns_v1beta2/classes.rb
@@ -22,42 +22,51 @@ module Google
module Apis
module DnsV1beta2
- #
+ # A Change represents a set of ResourceRecordSet additions and deletions
+ # applied atomically to a ManagedZone. ResourceRecordSets within a
+ # ManagedZone are modified by creating a new Change element in the Changes
+ # collection. In turn the Changes collection also records the past
+ # modifications to the ResourceRecordSets in a ManagedZone. The current
+ # state of the ManagedZone is the sum effect of applying all Change
+ # elements in the Changes collection in sequence.
class Change
include Google::Apis::Core::Hashable
- #
+ # Which ResourceRecordSets to add?
# Corresponds to the JSON property `additions`
# @return [Array]
attr_accessor :additions
- #
+ # Which ResourceRecordSets to remove? Must match existing data exactly.
# Corresponds to the JSON property `deletions`
# @return [Array]
attr_accessor :deletions
- #
+ # Unique identifier for the resource; defined by the server (output only).
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
- #
+ # If the DNS queries for the zone will be served.
# Corresponds to the JSON property `isServing`
# @return [Boolean]
attr_accessor :is_serving
alias_method :is_serving?, :is_serving
- # Identifies what kind of resource this is. Value: the fixed string "dns#change".
+ #
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
- #
+ # The time that this operation was started by the server (output only). This
+ # is in RFC3339 text format.
# Corresponds to the JSON property `startTime`
# @return [String]
attr_accessor :start_time
- #
+ # Status of the operation (output only). A status of "done" means that the
+ # request to update the authoritative servers has been sent, but the
+ # servers might not be updated yet.
# Corresponds to the JSON property `status`
# @return [String]
attr_accessor :status
@@ -78,16 +87,17 @@ module Google
end
end
- #
+ # The response to a request to enumerate Changes to a ResourceRecordSets
+ # collection.
class ChangesListResponse
include Google::Apis::Core::Hashable
- #
+ # The requested changes.
# Corresponds to the JSON property `changes`
# @return [Array]
attr_accessor :changes
- #
+ # Elements common to every response.
# Corresponds to the JSON property `header`
# @return [Google::Apis::DnsV1beta2::ResponseHeader]
attr_accessor :header
@@ -97,7 +107,15 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # The presence of this field indicates that there exist more results
+ # following your last page of results in pagination order. To fetch them,
+ # make another list request using this value as your pagination token.
+ # In this way you can retrieve the complete contents of even very large
+ # collections one page at a time. However, if the contents of the collection
+ # change between the first and last paginated list request, the set of all
+ # elements returned will be an inconsistent view of the collection. There is
+ # no way to retrieve a "snapshot" of collections larger than the maximum
+ # page size.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@@ -115,62 +133,78 @@ module Google
end
end
- #
+ # A DNSSEC key pair.
class DnsKey
include Google::Apis::Core::Hashable
- #
+ # String mnemonic specifying the DNSSEC algorithm of this key. Immutable
+ # after creation time.
# Corresponds to the JSON property `algorithm`
# @return [String]
attr_accessor :algorithm
- #
+ # The time that this resource was created in the control plane. This is in
+ # RFC3339 text format. Output only.
# Corresponds to the JSON property `creationTime`
# @return [String]
attr_accessor :creation_time
- #
+ # A mutable string of at most 1024 characters associated with this resource
+ # for the user's convenience. Has no effect on the resource's function.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
- #
+ # Cryptographic hashes of the DNSKEY resource record associated with this
+ # DnsKey. These digests are needed to construct a DS record that points at
+ # this DNS key. Output only.
# Corresponds to the JSON property `digests`
# @return [Array]
attr_accessor :digests
- #
+ # Unique identifier for the resource; defined by the server (output only).
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
- #
+ # Active keys will be used to sign subsequent changes to the ManagedZone.
+ # Inactive keys will still be present as DNSKEY Resource Records for the use
+ # of resolvers validating existing signatures.
# Corresponds to the JSON property `isActive`
# @return [Boolean]
attr_accessor :is_active
alias_method :is_active?, :is_active
- #
+ # Length of the key in bits. Specified at creation time then immutable.
# Corresponds to the JSON property `keyLength`
# @return [Fixnum]
attr_accessor :key_length
- #
+ # The key tag is a non-cryptographic hash of the a DNSKEY resource record
+ # associated with this DnsKey. The key tag can be used to identify a DNSKEY
+ # more quickly (but it is not a unique identifier). In particular, the key
+ # tag is used in a parent zone's DS record to point at the DNSKEY in this
+ # child ManagedZone. The key tag is a number in the range [0, 65535] and the
+ # algorithm to calculate it is specified in RFC4034 Appendix B. Output only.
# Corresponds to the JSON property `keyTag`
# @return [Fixnum]
attr_accessor :key_tag
- # Identifies what kind of resource this is. Value: the fixed string "dns#dnsKey".
+ #
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
- #
+ # Base64 encoded public half of this key. Output only.
# Corresponds to the JSON property `publicKey`
# @return [String]
attr_accessor :public_key
- #
+ # One of "KEY_SIGNING" or "ZONE_SIGNING". Keys of type KEY_SIGNING have the
+ # Secure Entry Point flag set and, when active, will be used to sign only
+ # resource record sets of type DNSKEY. Otherwise, the Secure Entry Point
+ # flag will be cleared and this key will be used to sign only resource
+ # record sets of other types. Immutable after creation time.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
@@ -199,12 +233,13 @@ module Google
class DnsKeyDigest
include Google::Apis::Core::Hashable
- #
+ # The base-16 encoded bytes of this digest. Suitable for use in a DS
+ # resource record.
# Corresponds to the JSON property `digest`
# @return [String]
attr_accessor :digest
- #
+ # Specifies the algorithm used to calculate this digest.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
@@ -220,27 +255,31 @@ module Google
end
end
- #
+ # Parameters for DnsKey key generation. Used for generating initial keys
+ # for a new ManagedZone and as default when adding a new DnsKey.
class DnsKeySpec
include Google::Apis::Core::Hashable
- #
+ # String mnemonic specifying the DNSSEC algorithm of this key.
# Corresponds to the JSON property `algorithm`
# @return [String]
attr_accessor :algorithm
- #
+ # Length of the keys in bits.
# Corresponds to the JSON property `keyLength`
# @return [Fixnum]
attr_accessor :key_length
- #
+ # Specifies whether this is a key signing key (KSK) or a zone signing key
+ # (ZSK). Key signing keys have the Secure Entry Point flag set and, when
+ # active, will only be used to sign resource record sets of type DNSKEY.
+ # Zone signing keys do not have the Secure Entry Point flag set and will be
+ # used to sign all other types of resource record sets.
# Corresponds to the JSON property `keyType`
# @return [String]
attr_accessor :key_type
- # Identifies what kind of resource this is. Value: the fixed string "dns#
- # dnsKeySpec".
+ #
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
@@ -258,16 +297,16 @@ module Google
end
end
- #
+ # The response to a request to enumerate DnsKeys in a ManagedZone.
class DnsKeysListResponse
include Google::Apis::Core::Hashable
- #
+ # The requested resources.
# Corresponds to the JSON property `dnsKeys`
# @return [Array]
attr_accessor :dns_keys
- #
+ # Elements common to every response.
# Corresponds to the JSON property `header`
# @return [Google::Apis::DnsV1beta2::ResponseHeader]
attr_accessor :header
@@ -277,7 +316,15 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # The presence of this field indicates that there exist more results
+ # following your last page of results in pagination order. To fetch them,
+ # make another list request using this value as your pagination token.
+ # In this way you can retrieve the complete contents of even very large
+ # collections one page at a time. However, if the contents of the collection
+ # change between the first and last paginated list request, the set of all
+ # elements returned will be an inconsistent view of the collection. There is
+ # no way to retrieve a "snapshot" of collections larger than the maximum
+ # page size.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@@ -295,87 +342,103 @@ module Google
end
end
- #
+ # A zone is a subtree of the DNS namespace under one administrative
+ # responsibility. A ManagedZone is a resource that represents a DNS zone
+ # hosted by the Cloud DNS service.
class ManagedZone
include Google::Apis::Core::Hashable
- #
+ # The time that this resource was created on the server. This is in RFC3339
+ # text format. Output only.
# Corresponds to the JSON property `creationTime`
# @return [String]
attr_accessor :creation_time
- #
+ # A mutable string of at most 1024 characters associated with this resource
+ # for the user's convenience. Has no effect on the managed zone's function.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
- #
+ # The DNS name of this managed zone, for instance "example.com.".
# Corresponds to the JSON property `dnsName`
# @return [String]
attr_accessor :dns_name
- #
+ # DNSSEC configuration.
# Corresponds to the JSON property `dnssecConfig`
# @return [Google::Apis::DnsV1beta2::ManagedZoneDnsSecConfig]
attr_accessor :dnssec_config
- #
+ # The presence for this field indicates that outbound forwarding is enabled
+ # for this zone. The value of this field contains the set of destinations
+ # to forward to.
# Corresponds to the JSON property `forwardingConfig`
# @return [Google::Apis::DnsV1beta2::ManagedZoneForwardingConfig]
attr_accessor :forwarding_config
- #
+ # Unique identifier for the resource; defined by the server (output only)
# Corresponds to the JSON property `id`
# @return [Fixnum]
attr_accessor :id
- # Identifies what kind of resource this is. Value: the fixed string "dns#
- # managedZone".
+ #
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
- #
+ # User labels.
# Corresponds to the JSON property `labels`
# @return [Hash]
attr_accessor :labels
- #
+ # User assigned name for this resource. Must be unique within the project.
+ # The name must be 1-63 characters long, must begin with a letter, end with
+ # a letter or digit, and only contain lowercase letters, digits or dashes.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
- #
+ # Optionally specifies the NameServerSet for this ManagedZone. A
+ # NameServerSet is a set of DNS name servers that all host the same
+ # ManagedZones. Most users will leave this field unset.
# Corresponds to the JSON property `nameServerSet`
# @return [String]
attr_accessor :name_server_set
- #
+ # Delegate your managed_zone to these virtual name servers; defined by the
+ # server (output only)
# Corresponds to the JSON property `nameServers`
# @return [Array]
attr_accessor :name_servers
- #
+ # The presence of this field indicates that DNS Peering is enabled for this
+ # zone. The value of this field contains the network to peer with.
# Corresponds to the JSON property `peeringConfig`
# @return [Google::Apis::DnsV1beta2::ManagedZonePeeringConfig]
attr_accessor :peering_config
- #
+ # For privately visible zones, the set of Virtual Private Cloud resources
+ # that the zone is visible from.
# Corresponds to the JSON property `privateVisibilityConfig`
# @return [Google::Apis::DnsV1beta2::ManagedZonePrivateVisibilityConfig]
attr_accessor :private_visibility_config
- #
+ # The presence of this field indicates that this is a managed reverse
+ # lookup zone and Cloud DNS will resolve reverse lookup queries using
+ # automatically configured records for VPC resources. This only applies
+ # to networks listed under private_visibility_config.
# Corresponds to the JSON property `reverseLookupConfig`
# @return [Google::Apis::DnsV1beta2::ManagedZoneReverseLookupConfig]
attr_accessor :reverse_lookup_config
- #
+ # Contains information about Service Directory-backed zones.
# Corresponds to the JSON property `serviceDirectoryConfig`
# @return [Google::Apis::DnsV1beta2::ManagedZoneServiceDirectoryConfig]
attr_accessor :service_directory_config
- #
+ # The zone's visibility: public zones are exposed to the Internet, while
+ # private zones are visible only to Virtual Private Cloud resources.
# Corresponds to the JSON property `visibility`
# @return [String]
attr_accessor :visibility
@@ -409,23 +472,24 @@ module Google
class ManagedZoneDnsSecConfig
include Google::Apis::Core::Hashable
- #
+ # Specifies parameters for generating initial DnsKeys for this
+ # ManagedZone. Can only be changed while the state is OFF.
# Corresponds to the JSON property `defaultKeySpecs`
# @return [Array]
attr_accessor :default_key_specs
- # Identifies what kind of resource this is. Value: the fixed string "dns#
- # managedZoneDnsSecConfig".
+ #
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
- #
+ # Specifies the mechanism for authenticated denial-of-existence responses.
+ # Can only be changed while the state is OFF.
# Corresponds to the JSON property `nonExistence`
# @return [String]
attr_accessor :non_existence
- #
+ # Specifies whether DNSSEC is enabled, and what mode it is in.
# Corresponds to the JSON property `state`
# @return [String]
attr_accessor :state
@@ -447,13 +511,14 @@ module Google
class ManagedZoneForwardingConfig
include Google::Apis::Core::Hashable
- # Identifies what kind of resource this is. Value: the fixed string "dns#
- # managedZoneForwardingConfig".
+ #
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
- #
+ # List of target name servers to forward to.
+ # Cloud DNS will select the best available name server if more than one
+ # target is given.
# Corresponds to the JSON property `targetNameServers`
# @return [Array]
attr_accessor :target_name_servers
@@ -473,18 +538,21 @@ module Google
class ManagedZoneForwardingConfigNameServerTarget
include Google::Apis::Core::Hashable
- #
+ # Forwarding path for this NameServerTarget, if unset or set to DEFAULT,
+ # Cloud DNS will make forwarding decision based on address ranges,
+ # i.e. RFC1918 addresses go to the VPC, Non-RFC1918 addresses go to the
+ # Internet. When set to PRIVATE, Cloud DNS will always send queries
+ # through VPC for this target
# Corresponds to the JSON property `forwardingPath`
# @return [String]
attr_accessor :forwarding_path
- #
+ # IPv4 address of a target name server.
# Corresponds to the JSON property `ipv4Address`
# @return [String]
attr_accessor :ipv4_address
- # Identifies what kind of resource this is. Value: the fixed string "dns#
- # managedZoneForwardingConfigNameServerTarget".
+ #
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
@@ -505,22 +573,30 @@ module Google
class ManagedZoneOperationsListResponse
include Google::Apis::Core::Hashable
- #
+ # Elements common to every response.
# Corresponds to the JSON property `header`
# @return [Google::Apis::DnsV1beta2::ResponseHeader]
attr_accessor :header
- # Type of resource.
+ #
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
- #
+ # The presence of this field indicates that there exist more results
+ # following your last page of results in pagination order. To fetch them,
+ # make another list request using this value as your page token.
+ # In this way you can retrieve the complete contents of even very large
+ # collections one page at a time. However, if the contents of the collection
+ # change between the first and last paginated list request, the set of all
+ # elements returned will be an inconsistent view of the collection. There is
+ # no way to retrieve a consistent snapshot of a collection larger than the
+ # maximum page size.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
- #
+ # The operation resources.
# Corresponds to the JSON property `operations`
# @return [Array]
attr_accessor :operations
@@ -542,13 +618,12 @@ module Google
class ManagedZonePeeringConfig
include Google::Apis::Core::Hashable
- # Identifies what kind of resource this is. Value: the fixed string "dns#
- # managedZonePeeringConfig".
+ #
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
- #
+ # The network with which to peer.
# Corresponds to the JSON property `targetNetwork`
# @return [Google::Apis::DnsV1beta2::ManagedZonePeeringConfigTargetNetwork]
attr_accessor :target_network
@@ -568,18 +643,24 @@ module Google
class ManagedZonePeeringConfigTargetNetwork
include Google::Apis::Core::Hashable
- #
+ # The time at which the zone was deactivated, in RFC 3339 date-time
+ # format. An empty string indicates that the peering connection is
+ # active. The producer network can deactivate a zone. The zone is
+ # automatically deactivated if the producer network that the zone
+ # targeted is deleted. Output only.
# Corresponds to the JSON property `deactivateTime`
# @return [String]
attr_accessor :deactivate_time
- # Identifies what kind of resource this is. Value: the fixed string "dns#
- # managedZonePeeringConfigTargetNetwork".
+ #
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
- #
+ # The fully qualified URL of the VPC network to forward queries to.
+ # This should be formatted like
+ # https://www.googleapis.com/compute/v1/projects/`project`/global/networks/`
+ # network`
# Corresponds to the JSON property `networkUrl`
# @return [String]
attr_accessor :network_url
@@ -600,13 +681,12 @@ module Google
class ManagedZonePrivateVisibilityConfig
include Google::Apis::Core::Hashable
- # Identifies what kind of resource this is. Value: the fixed string "dns#
- # managedZonePrivateVisibilityConfig".
+ #
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
- #
+ # The list of VPC networks that can see this zone.
# Corresponds to the JSON property `networks`
# @return [Array]
attr_accessor :networks
@@ -626,13 +706,15 @@ module Google
class ManagedZonePrivateVisibilityConfigNetwork
include Google::Apis::Core::Hashable
- # Identifies what kind of resource this is. Value: the fixed string "dns#
- # managedZonePrivateVisibilityConfigNetwork".
+ #
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
- #
+ # The fully qualified URL of the VPC network to bind to.
+ # This should be formatted like
+ # https://www.googleapis.com/compute/v1/projects/`project`/global/networks/`
+ # network`
# Corresponds to the JSON property `networkUrl`
# @return [String]
attr_accessor :network_url
@@ -652,8 +734,7 @@ module Google
class ManagedZoneReverseLookupConfig
include Google::Apis::Core::Hashable
- # Identifies what kind of resource this is. Value: the fixed string "dns#
- # managedZoneReverseLookupConfig".
+ #
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
@@ -668,17 +749,16 @@ module Google
end
end
- #
+ # Contains information about Service Directory-backed zones.
class ManagedZoneServiceDirectoryConfig
include Google::Apis::Core::Hashable
- # Identifies what kind of resource this is. Value: the fixed string "dns#
- # managedZoneServiceDirectoryConfig".
+ #
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
- #
+ # Contains information about the namespace associated with the zone.
# Corresponds to the JSON property `namespace`
# @return [Google::Apis::DnsV1beta2::ManagedZoneServiceDirectoryConfigNamespace]
attr_accessor :namespace
@@ -698,18 +778,22 @@ module Google
class ManagedZoneServiceDirectoryConfigNamespace
include Google::Apis::Core::Hashable
- #
+ # The time that the namespace backing this zone was deleted, empty
+ # string if it still exists. This is in RFC3339 text format. Output
+ # only.
# Corresponds to the JSON property `deletionTime`
# @return [String]
attr_accessor :deletion_time
- # Identifies what kind of resource this is. Value: the fixed string "dns#
- # managedZoneServiceDirectoryConfigNamespace".
+ #
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
- #
+ # The fully qualified URL of the namespace associated with the zone.
+ # This should be formatted like
+ # https://servicedirectory.googleapis.com/v1/projects/`project`/locations/`
+ # location`/namespaces/`namespace`
# Corresponds to the JSON property `namespaceUrl`
# @return [String]
attr_accessor :namespace_url
@@ -730,7 +814,7 @@ module Google
class ManagedZonesListResponse
include Google::Apis::Core::Hashable
- #
+ # Elements common to every response.
# Corresponds to the JSON property `header`
# @return [Google::Apis::DnsV1beta2::ResponseHeader]
attr_accessor :header
@@ -740,12 +824,20 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # The managed zone resources.
# Corresponds to the JSON property `managedZones`
# @return [Array]
attr_accessor :managed_zones
- #
+ # The presence of this field indicates that there exist more results
+ # following your last page of results in pagination order. To fetch them,
+ # make another list request using this value as your page token.
+ # In this way you can retrieve the complete contents of even very large
+ # collections one page at a time. However, if the contents of the collection
+ # change between the first and last paginated list request, the set of all
+ # elements returned will be an inconsistent view of the collection. There is
+ # no way to retrieve a consistent snapshot of a collection larger than the
+ # maximum page size.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@@ -763,47 +855,61 @@ module Google
end
end
- #
+ # An operation represents a successful mutation performed on a Cloud DNS
+ # resource.
+ # Operations provide:
+ # - An audit log of server resource mutations.
+ # - A way to recover/retry API calls in the case where the response is never
+ # received by the caller. Use the caller specified client_operation_id.
class Operation
include Google::Apis::Core::Hashable
- #
+ # Only populated if the operation targeted a DnsKey (output only).
# Corresponds to the JSON property `dnsKeyContext`
# @return [Google::Apis::DnsV1beta2::OperationDnsKeyContext]
attr_accessor :dns_key_context
- #
+ # Unique identifier for the resource. This is the client_operation_id if
+ # the client specified it when the mutation was initiated, otherwise,
+ # it is generated by the server. The name must be 1-63 characters long
+ # and match the regular expression [-a-z0-9]? (output only)
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
- # Identifies what kind of resource this is. Value: the fixed string "dns#
- # operation".
+ #
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
- #
+ # The time that this operation was started by the server. This is in RFC3339
+ # text format (output only).
# Corresponds to the JSON property `startTime`
# @return [String]
attr_accessor :start_time
- #
+ # Status of the operation. Can be one of the following: "PENDING" or "DONE"
+ # (output only). A status of "DONE" means that the
+ # request to update the authoritative servers has been sent, but the
+ # servers might not be updated yet.
# Corresponds to the JSON property `status`
# @return [String]
attr_accessor :status
- #
+ # Type of the operation. Operations include insert, update, and delete
+ # (output only).
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
- #
+ # User who requested the operation, for example: user@example.com.
+ # cloud-dns-system for operations automatically done by the system.
+ # (output only)
# Corresponds to the JSON property `user`
# @return [String]
attr_accessor :user
- #
+ # Only populated if the operation targeted a ManagedZone (output only).
# Corresponds to the JSON property `zoneContext`
# @return [Google::Apis::DnsV1beta2::OperationManagedZoneContext]
attr_accessor :zone_context
@@ -829,12 +935,12 @@ module Google
class OperationDnsKeyContext
include Google::Apis::Core::Hashable
- #
+ # A DNSSEC key pair.
# Corresponds to the JSON property `newValue`
# @return [Google::Apis::DnsV1beta2::DnsKey]
attr_accessor :new_value
- #
+ # A DNSSEC key pair.
# Corresponds to the JSON property `oldValue`
# @return [Google::Apis::DnsV1beta2::DnsKey]
attr_accessor :old_value
@@ -854,12 +960,16 @@ module Google
class OperationManagedZoneContext
include Google::Apis::Core::Hashable
- #
+ # A zone is a subtree of the DNS namespace under one administrative
+ # responsibility. A ManagedZone is a resource that represents a DNS zone
+ # hosted by the Cloud DNS service.
# Corresponds to the JSON property `newValue`
# @return [Google::Apis::DnsV1beta2::ManagedZone]
attr_accessor :new_value
- #
+ # A zone is a subtree of the DNS namespace under one administrative
+ # responsibility. A ManagedZone is a resource that represents a DNS zone
+ # hosted by the Cloud DNS service.
# Corresponds to the JSON property `oldValue`
# @return [Google::Apis::DnsV1beta2::ManagedZone]
attr_accessor :old_value
@@ -879,7 +989,7 @@ module Google
class PoliciesListResponse
include Google::Apis::Core::Hashable
- #
+ # Elements common to every response.
# Corresponds to the JSON property `header`
# @return [Google::Apis::DnsV1beta2::ResponseHeader]
attr_accessor :header
@@ -889,12 +999,20 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # The presence of this field indicates that there exist more results
+ # following your last page of results in pagination order. To fetch them,
+ # make another list request using this value as your page token.
+ # In this way you can retrieve the complete contents of even very large
+ # collections one page at a time. However, if the contents of the collection
+ # change between the first and last paginated list request, the set of all
+ # elements returned will be an inconsistent view of the collection. There is
+ # no way to retrieve a consistent snapshot of a collection larger than the
+ # maximum page size.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
- #
+ # The policy resources.
# Corresponds to the JSON property `policies`
# @return [Array]
attr_accessor :policies
@@ -916,12 +1034,13 @@ module Google
class PoliciesPatchResponse
include Google::Apis::Core::Hashable
- #
+ # Elements common to every response.
# Corresponds to the JSON property `header`
# @return [Google::Apis::DnsV1beta2::ResponseHeader]
attr_accessor :header
- #
+ # A policy is a collection of DNS rules applied to one or more Virtual Private
+ # Cloud resources.
# Corresponds to the JSON property `policy`
# @return [Google::Apis::DnsV1beta2::Policy]
attr_accessor :policy
@@ -941,12 +1060,13 @@ module Google
class PoliciesUpdateResponse
include Google::Apis::Core::Hashable
- #
+ # Elements common to every response.
# Corresponds to the JSON property `header`
# @return [Google::Apis::DnsV1beta2::ResponseHeader]
attr_accessor :header
- #
+ # A policy is a collection of DNS rules applied to one or more Virtual Private
+ # Cloud resources.
# Corresponds to the JSON property `policy`
# @return [Google::Apis::DnsV1beta2::Policy]
attr_accessor :policy
@@ -962,48 +1082,56 @@ module Google
end
end
- #
+ # A policy is a collection of DNS rules applied to one or more Virtual Private
+ # Cloud resources.
class Policy
include Google::Apis::Core::Hashable
- #
+ # Sets an alternative name server for the associated networks. When
+ # specified, all DNS queries are forwarded to a name server that you
+ # choose. Names such as .internal are not available when an alternative
+ # name server is specified.
# Corresponds to the JSON property `alternativeNameServerConfig`
# @return [Google::Apis::DnsV1beta2::PolicyAlternativeNameServerConfig]
attr_accessor :alternative_name_server_config
- #
+ # A mutable string of at most 1024 characters associated with this resource
+ # for the user's convenience. Has no effect on the policy's function.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
- #
+ # Allows networks bound to this policy to receive DNS queries sent by VMs or
+ # applications over VPN connections. When enabled, a virtual IP address will
+ # be allocated from each of the sub-networks that are bound to this policy.
# Corresponds to the JSON property `enableInboundForwarding`
# @return [Boolean]
attr_accessor :enable_inbound_forwarding
alias_method :enable_inbound_forwarding?, :enable_inbound_forwarding
- #
+ # Controls whether logging is enabled for the networks bound to this policy.
+ # Defaults to no logging if not set.
# Corresponds to the JSON property `enableLogging`
# @return [Boolean]
attr_accessor :enable_logging
alias_method :enable_logging?, :enable_logging
- #
+ # Unique identifier for the resource; defined by the server (output only).
# Corresponds to the JSON property `id`
# @return [Fixnum]
attr_accessor :id
- # Identifies what kind of resource this is. Value: the fixed string "dns#policy".
+ #
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
- #
+ # User assigned name for this policy.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
- #
+ # List of network names specifying networks to which this policy is applied.
# Corresponds to the JSON property `networks`
# @return [Array]
attr_accessor :networks
@@ -1029,13 +1157,15 @@ module Google
class PolicyAlternativeNameServerConfig
include Google::Apis::Core::Hashable
- # Identifies what kind of resource this is. Value: the fixed string "dns#
- # policyAlternativeNameServerConfig".
+ #
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
- #
+ # Sets an alternative name server for the associated networks. When
+ # specified, all DNS queries are forwarded to a name server that you
+ # choose. Names such as .internal are not available when an alternative
+ # name server is specified.
# Corresponds to the JSON property `targetNameServers`
# @return [Array]
attr_accessor :target_name_servers
@@ -1055,18 +1185,21 @@ module Google
class PolicyAlternativeNameServerConfigTargetNameServer
include Google::Apis::Core::Hashable
- #
+ # Forwarding path for this TargetNameServer, if unset or set to DEFAULT,
+ # Cloud DNS will make forwarding decision based on address ranges,
+ # i.e. RFC1918 addresses go to the VPC, Non-RFC1918 addresses go to the
+ # Internet. When set to PRIVATE, Cloud DNS will always send queries
+ # through VPC for this target
# Corresponds to the JSON property `forwardingPath`
# @return [String]
attr_accessor :forwarding_path
- #
+ # IPv4 address to forward to.
# Corresponds to the JSON property `ipv4Address`
# @return [String]
attr_accessor :ipv4_address
- # Identifies what kind of resource this is. Value: the fixed string "dns#
- # policyAlternativeNameServerConfigTargetNameServer".
+ #
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
@@ -1087,13 +1220,15 @@ module Google
class PolicyNetwork
include Google::Apis::Core::Hashable
- # Identifies what kind of resource this is. Value: the fixed string "dns#
- # policyNetwork".
+ #
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
- #
+ # The fully qualified URL of the VPC network to bind to.
+ # This should be formatted like
+ # https://www.googleapis.com/compute/v1/projects/`project`/global/networks/`
+ # network`
# Corresponds to the JSON property `networkUrl`
# @return [String]
attr_accessor :network_url
@@ -1109,27 +1244,29 @@ module Google
end
end
- #
+ # A project resource. The project is a top level container for resources
+ # including Cloud DNS ManagedZones. Projects can be created only in the APIs
+ # console.
class Project
include Google::Apis::Core::Hashable
- #
+ # User assigned unique identifier for the resource (output only).
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
- # Identifies what kind of resource this is. Value: the fixed string "dns#project"
- # .
+ #
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
- #
+ # Unique numeric identifier for the resource; defined by the server (output
+ # only).
# Corresponds to the JSON property `number`
# @return [Fixnum]
attr_accessor :number
- #
+ # Limits associated with a Project.
# Corresponds to the JSON property `quota`
# @return [Google::Apis::DnsV1beta2::Quota]
attr_accessor :quota
@@ -1147,81 +1284,86 @@ module Google
end
end
- #
+ # Limits associated with a Project.
class Quota
include Google::Apis::Core::Hashable
- #
+ # Maximum allowed number of DnsKeys per ManagedZone.
# Corresponds to the JSON property `dnsKeysPerManagedZone`
# @return [Fixnum]
attr_accessor :dns_keys_per_managed_zone
- # Identifies what kind of resource this is. Value: the fixed string "dns#quota".
+ #
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
- #
+ # Maximum allowed number of managed zones in the project.
# Corresponds to the JSON property `managedZones`
# @return [Fixnum]
attr_accessor :managed_zones
- #
+ # Maximum allowed number of managed zones which can be attached to a
+ # network.
# Corresponds to the JSON property `managedZonesPerNetwork`
# @return [Fixnum]
attr_accessor :managed_zones_per_network
- #
+ # Maximum allowed number of networks to which a privately scoped zone can be
+ # attached.
# Corresponds to the JSON property `networksPerManagedZone`
# @return [Fixnum]
attr_accessor :networks_per_managed_zone
- #
+ # Maximum allowed number of networks per policy.
# Corresponds to the JSON property `networksPerPolicy`
# @return [Fixnum]
attr_accessor :networks_per_policy
- #
+ # Maximum allowed number of policies per project.
# Corresponds to the JSON property `policies`
# @return [Fixnum]
attr_accessor :policies
- #
+ # Maximum allowed number of ResourceRecords per ResourceRecordSet.
# Corresponds to the JSON property `resourceRecordsPerRrset`
# @return [Fixnum]
attr_accessor :resource_records_per_rrset
- #
+ # Maximum allowed number of ResourceRecordSets to add per
+ # ChangesCreateRequest.
# Corresponds to the JSON property `rrsetAdditionsPerChange`
# @return [Fixnum]
attr_accessor :rrset_additions_per_change
- #
+ # Maximum allowed number of ResourceRecordSets to delete per
+ # ChangesCreateRequest.
# Corresponds to the JSON property `rrsetDeletionsPerChange`
# @return [Fixnum]
attr_accessor :rrset_deletions_per_change
- #
+ # Maximum allowed number of ResourceRecordSets per zone in the project.
# Corresponds to the JSON property `rrsetsPerManagedZone`
# @return [Fixnum]
attr_accessor :rrsets_per_managed_zone
- #
+ # Maximum allowed number of target name servers per managed forwarding zone.
# Corresponds to the JSON property `targetNameServersPerManagedZone`
# @return [Fixnum]
attr_accessor :target_name_servers_per_managed_zone
- #
+ # Maximum allowed number of alternative target name servers per policy.
# Corresponds to the JSON property `targetNameServersPerPolicy`
# @return [Fixnum]
attr_accessor :target_name_servers_per_policy
- #
+ # Maximum allowed size for total rrdata in one ChangesCreateRequest in
+ # bytes.
# Corresponds to the JSON property `totalRrdataSizePerChange`
# @return [Fixnum]
attr_accessor :total_rrdata_size_per_change
- #
+ # DNSSEC algorithm and key length types that can be used for DnsKeys.
# Corresponds to the JSON property `whitelistedKeySpecs`
# @return [Array]
attr_accessor :whitelisted_key_specs
@@ -1250,37 +1392,39 @@ module Google
end
end
- #
+ # A unit of data that will be returned by the DNS servers.
class ResourceRecordSet
include Google::Apis::Core::Hashable
- # Identifies what kind of resource this is. Value: the fixed string "dns#
- # resourceRecordSet".
+ #
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
- #
+ # For example, www.example.com.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
- #
+ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see
+ # examples.
# Corresponds to the JSON property `rrdatas`
# @return [Array]
attr_accessor :rrdatas
- #
+ # As defined in RFC 4034 (section 3.2).
# Corresponds to the JSON property `signatureRrdatas`
# @return [Array]
attr_accessor :signature_rrdatas
- #
+ # Number of seconds that this ResourceRecordSet can be cached by resolvers.
# Corresponds to the JSON property `ttl`
# @return [Fixnum]
attr_accessor :ttl
- #
+ # The identifier of a supported record type. See the list of
+ # Supported
+ # DNS record types.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
@@ -1304,7 +1448,7 @@ module Google
class ResourceRecordSetsListResponse
include Google::Apis::Core::Hashable
- #
+ # Elements common to every response.
# Corresponds to the JSON property `header`
# @return [Google::Apis::DnsV1beta2::ResponseHeader]
attr_accessor :header
@@ -1314,12 +1458,20 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # The presence of this field indicates that there exist more results
+ # following your last page of results in pagination order. To fetch them,
+ # make another list request using this value as your pagination token.
+ # In this way you can retrieve the complete contents of even very large
+ # collections one page at a time. However, if the contents of the collection
+ # change between the first and last paginated list request, the set of all
+ # elements returned will be an inconsistent view of the collection. There is
+ # no way to retrieve a consistent snapshot of a collection larger than the
+ # maximum page size.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
- #
+ # The resource record set resources.
# Corresponds to the JSON property `rrsets`
# @return [Array]
attr_accessor :rrsets
@@ -1337,11 +1489,13 @@ module Google
end
end
- #
+ # Elements common to every response.
class ResponseHeader
include Google::Apis::Core::Hashable
- #
+ # For mutating operation requests that completed successfully.
+ # This is the client_operation_id if the client specified it,
+ # otherwise it is generated by the server (output only).
# Corresponds to the JSON property `operationId`
# @return [String]
attr_accessor :operation_id
diff --git a/generated/google/apis/dns_v1beta2/service.rb b/generated/google/apis/dns_v1beta2/service.rb
index 11b3b4639..5c5c9a675 100644
--- a/generated/google/apis/dns_v1beta2/service.rb
+++ b/generated/google/apis/dns_v1beta2/service.rb
@@ -20,9 +20,9 @@ require 'google/apis/errors'
module Google
module Apis
module DnsV1beta2
- # Google Cloud DNS API
+ # Cloud DNS API
#
- # Configures and serves authoritative DNS records.
+ #
#
# @example
# require 'google/apis/dns_v1beta2'
@@ -30,7 +30,7 @@ module Google
# Dns = Google::Apis::DnsV1beta2 # Alias the module
# service = Dns::DnsService.new
#
- # @see https://developers.google.com/cloud-dns
+ # @see http://developers.google.com/cloud-dns
class DnsService < Google::Apis::Core::BaseService
# @return [String]
# API key. Your API key identifies your project and provides you with API access,
@@ -38,31 +38,31 @@ module Google
attr_accessor :key
# @return [String]
- # An opaque string that represents a user for quota purposes. Must not exceed 40
- # characters.
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
attr_accessor :quota_user
- # @return [String]
- # Deprecated. Please use quotaUser instead.
- attr_accessor :user_ip
-
def initialize
- super('https://dns.googleapis.com/', 'dns/v1beta2/projects/')
- @batch_path = 'batch/dns/v1beta2'
+ super('https://dns.googleapis.com/', '')
+ @batch_path = 'batch'
end
- #
+ # Atomically update the ResourceRecordSet collection.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request. Can be the managed
+ # zone name or id.
# @param [Google::Apis::DnsV1beta2::Change] change_object
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier
+ # specified by the client. Must be unique for operation resources in the
+ # Operations collection.
# @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.
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
@@ -75,8 +75,8 @@ module Google
# @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 create_change(project, managed_zone, change_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
- command = make_simple_command(:post, '{project}/managedZones/{managedZone}/changes', options)
+ def create_change(project, managed_zone, change_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'dns/v1beta2/projects/{project}/managedZones/{managedZone}/changes', options)
command.request_representation = Google::Apis::DnsV1beta2::Change::Representation
command.request_object = change_object
command.response_representation = Google::Apis::DnsV1beta2::Change::Representation
@@ -86,22 +86,27 @@ module Google
command.query['clientOperationId'] = client_operation_id unless client_operation_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
- #
+ # Fetch the representation of an existing Change.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request. Can be the managed
+ # zone name or id.
# @param [String] change_id
+ # The identifier of the requested change, from a previous
+ # ResourceRecordSetsChangeResponse.
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier
+ # specified by the client. Must be unique for operation resources in the
+ # Operations collection.
# @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.
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
@@ -114,8 +119,8 @@ module Google
# @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_change(project, managed_zone, change_id, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
- command = make_simple_command(:get, '{project}/managedZones/{managedZone}/changes/{changeId}', options)
+ def get_change(project, managed_zone, change_id, client_operation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'dns/v1beta2/projects/{project}/managedZones/{managedZone}/changes/{changeId}', options)
command.response_representation = Google::Apis::DnsV1beta2::Change::Representation
command.response_class = Google::Apis::DnsV1beta2::Change
command.params['project'] = project unless project.nil?
@@ -124,24 +129,30 @@ module Google
command.query['clientOperationId'] = client_operation_id unless client_operation_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
- #
+ # Enumerate Changes to a ResourceRecordSet collection.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request. Can be the managed
+ # zone name or id.
# @param [Fixnum] max_results
+ # Optional. Maximum number of results to be returned. If unspecified, the
+ # server will decide how many results to return.
# @param [String] page_token
+ # Optional. A tag returned by a previous list request that was truncated.
+ # Use this parameter to continue a previous list request.
# @param [String] sort_by
+ # Sorting criterion. The only supported value is change sequence.
# @param [String] sort_order
+ # Sorting order direction: 'ascending' or 'descending'.
# @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.
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
@@ -154,8 +165,8 @@ module Google
# @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_changes(project, managed_zone, max_results: nil, page_token: nil, sort_by: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
- command = make_simple_command(:get, '{project}/managedZones/{managedZone}/changes', options)
+ def list_changes(project, managed_zone, max_results: nil, page_token: nil, sort_by: nil, sort_order: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'dns/v1beta2/projects/{project}/managedZones/{managedZone}/changes', options)
command.response_representation = Google::Apis::DnsV1beta2::ChangesListResponse::Representation
command.response_class = Google::Apis::DnsV1beta2::ChangesListResponse
command.params['project'] = project unless project.nil?
@@ -166,23 +177,30 @@ module Google
command.query['sortOrder'] = sort_order unless sort_order.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
- #
+ # Fetch the representation of an existing DnsKey.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request. Can be the managed
+ # zone name or id.
# @param [String] dns_key_id
+ # The identifier of the requested DnsKey.
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier
+ # specified by the client. Must be unique for operation resources in the
+ # Operations collection.
# @param [String] digest_type
+ # An optional comma-separated list of digest types to compute and display
+ # for key signing keys. If omitted, the recommended digest type will be
+ # computed and displayed.
# @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.
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
@@ -195,8 +213,8 @@ module Google
# @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_dns_key(project, managed_zone, dns_key_id, client_operation_id: nil, digest_type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
- command = make_simple_command(:get, '{project}/managedZones/{managedZone}/dnsKeys/{dnsKeyId}', options)
+ def get_dns_key(project, managed_zone, dns_key_id, client_operation_id: nil, digest_type: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'dns/v1beta2/projects/{project}/managedZones/{managedZone}/dnsKeys/{dnsKeyId}', options)
command.response_representation = Google::Apis::DnsV1beta2::DnsKey::Representation
command.response_class = Google::Apis::DnsV1beta2::DnsKey
command.params['project'] = project unless project.nil?
@@ -206,23 +224,30 @@ module Google
command.query['digestType'] = digest_type unless digest_type.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
- command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
- #
+ # Enumerate DnsKeys to a ResourceRecordSet collection.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request. Can be the managed
+ # zone name or id.
# @param [String] digest_type
+ # An optional comma-separated list of digest types to compute and display
+ # for key signing keys. If omitted, the recommended digest type will be
+ # computed and displayed.
# @param [Fixnum] max_results
+ # Optional. Maximum number of results to be returned. If unspecified, the
+ # server will decide how many results to return.
# @param [String] page_token
+ # Optional. A tag returned by a previous list request that was truncated.
+ # Use this parameter to continue a previous list 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.
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
@@ -235,8 +260,8 @@ module Google
# @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_dns_keys(project, managed_zone, digest_type: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
- command = make_simple_command(:get, '{project}/managedZones/{managedZone}/dnsKeys', options)
+ def list_dns_keys(project, managed_zone, digest_type: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'dns/v1beta2/projects/{project}/managedZones/{managedZone}/dnsKeys', options)
command.response_representation = Google::Apis::DnsV1beta2::DnsKeysListResponse::Representation
command.response_class = Google::Apis::DnsV1beta2::DnsKeysListResponse
command.params['project'] = project unless project.nil?
@@ -246,22 +271,25 @@ module Google
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
- #
+ # Fetch the representation of an existing Operation.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request.
# @param [String] operation
+ # Identifies the operation addressed by this request.
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier
+ # specified by the client. Must be unique for operation resources in the
+ # Operations collection.
# @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.
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
@@ -274,8 +302,8 @@ module Google
# @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_managed_zone_operation(project, managed_zone, operation, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
- command = make_simple_command(:get, '{project}/managedZones/{managedZone}/operations/{operation}', options)
+ def get_managed_zone_operation(project, managed_zone, operation, client_operation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'dns/v1beta2/projects/{project}/managedZones/{managedZone}/operations/{operation}', options)
command.response_representation = Google::Apis::DnsV1beta2::Operation::Representation
command.response_class = Google::Apis::DnsV1beta2::Operation
command.params['project'] = project unless project.nil?
@@ -284,23 +312,27 @@ module Google
command.query['clientOperationId'] = client_operation_id unless client_operation_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
- #
+ # Enumerate Operations for the given ManagedZone.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request.
# @param [Fixnum] max_results
+ # Optional. Maximum number of results to be returned. If unspecified, the
+ # server will decide how many results to return.
# @param [String] page_token
+ # Optional. A tag returned by a previous list request that was truncated.
+ # Use this parameter to continue a previous list request.
# @param [String] sort_by
+ # Sorting criterion. The only supported values are START_TIME and ID.
# @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.
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
@@ -313,8 +345,8 @@ module Google
# @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_managed_zone_operations(project, managed_zone, max_results: nil, page_token: nil, sort_by: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
- command = make_simple_command(:get, '{project}/managedZones/{managedZone}/operations', options)
+ def list_managed_zone_operations(project, managed_zone, max_results: nil, page_token: nil, sort_by: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'dns/v1beta2/projects/{project}/managedZones/{managedZone}/operations', options)
command.response_representation = Google::Apis::DnsV1beta2::ManagedZoneOperationsListResponse::Representation
command.response_class = Google::Apis::DnsV1beta2::ManagedZoneOperationsListResponse
command.params['project'] = project unless project.nil?
@@ -324,21 +356,22 @@ module Google
command.query['sortBy'] = sort_by unless sort_by.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
- #
+ # Create a new ManagedZone.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [Google::Apis::DnsV1beta2::ManagedZone] managed_zone_object
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier
+ # specified by the client. Must be unique for operation resources in the
+ # Operations collection.
# @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.
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
@@ -351,8 +384,8 @@ module Google
# @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 create_managed_zone(project, managed_zone_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
- command = make_simple_command(:post, '{project}/managedZones', options)
+ def create_managed_zone(project, managed_zone_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'dns/v1beta2/projects/{project}/managedZones', options)
command.request_representation = Google::Apis::DnsV1beta2::ManagedZone::Representation
command.request_object = managed_zone_object
command.response_representation = Google::Apis::DnsV1beta2::ManagedZone::Representation
@@ -361,21 +394,24 @@ module Google
command.query['clientOperationId'] = client_operation_id unless client_operation_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
- #
+ # Delete a previously created ManagedZone.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request. Can be the managed
+ # zone name or id.
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier
+ # specified by the client. Must be unique for operation resources in the
+ # Operations collection.
# @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.
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
@@ -388,28 +424,31 @@ module Google
# @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_managed_zone(project, managed_zone, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
- command = make_simple_command(:delete, '{project}/managedZones/{managedZone}', options)
+ def delete_managed_zone(project, managed_zone, client_operation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:delete, 'dns/v1beta2/projects/{project}/managedZones/{managedZone}', options)
command.params['project'] = project unless project.nil?
command.params['managedZone'] = managed_zone unless managed_zone.nil?
command.query['clientOperationId'] = client_operation_id unless client_operation_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
- #
+ # Fetch the representation of an existing ManagedZone.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request. Can be the managed
+ # zone name or id.
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier
+ # specified by the client. Must be unique for operation resources in the
+ # Operations collection.
# @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.
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
@@ -422,8 +461,8 @@ module Google
# @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_managed_zone(project, managed_zone, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
- command = make_simple_command(:get, '{project}/managedZones/{managedZone}', options)
+ def get_managed_zone(project, managed_zone, client_operation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'dns/v1beta2/projects/{project}/managedZones/{managedZone}', options)
command.response_representation = Google::Apis::DnsV1beta2::ManagedZone::Representation
command.response_class = Google::Apis::DnsV1beta2::ManagedZone
command.params['project'] = project unless project.nil?
@@ -431,22 +470,25 @@ module Google
command.query['clientOperationId'] = client_operation_id unless client_operation_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
- #
+ # Enumerate ManagedZones that have been created but not yet deleted.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] dns_name
+ # Restricts the list to return only zones with this domain name.
# @param [Fixnum] max_results
+ # Optional. Maximum number of results to be returned. If unspecified, the
+ # server will decide how many results to return.
# @param [String] page_token
+ # Optional. A tag returned by a previous list request that was truncated.
+ # Use this parameter to continue a previous list 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.
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
@@ -459,8 +501,8 @@ module Google
# @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_managed_zones(project, dns_name: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
- command = make_simple_command(:get, '{project}/managedZones', options)
+ def list_managed_zones(project, dns_name: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'dns/v1beta2/projects/{project}/managedZones', options)
command.response_representation = Google::Apis::DnsV1beta2::ManagedZonesListResponse::Representation
command.response_class = Google::Apis::DnsV1beta2::ManagedZonesListResponse
command.params['project'] = project unless project.nil?
@@ -469,22 +511,25 @@ module Google
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
- #
+ # Apply a partial update to an existing ManagedZone.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request. Can be the managed
+ # zone name or id.
# @param [Google::Apis::DnsV1beta2::ManagedZone] managed_zone_object
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier
+ # specified by the client. Must be unique for operation resources in the
+ # Operations collection.
# @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.
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
@@ -497,8 +542,8 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def patch_managed_zone(project, managed_zone, managed_zone_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
- command = make_simple_command(:patch, '{project}/managedZones/{managedZone}', options)
+ def patch_managed_zone(project, managed_zone, managed_zone_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:patch, 'dns/v1beta2/projects/{project}/managedZones/{managedZone}', options)
command.request_representation = Google::Apis::DnsV1beta2::ManagedZone::Representation
command.request_object = managed_zone_object
command.response_representation = Google::Apis::DnsV1beta2::Operation::Representation
@@ -508,22 +553,25 @@ module Google
command.query['clientOperationId'] = client_operation_id unless client_operation_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
- #
+ # Update an existing ManagedZone.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request. Can be the managed
+ # zone name or id.
# @param [Google::Apis::DnsV1beta2::ManagedZone] managed_zone_object
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier
+ # specified by the client. Must be unique for operation resources in the
+ # Operations collection.
# @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.
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
@@ -536,8 +584,8 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def update_managed_zone(project, managed_zone, managed_zone_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
- command = make_simple_command(:put, '{project}/managedZones/{managedZone}', options)
+ def update_managed_zone(project, managed_zone, managed_zone_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:put, 'dns/v1beta2/projects/{project}/managedZones/{managedZone}', options)
command.request_representation = Google::Apis::DnsV1beta2::ManagedZone::Representation
command.request_object = managed_zone_object
command.response_representation = Google::Apis::DnsV1beta2::Operation::Representation
@@ -547,21 +595,22 @@ module Google
command.query['clientOperationId'] = client_operation_id unless client_operation_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
- #
+ # Create a new Policy
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [Google::Apis::DnsV1beta2::Policy] policy_object
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier
+ # specified by the client. Must be unique for operation resources in the
+ # Operations collection.
# @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.
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
@@ -574,8 +623,8 @@ module Google
# @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 create_policy(project, policy_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
- command = make_simple_command(:post, '{project}/policies', options)
+ def create_policy(project, policy_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'dns/v1beta2/projects/{project}/policies', options)
command.request_representation = Google::Apis::DnsV1beta2::Policy::Representation
command.request_object = policy_object
command.response_representation = Google::Apis::DnsV1beta2::Policy::Representation
@@ -584,21 +633,24 @@ module Google
command.query['clientOperationId'] = client_operation_id unless client_operation_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
- #
+ # Delete a previously created Policy. Will fail if the policy is still being
+ # referenced by a network.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] policy
+ # User given friendly name of the policy addressed by this request.
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier
+ # specified by the client. Must be unique for operation resources in the
+ # Operations collection.
# @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.
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
@@ -611,28 +663,30 @@ module Google
# @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_policy(project, policy, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
- command = make_simple_command(:delete, '{project}/policies/{policy}', options)
+ def delete_policy(project, policy, client_operation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:delete, 'dns/v1beta2/projects/{project}/policies/{policy}', options)
command.params['project'] = project unless project.nil?
command.params['policy'] = policy unless policy.nil?
command.query['clientOperationId'] = client_operation_id unless client_operation_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
- #
+ # Fetch the representation of an existing Policy.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] policy
+ # User given friendly name of the policy addressed by this request.
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier
+ # specified by the client. Must be unique for operation resources in the
+ # Operations collection.
# @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.
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
@@ -645,8 +699,8 @@ module Google
# @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_policy(project, policy, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
- command = make_simple_command(:get, '{project}/policies/{policy}', options)
+ def get_policy(project, policy, client_operation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'dns/v1beta2/projects/{project}/policies/{policy}', options)
command.response_representation = Google::Apis::DnsV1beta2::Policy::Representation
command.response_class = Google::Apis::DnsV1beta2::Policy
command.params['project'] = project unless project.nil?
@@ -654,21 +708,23 @@ module Google
command.query['clientOperationId'] = client_operation_id unless client_operation_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
- #
+ # Enumerate all Policies associated with a project.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [Fixnum] max_results
+ # Optional. Maximum number of results to be returned. If unspecified, the
+ # server will decide how many results to return.
# @param [String] page_token
+ # Optional. A tag returned by a previous list request that was truncated.
+ # Use this parameter to continue a previous list 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.
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
@@ -681,8 +737,8 @@ module Google
# @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_policies(project, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
- command = make_simple_command(:get, '{project}/policies', options)
+ def list_policies(project, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'dns/v1beta2/projects/{project}/policies', options)
command.response_representation = Google::Apis::DnsV1beta2::PoliciesListResponse::Representation
command.response_class = Google::Apis::DnsV1beta2::PoliciesListResponse
command.params['project'] = project unless project.nil?
@@ -690,22 +746,24 @@ module Google
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
- #
+ # Apply a partial update to an existing Policy.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] policy
+ # User given friendly name of the policy addressed by this request.
# @param [Google::Apis::DnsV1beta2::Policy] policy_object
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier
+ # specified by the client. Must be unique for operation resources in the
+ # Operations collection.
# @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.
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
@@ -718,8 +776,8 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def patch_policy(project, policy, policy_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
- command = make_simple_command(:patch, '{project}/policies/{policy}', options)
+ def patch_policy(project, policy, policy_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:patch, 'dns/v1beta2/projects/{project}/policies/{policy}', options)
command.request_representation = Google::Apis::DnsV1beta2::Policy::Representation
command.request_object = policy_object
command.response_representation = Google::Apis::DnsV1beta2::PoliciesPatchResponse::Representation
@@ -729,22 +787,24 @@ module Google
command.query['clientOperationId'] = client_operation_id unless client_operation_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
- #
+ # Update an existing Policy.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] policy
+ # User given friendly name of the policy addressed by this request.
# @param [Google::Apis::DnsV1beta2::Policy] policy_object
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier
+ # specified by the client. Must be unique for operation resources in the
+ # Operations collection.
# @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.
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
@@ -757,8 +817,8 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def update_policy(project, policy, policy_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
- command = make_simple_command(:put, '{project}/policies/{policy}', options)
+ def update_policy(project, policy, policy_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:put, 'dns/v1beta2/projects/{project}/policies/{policy}', options)
command.request_representation = Google::Apis::DnsV1beta2::Policy::Representation
command.request_object = policy_object
command.response_representation = Google::Apis::DnsV1beta2::PoliciesUpdateResponse::Representation
@@ -768,20 +828,21 @@ module Google
command.query['clientOperationId'] = client_operation_id unless client_operation_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
- #
+ # Fetch the representation of an existing Project.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier
+ # specified by the client. Must be unique for operation resources in the
+ # Operations collection.
# @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.
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
@@ -794,32 +855,40 @@ module Google
# @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_project(project, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
- command = make_simple_command(:get, '{project}', options)
+ def get_project(project, client_operation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'dns/v1beta2/projects/{project}', options)
command.response_representation = Google::Apis::DnsV1beta2::Project::Representation
command.response_class = Google::Apis::DnsV1beta2::Project
command.params['project'] = project unless project.nil?
command.query['clientOperationId'] = client_operation_id unless client_operation_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
- #
+ # Enumerate ResourceRecordSets that have been created but not yet deleted.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request. Can be the managed
+ # zone name or id.
# @param [Fixnum] max_results
+ # Optional. Maximum number of results to be returned. If unspecified, the
+ # server will decide how many results to return.
# @param [String] name
+ # Restricts the list to return only records with this fully qualified domain
+ # name.
# @param [String] page_token
+ # Optional. A tag returned by a previous list request that was truncated.
+ # Use this parameter to continue a previous list request.
# @param [String] type
+ # Restricts the list to return only records of this type. If present, the
+ # "name" parameter must also be present.
# @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.
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
@@ -832,8 +901,8 @@ module Google
# @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_resource_record_sets(project, managed_zone, max_results: nil, name: nil, page_token: nil, type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
- command = make_simple_command(:get, '{project}/managedZones/{managedZone}/rrsets', options)
+ def list_resource_record_sets(project, managed_zone, max_results: nil, name: nil, page_token: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'dns/v1beta2/projects/{project}/managedZones/{managedZone}/rrsets', options)
command.response_representation = Google::Apis::DnsV1beta2::ResourceRecordSetsListResponse::Representation
command.response_class = Google::Apis::DnsV1beta2::ResourceRecordSetsListResponse
command.params['project'] = project unless project.nil?
@@ -844,7 +913,6 @@ module Google
command.query['type'] = type unless type.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
- command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@@ -853,7 +921,6 @@ module Google
def apply_command_defaults(command)
command.query['key'] = key unless key.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
- command.query['userIp'] = user_ip unless user_ip.nil?
end
end
end
diff --git a/generated/google/apis/drive_v2.rb b/generated/google/apis/drive_v2.rb
index ebba2cfee..2b4b9a206 100644
--- a/generated/google/apis/drive_v2.rb
+++ b/generated/google/apis/drive_v2.rb
@@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/drive/
module DriveV2
VERSION = 'V2'
- REVISION = '20200609'
+ REVISION = '20200618'
# See, edit, create, and delete all of your Google Drive files
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
diff --git a/generated/google/apis/drive_v2/classes.rb b/generated/google/apis/drive_v2/classes.rb
index 0159ecc1c..f5075984f 100644
--- a/generated/google/apis/drive_v2/classes.rb
+++ b/generated/google/apis/drive_v2/classes.rb
@@ -2218,6 +2218,14 @@ module Google
attr_accessor :can_add_children
alias_method :can_add_children?, :can_add_children
+ # Whether the current user can add a folder from another drive (different shared
+ # drive or My Drive) to this folder. This is false when the item is not a folder.
+ # Only populated for items in shared drives.
+ # Corresponds to the JSON property `canAddFolderFromAnotherDrive`
+ # @return [Boolean]
+ attr_accessor :can_add_folder_from_another_drive
+ alias_method :can_add_folder_from_another_drive?, :can_add_folder_from_another_drive
+
# Whether the current user can add a parent for the item without removing an
# existing parent in the same request. Not populated for shared drive files.
# Corresponds to the JSON property `canAddMyDriveParent`
@@ -2434,6 +2442,7 @@ module Google
# Update properties of this object
def update!(**args)
@can_add_children = args[:can_add_children] if args.key?(:can_add_children)
+ @can_add_folder_from_another_drive = args[:can_add_folder_from_another_drive] if args.key?(:can_add_folder_from_another_drive)
@can_add_my_drive_parent = args[:can_add_my_drive_parent] if args.key?(:can_add_my_drive_parent)
@can_change_copy_requires_writer_permission = args[:can_change_copy_requires_writer_permission] if args.key?(:can_change_copy_requires_writer_permission)
@can_change_restricted_download = args[:can_change_restricted_download] if args.key?(:can_change_restricted_download)
diff --git a/generated/google/apis/drive_v2/representations.rb b/generated/google/apis/drive_v2/representations.rb
index 4f571c177..fc7c479c1 100644
--- a/generated/google/apis/drive_v2/representations.rb
+++ b/generated/google/apis/drive_v2/representations.rb
@@ -868,6 +868,7 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :can_add_children, as: 'canAddChildren'
+ property :can_add_folder_from_another_drive, as: 'canAddFolderFromAnotherDrive'
property :can_add_my_drive_parent, as: 'canAddMyDriveParent'
property :can_change_copy_requires_writer_permission, as: 'canChangeCopyRequiresWriterPermission'
property :can_change_restricted_download, as: 'canChangeRestrictedDownload'
diff --git a/generated/google/apis/drive_v3.rb b/generated/google/apis/drive_v3.rb
index 045f84481..46dd1d2c9 100644
--- a/generated/google/apis/drive_v3.rb
+++ b/generated/google/apis/drive_v3.rb
@@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/drive/
module DriveV3
VERSION = 'V3'
- REVISION = '20200609'
+ REVISION = '20200618'
# See, edit, create, and delete all of your Google Drive files
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
diff --git a/generated/google/apis/drive_v3/classes.rb b/generated/google/apis/drive_v3/classes.rb
index 15de7406b..daf2a7f64 100644
--- a/generated/google/apis/drive_v3/classes.rb
+++ b/generated/google/apis/drive_v3/classes.rb
@@ -1375,6 +1375,14 @@ module Google
attr_accessor :can_add_children
alias_method :can_add_children?, :can_add_children
+ # Whether the current user can add a folder from another drive (different shared
+ # drive or My Drive) to this folder. This is false when the item is not a folder.
+ # Only populated for items in shared drives.
+ # Corresponds to the JSON property `canAddFolderFromAnotherDrive`
+ # @return [Boolean]
+ attr_accessor :can_add_folder_from_another_drive
+ alias_method :can_add_folder_from_another_drive?, :can_add_folder_from_another_drive
+
# Whether the current user can add a parent for the item without removing an
# existing parent in the same request. Not populated for shared drive files.
# Corresponds to the JSON property `canAddMyDriveParent`
@@ -1591,6 +1599,7 @@ module Google
# Update properties of this object
def update!(**args)
@can_add_children = args[:can_add_children] if args.key?(:can_add_children)
+ @can_add_folder_from_another_drive = args[:can_add_folder_from_another_drive] if args.key?(:can_add_folder_from_another_drive)
@can_add_my_drive_parent = args[:can_add_my_drive_parent] if args.key?(:can_add_my_drive_parent)
@can_change_copy_requires_writer_permission = args[:can_change_copy_requires_writer_permission] if args.key?(:can_change_copy_requires_writer_permission)
@can_change_viewers_can_copy_content = args[:can_change_viewers_can_copy_content] if args.key?(:can_change_viewers_can_copy_content)
diff --git a/generated/google/apis/drive_v3/representations.rb b/generated/google/apis/drive_v3/representations.rb
index df964a52d..18b800c00 100644
--- a/generated/google/apis/drive_v3/representations.rb
+++ b/generated/google/apis/drive_v3/representations.rb
@@ -566,6 +566,7 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :can_add_children, as: 'canAddChildren'
+ property :can_add_folder_from_another_drive, as: 'canAddFolderFromAnotherDrive'
property :can_add_my_drive_parent, as: 'canAddMyDriveParent'
property :can_change_copy_requires_writer_permission, as: 'canChangeCopyRequiresWriterPermission'
property :can_change_viewers_can_copy_content, as: 'canChangeViewersCanCopyContent'
diff --git a/generated/google/apis/sasportal_v1alpha1.rb b/generated/google/apis/sasportal_v1alpha1.rb
index 84b79a24d..70ad4d0ba 100644
--- a/generated/google/apis/sasportal_v1alpha1.rb
+++ b/generated/google/apis/sasportal_v1alpha1.rb
@@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/spectrum-access-system/
module SasportalV1alpha1
VERSION = 'V1alpha1'
- REVISION = '20200623'
+ REVISION = '20200629'
# View your email address
AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'
diff --git a/generated/google/apis/sasportal_v1alpha1/classes.rb b/generated/google/apis/sasportal_v1alpha1/classes.rb
index 84899cd4a..ac325c113 100644
--- a/generated/google/apis/sasportal_v1alpha1/classes.rb
+++ b/generated/google/apis/sasportal_v1alpha1/classes.rb
@@ -150,6 +150,50 @@ module Google
end
end
+ # The Deployment.
+ class SasPortalDeployment
+ include Google::Apis::Core::Hashable
+
+ # The allowed billing modes under this deployment.
+ # Corresponds to the JSON property `allowedBillingModes`
+ # @return [Array]
+ attr_accessor :allowed_billing_modes
+
+ # Default billing mode for the deployment and devices under it.
+ # Corresponds to the JSON property `defaultBillingMode`
+ # @return [String]
+ attr_accessor :default_billing_mode
+
+ # The deployment's display name.
+ # Corresponds to the JSON property `displayName`
+ # @return [String]
+ attr_accessor :display_name
+
+ # Output only. Resource name.
+ # Corresponds to the JSON property `name`
+ # @return [String]
+ attr_accessor :name
+
+ # User id used by the devices belonging to this deployment. Each deployment
+ # should be associated with one unique user_id.
+ # Corresponds to the JSON property `sasUserIds`
+ # @return [Array]
+ attr_accessor :sas_user_ids
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @allowed_billing_modes = args[:allowed_billing_modes] if args.key?(:allowed_billing_modes)
+ @default_billing_mode = args[:default_billing_mode] if args.key?(:default_billing_mode)
+ @display_name = args[:display_name] if args.key?(:display_name)
+ @name = args[:name] if args.key?(:name)
+ @sas_user_ids = args[:sas_user_ids] if args.key?(:sas_user_ids)
+ end
+ end
+
#
class SasPortalDevice
include Google::Apis::Core::Hashable
@@ -721,6 +765,35 @@ module Google
end
end
+ # Response for ListDeployments method.
+ class SasPortalListDeploymentsResponse
+ include Google::Apis::Core::Hashable
+
+ # The deployments that match the
+ # request.
+ # Corresponds to the JSON property `deployments`
+ # @return [Array]
+ attr_accessor :deployments
+
+ # A pagination token returned from a previous call to
+ # ListDeployments method that indicates
+ # from where listing should continue. If the field is missing or empty, it
+ # means there is no more deployments.
+ # Corresponds to the JSON property `nextPageToken`
+ # @return [String]
+ attr_accessor :next_page_token
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @deployments = args[:deployments] if args.key?(:deployments)
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
+ end
+ end
+
# Response for ListDevices method.
class SasPortalListDevicesResponse
include Google::Apis::Core::Hashable
diff --git a/generated/google/apis/sasportal_v1alpha1/representations.rb b/generated/google/apis/sasportal_v1alpha1/representations.rb
index 3e973278a..f201ca30b 100644
--- a/generated/google/apis/sasportal_v1alpha1/representations.rb
+++ b/generated/google/apis/sasportal_v1alpha1/representations.rb
@@ -52,6 +52,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
+ class SasPortalDeployment
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class SasPortalDevice
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -136,6 +142,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
+ class SasPortalListDeploymentsResponse
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class SasPortalListDevicesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -266,6 +278,17 @@ module Google
end
end
+ class SasPortalDeployment
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :allowed_billing_modes, as: 'allowedBillingModes'
+ property :default_billing_mode, as: 'defaultBillingMode'
+ property :display_name, as: 'displayName'
+ property :name, as: 'name'
+ collection :sas_user_ids, as: 'sasUserIds'
+ end
+ end
+
class SasPortalDevice
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -416,6 +439,15 @@ module Google
end
end
+ class SasPortalListDeploymentsResponse
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :deployments, as: 'deployments', class: Google::Apis::SasportalV1alpha1::SasPortalDeployment, decorator: Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation
+
+ property :next_page_token, as: 'nextPageToken'
+ end
+ end
+
class SasPortalListDevicesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
diff --git a/generated/google/apis/sasportal_v1alpha1/service.rb b/generated/google/apis/sasportal_v1alpha1/service.rb
index 0cef41909..7238e19bd 100644
--- a/generated/google/apis/sasportal_v1alpha1/service.rb
+++ b/generated/google/apis/sasportal_v1alpha1/service.rb
@@ -149,6 +149,174 @@ module Google
execute_or_queue_command(command, &block)
end
+ # Creates a new deployment.
+ # @param [String] parent
+ # Required. The parent resource name where the deployment is to be created.
+ # @param [Google::Apis::SasportalV1alpha1::SasPortalDeployment] sas_portal_deployment_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalDeployment] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::SasportalV1alpha1::SasPortalDeployment]
+ #
+ # @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 create_customer_deployment(parent, sas_portal_deployment_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1alpha1/{+parent}/deployments', options)
+ command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation
+ command.request_object = sas_portal_deployment_object
+ command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation
+ command.response_class = Google::Apis::SasportalV1alpha1::SasPortalDeployment
+ command.params['parent'] = parent unless parent.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Deletes a deployment.
+ # @param [String] name
+ # Required. The name of the deployment.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalEmpty] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::SasportalV1alpha1::SasPortalEmpty]
+ #
+ # @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_customer_deployment(name, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
+ command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalEmpty::Representation
+ command.response_class = Google::Apis::SasportalV1alpha1::SasPortalEmpty
+ command.params['name'] = name unless name.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Returns a requested deployment.
+ # @param [String] name
+ # Required. The name of the deployment.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalDeployment] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::SasportalV1alpha1::SasPortalDeployment]
+ #
+ # @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_customer_deployment(name, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1alpha1/{+name}', options)
+ command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation
+ command.response_class = Google::Apis::SasportalV1alpha1::SasPortalDeployment
+ command.params['name'] = name unless name.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Lists deployments.
+ # @param [String] parent
+ # Required. The parent resource name, for example, "nodes/1",
+ # customer/1/nodes/2.
+ # @param [Fixnum] page_size
+ # The maximum number of deployments to return in the response.
+ # @param [String] page_token
+ # A pagination token returned from a previous call to ListDeployments
+ # method that
+ # indicates where this listing should continue from.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse]
+ #
+ # @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_customer_deployments(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1alpha1/{+parent}/deployments', options)
+ command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse::Representation
+ command.response_class = Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse
+ command.params['parent'] = parent unless parent.nil?
+ command.query['pageSize'] = page_size unless page_size.nil?
+ command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Updates an existing deployment.
+ # @param [String] name
+ # Output only. Resource name.
+ # @param [Google::Apis::SasportalV1alpha1::SasPortalDeployment] sas_portal_deployment_object
+ # @param [String] update_mask
+ # Fields to be updated.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalDeployment] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::SasportalV1alpha1::SasPortalDeployment]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def patch_customer_deployment(name, sas_portal_deployment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:patch, 'v1alpha1/{+name}', options)
+ command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation
+ command.request_object = sas_portal_deployment_object
+ command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation
+ command.response_class = Google::Apis::SasportalV1alpha1::SasPortalDeployment
+ command.params['name'] = name unless name.nil?
+ command.query['updateMask'] = update_mask unless update_mask.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
# Creates a device under a node or customer. Returned devices are unordered.
# @param [String] parent
# Required. The name of the parent resource.
@@ -688,6 +856,78 @@ module Google
execute_or_queue_command(command, &block)
end
+ # Creates a new deployment.
+ # @param [String] parent
+ # Required. The parent resource name where the deployment is to be created.
+ # @param [Google::Apis::SasportalV1alpha1::SasPortalDeployment] sas_portal_deployment_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalDeployment] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::SasportalV1alpha1::SasPortalDeployment]
+ #
+ # @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 create_customer_node_deployment(parent, sas_portal_deployment_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1alpha1/{+parent}/deployments', options)
+ command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation
+ command.request_object = sas_portal_deployment_object
+ command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation
+ command.response_class = Google::Apis::SasportalV1alpha1::SasPortalDeployment
+ command.params['parent'] = parent unless parent.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Lists deployments.
+ # @param [String] parent
+ # Required. The parent resource name, for example, "nodes/1",
+ # customer/1/nodes/2.
+ # @param [Fixnum] page_size
+ # The maximum number of deployments to return in the response.
+ # @param [String] page_token
+ # A pagination token returned from a previous call to ListDeployments
+ # method that
+ # indicates where this listing should continue from.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse]
+ #
+ # @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_customer_node_deployments(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1alpha1/{+parent}/deployments', options)
+ command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse::Representation
+ command.response_class = Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse
+ command.params['parent'] = parent unless parent.nil?
+ command.query['pageSize'] = page_size unless page_size.nil?
+ command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
# Creates a new node.
# @param [String] parent
# Required. The parent resource name where the node is to be created.
@@ -758,6 +998,36 @@ module Google
execute_or_queue_command(command, &block)
end
+ # Returns a requested deployment.
+ # @param [String] name
+ # Required. The name of the deployment.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalDeployment] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::SasportalV1alpha1::SasPortalDeployment]
+ #
+ # @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_deployment(name, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1alpha1/{+name}', options)
+ command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation
+ command.response_class = Google::Apis::SasportalV1alpha1::SasPortalDeployment
+ command.params['name'] = name unless name.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
# Generates a secret to be used with the ValidateInstaller method
# @param [Google::Apis::SasportalV1alpha1::SasPortalGenerateSecretRequest] sas_portal_generate_secret_request_object
# @param [String] fields
@@ -848,6 +1118,141 @@ module Google
execute_or_queue_command(command, &block)
end
+ # Deletes a deployment.
+ # @param [String] name
+ # Required. The name of the deployment.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalEmpty] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::SasportalV1alpha1::SasPortalEmpty]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def delete_node_deployment(name, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
+ command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalEmpty::Representation
+ command.response_class = Google::Apis::SasportalV1alpha1::SasPortalEmpty
+ command.params['name'] = name unless name.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Returns a requested deployment.
+ # @param [String] name
+ # Required. The name of the deployment.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalDeployment] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::SasportalV1alpha1::SasPortalDeployment]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def get_node_deployment(name, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1alpha1/{+name}', options)
+ command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation
+ command.response_class = Google::Apis::SasportalV1alpha1::SasPortalDeployment
+ command.params['name'] = name unless name.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Lists deployments.
+ # @param [String] parent
+ # Required. The parent resource name, for example, "nodes/1",
+ # customer/1/nodes/2.
+ # @param [Fixnum] page_size
+ # The maximum number of deployments to return in the response.
+ # @param [String] page_token
+ # A pagination token returned from a previous call to ListDeployments
+ # method that
+ # indicates where this listing should continue from.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def list_node_deployments(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1alpha1/{+parent}/deployments', options)
+ command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse::Representation
+ command.response_class = Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse
+ command.params['parent'] = parent unless parent.nil?
+ command.query['pageSize'] = page_size unless page_size.nil?
+ command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Updates an existing deployment.
+ # @param [String] name
+ # Output only. Resource name.
+ # @param [Google::Apis::SasportalV1alpha1::SasPortalDeployment] sas_portal_deployment_object
+ # @param [String] update_mask
+ # Fields to be updated.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalDeployment] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::SasportalV1alpha1::SasPortalDeployment]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def patch_node_deployment(name, sas_portal_deployment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:patch, 'v1alpha1/{+name}', options)
+ command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation
+ command.request_object = sas_portal_deployment_object
+ command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation
+ command.response_class = Google::Apis::SasportalV1alpha1::SasPortalDeployment
+ command.params['name'] = name unless name.nil?
+ command.query['updateMask'] = update_mask unless update_mask.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
# Creates a device under a node or customer. Returned devices are unordered.
# @param [String] parent
# Required. The name of the parent resource.
@@ -1387,6 +1792,78 @@ module Google
execute_or_queue_command(command, &block)
end
+ # Creates a new deployment.
+ # @param [String] parent
+ # Required. The parent resource name where the deployment is to be created.
+ # @param [Google::Apis::SasportalV1alpha1::SasPortalDeployment] sas_portal_deployment_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalDeployment] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::SasportalV1alpha1::SasPortalDeployment]
+ #
+ # @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 create_node_node_deployment(parent, sas_portal_deployment_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1alpha1/{+parent}/deployments', options)
+ command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation
+ command.request_object = sas_portal_deployment_object
+ command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation
+ command.response_class = Google::Apis::SasportalV1alpha1::SasPortalDeployment
+ command.params['parent'] = parent unless parent.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Lists deployments.
+ # @param [String] parent
+ # Required. The parent resource name, for example, "nodes/1",
+ # customer/1/nodes/2.
+ # @param [Fixnum] page_size
+ # The maximum number of deployments to return in the response.
+ # @param [String] page_token
+ # A pagination token returned from a previous call to ListDeployments
+ # method that
+ # indicates where this listing should continue from.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def list_node_node_deployments(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1alpha1/{+parent}/deployments', options)
+ command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse::Representation
+ command.response_class = Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse
+ command.params['parent'] = parent unless parent.nil?
+ command.query['pageSize'] = page_size unless page_size.nil?
+ command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
# Creates a device under a node or customer. Returned devices are unordered.
# @param [String] parent
# Required. The name of the parent resource.
diff --git a/generated/google/apis/spanner_v1.rb b/generated/google/apis/spanner_v1.rb
index 863fefb83..efcc1418e 100644
--- a/generated/google/apis/spanner_v1.rb
+++ b/generated/google/apis/spanner_v1.rb
@@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/spanner/
module SpannerV1
VERSION = 'V1'
- REVISION = '20200616'
+ REVISION = '20200623'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/spanner_v1/service.rb b/generated/google/apis/spanner_v1/service.rb
index 1e61b4717..ef13b3635 100644
--- a/generated/google/apis/spanner_v1/service.rb
+++ b/generated/google/apis/spanner_v1/service.rb
@@ -1817,6 +1817,11 @@ module Google
# transactions. However, it can also happen for a variety of other
# reasons. If `Commit` returns `ABORTED`, the caller should re-attempt
# the transaction from the beginning, re-using the same session.
+ # On very rare occasions, `Commit` might return `UNKNOWN`. This can happen,
+ # for example, if the client job experiences a 1+ hour networking failure.
+ # At that point, Cloud Spanner has lost track of the transaction outcome and
+ # we recommend that you perform another read from the database to see the
+ # state of things as they are now.
# @param [String] session
# Required. The session in which the transaction to be committed is running.
# @param [Google::Apis::SpannerV1::CommitRequest] commit_request_object