From 02eb3cf61ca144828ab85f988c058ea9d632f5c4 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Thu, 21 Feb 2019 00:37:03 +0000 Subject: [PATCH] Autogenerated update (2019-02-21) Update: - bigtableadmin_v2 - cloudidentity_v1 - cloudidentity_v1beta1 - compute_v1 - container_v1beta1 - dialogflow_v2beta1 - dlp_v2 - dns_v1 - dns_v1beta2 - dns_v2beta1 - ml_v1 - storagetransfer_v1 --- api_names_out.yaml | 4 + generated/google/apis/bigtableadmin_v2.rb | 2 +- .../google/apis/bigtableadmin_v2/classes.rb | 6 +- generated/google/apis/cloudidentity_v1.rb | 2 +- .../google/apis/cloudidentity_v1/service.rb | 21 +- .../google/apis/cloudidentity_v1beta1.rb | 2 +- .../apis/cloudidentity_v1beta1/service.rb | 14 +- generated/google/apis/compute_v1.rb | 2 +- generated/google/apis/compute_v1/classes.rb | 82 ++-- .../google/apis/compute_v1/representations.rb | 5 +- generated/google/apis/compute_v1/service.rb | 2 +- generated/google/apis/container_v1beta1.rb | 2 +- .../google/apis/container_v1beta1/classes.rb | 7 + .../apis/container_v1beta1/representations.rb | 2 + .../google/apis/container_v1beta1/service.rb | 8 +- generated/google/apis/dialogflow_v2beta1.rb | 2 +- .../google/apis/dialogflow_v2beta1/classes.rb | 68 ++-- generated/google/apis/dlp_v2.rb | 2 +- generated/google/apis/dlp_v2/classes.rb | 6 +- generated/google/apis/dns_v1.rb | 2 +- generated/google/apis/dns_v1/classes.rb | 277 +++++-------- generated/google/apis/dns_v1/service.rb | 125 +----- generated/google/apis/dns_v1beta2.rb | 2 +- generated/google/apis/dns_v1beta2/classes.rb | 365 ++++++------------ generated/google/apis/dns_v1beta2/service.rb | 162 +------- generated/google/apis/dns_v2beta1.rb | 2 +- generated/google/apis/dns_v2beta1/classes.rb | 277 +++++-------- generated/google/apis/dns_v2beta1/service.rb | 125 +----- generated/google/apis/ml_v1.rb | 2 +- generated/google/apis/ml_v1/classes.rb | 74 +++- generated/google/apis/storagetransfer_v1.rb | 4 +- .../google/apis/storagetransfer_v1/service.rb | 2 +- 32 files changed, 557 insertions(+), 1101 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 198d1892d..0dd7a361a 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -34016,6 +34016,7 @@ "/compute:v1/ForwardingRule": forwarding_rule "/compute:v1/ForwardingRule/IPAddress": ip_address "/compute:v1/ForwardingRule/IPProtocol": ip_protocol +"/compute:v1/ForwardingRule/allPorts": all_ports "/compute:v1/ForwardingRule/backendService": backend_service "/compute:v1/ForwardingRule/creationTimestamp": creation_timestamp "/compute:v1/ForwardingRule/description": description @@ -34943,6 +34944,7 @@ "/compute:v1/NetworkList/warning/message": message "/compute:v1/NetworkPeering": network_peering "/compute:v1/NetworkPeering/autoCreateRoutes": auto_create_routes +"/compute:v1/NetworkPeering/exchangeSubnetRoutes": exchange_subnet_routes "/compute:v1/NetworkPeering/name": name "/compute:v1/NetworkPeering/network": network "/compute:v1/NetworkPeering/state": state @@ -34952,6 +34954,7 @@ "/compute:v1/NetworksAddPeeringRequest": networks_add_peering_request "/compute:v1/NetworksAddPeeringRequest/autoCreateRoutes": auto_create_routes "/compute:v1/NetworksAddPeeringRequest/name": name +"/compute:v1/NetworksAddPeeringRequest/networkPeering": network_peering "/compute:v1/NetworksAddPeeringRequest/peerNetwork": peer_network "/compute:v1/NetworksRemovePeeringRequest": networks_remove_peering_request "/compute:v1/NetworksRemovePeeringRequest/name": name @@ -39016,6 +39019,7 @@ "/container:v1beta1/ClusterUpdate/desiredAddonsConfig": desired_addons_config "/container:v1beta1/ClusterUpdate/desiredBinaryAuthorization": desired_binary_authorization "/container:v1beta1/ClusterUpdate/desiredClusterAutoscaling": desired_cluster_autoscaling +"/container:v1beta1/ClusterUpdate/desiredDatabaseEncryption": desired_database_encryption "/container:v1beta1/ClusterUpdate/desiredImageType": desired_image_type "/container:v1beta1/ClusterUpdate/desiredLocations": desired_locations "/container:v1beta1/ClusterUpdate/desiredLocations/desired_location": desired_location diff --git a/generated/google/apis/bigtableadmin_v2.rb b/generated/google/apis/bigtableadmin_v2.rb index 6b1628545..f32a3d5f2 100644 --- a/generated/google/apis/bigtableadmin_v2.rb +++ b/generated/google/apis/bigtableadmin_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/bigtable/ module BigtableadminV2 VERSION = 'V2' - REVISION = '20190115' + REVISION = '20190207' # Administer your Cloud Bigtable tables and clusters AUTH_BIGTABLE_ADMIN = 'https://www.googleapis.com/auth/bigtable.admin' diff --git a/generated/google/apis/bigtableadmin_v2/classes.rb b/generated/google/apis/bigtableadmin_v2/classes.rb index c88f3aa82..272604c81 100644 --- a/generated/google/apis/bigtableadmin_v2/classes.rb +++ b/generated/google/apis/bigtableadmin_v2/classes.rb @@ -345,7 +345,7 @@ module Google class ClusterState include Google::Apis::Core::Hashable - # (`OutputOnly`) + # Output only. # The state of replication for the table in this cluster. # Corresponds to the JSON property `replicationState` # @return [String] @@ -1484,7 +1484,7 @@ module Google class Table include Google::Apis::Core::Hashable - # (`OutputOnly`) + # Output only. # Map from cluster ID to per-cluster table state. # If it could not be determined whether or not the table has data in a # particular cluster (for example, if its zone is unavailable), then @@ -1510,7 +1510,7 @@ module Google # @return [String] attr_accessor :granularity - # (`OutputOnly`) + # Output only. # The unique name of the table. Values are of the form # `projects//instances//tables/_a-zA-Z0-9*`. # Views: `NAME_ONLY`, `SCHEMA_VIEW`, `REPLICATION_VIEW`, `FULL` diff --git a/generated/google/apis/cloudidentity_v1.rb b/generated/google/apis/cloudidentity_v1.rb index 973ccb151..d2dfb8c36 100644 --- a/generated/google/apis/cloudidentity_v1.rb +++ b/generated/google/apis/cloudidentity_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/identity/ module CloudidentityV1 VERSION = 'V1' - REVISION = '20190122' + REVISION = '20190219' end end end diff --git a/generated/google/apis/cloudidentity_v1/service.rb b/generated/google/apis/cloudidentity_v1/service.rb index 74c3cddaf..ce3c6bac7 100644 --- a/generated/google/apis/cloudidentity_v1/service.rb +++ b/generated/google/apis/cloudidentity_v1/service.rb @@ -143,11 +143,8 @@ module Google # List groups within a customer or a domain. # @param [Fixnum] page_size - # Maximum number of groups to return. - # View | Default | Maximum - # ----- | ------- | ------- - # BASIC | 200 | 1000 - # FULL | 50 | 500 + # The default page size is 200 (max 1000) for the BASIC view, and 50 + # (max 500) for the FULL view. # @param [String] page_token # The next_page_token value returned from a previous list request, if any. # @param [String] parent @@ -266,11 +263,8 @@ module Google # Searches for Groups. # @param [Fixnum] page_size - # Maximum number of groups to return. - # View | Default | Maximum - # ----- | ------- | ------- - # BASIC | 200 | 1000 - # FULL | 50 | 500 + # The default page size is 200 (max 1000) for the BASIC view, and 50 + # (max 500) for the FULL view. # @param [String] page_token # The next_page_token value returned from a previous search request, if any. # @param [String] query @@ -420,11 +414,8 @@ module Google # Format: `groups/`group_id``, where `group_id` is the unique ID assigned to # the Group. # @param [Fixnum] page_size - # Maximum number of Memberships to return. - # View | Default | Maximum - # -----|---------|-------- - # BASIC| 200 | 1000 - # FULL | 50 | 500 + # The default page size is 200 (max 1000) for the BASIC view, and 50 + # (max 500) for the FULL view. # @param [String] page_token # The next_page_token value returned from a previous list request, if any. # @param [String] view diff --git a/generated/google/apis/cloudidentity_v1beta1.rb b/generated/google/apis/cloudidentity_v1beta1.rb index 3589b09f8..e535586b6 100644 --- a/generated/google/apis/cloudidentity_v1beta1.rb +++ b/generated/google/apis/cloudidentity_v1beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/identity/ module CloudidentityV1beta1 VERSION = 'V1beta1' - REVISION = '20181215' + REVISION = '20190219' end end end diff --git a/generated/google/apis/cloudidentity_v1beta1/service.rb b/generated/google/apis/cloudidentity_v1beta1/service.rb index 0da8e17c6..c0c9be76f 100644 --- a/generated/google/apis/cloudidentity_v1beta1/service.rb +++ b/generated/google/apis/cloudidentity_v1beta1/service.rb @@ -222,11 +222,8 @@ module Google # Searches for Groups. # @param [Fixnum] page_size - # The max number of groups to return. - # GroupView | Default | Maximum - # --------- | ------- | ------- - # BASIC | 200 | 1000 - # FULL | 50 | 500 + # The default page size is 200 (max 1000) for the BASIC view, and 50 + # (max 500) for the FULL view. # @param [String] page_token # The next_page_token value returned from a previous search request, if any. # @param [String] query @@ -380,11 +377,8 @@ module Google # Format: `groups/`group_id``, where `group_id` is the unique id assigned to # the Group. # @param [Fixnum] page_size - # Maximum number of Memberships to return. - # MembershipView | Default | Maximum - # -------------- | ------- | ------- - # BASIC | 200 | 1000 - # FULL | 50 | 500 + # The default page size is 200 (max 1000) for the BASIC view, and 50 + # (max 500) for the FULL view. # @param [String] page_token # The next_page_token value returned from a previous list request, if any # @param [String] view diff --git a/generated/google/apis/compute_v1.rb b/generated/google/apis/compute_v1.rb index f3a5fefc6..1506058a5 100644 --- a/generated/google/apis/compute_v1.rb +++ b/generated/google/apis/compute_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/compute/docs/reference/latest/ module ComputeV1 VERSION = 'V1' - REVISION = '20190107' + REVISION = '20190201' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/compute_v1/classes.rb b/generated/google/apis/compute_v1/classes.rb index 10cb386ff..44282555f 100644 --- a/generated/google/apis/compute_v1/classes.rb +++ b/generated/google/apis/compute_v1/classes.rb @@ -3473,12 +3473,7 @@ module Google # @return [String] attr_accessor :sys - # DEPRECATED. Use 'values' instead. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - # The objects of the condition. This is mutually exclusive with 'value'. + # The objects of the condition. # Corresponds to the JSON property `values` # @return [Array] attr_accessor :values @@ -3493,7 +3488,6 @@ module Google @op = args[:op] if args.key?(:op) @svc = args[:svc] if args.key?(:svc) @sys = args[:sys] if args.key?(:sys) - @value = args[:value] if args.key?(:value) @values = args[:values] if args.key?(:values) end end @@ -5281,6 +5275,17 @@ module Google # @return [String] attr_accessor :ip_protocol + # This field is used along with the backend_service field for internal load + # balancing or with the target field for internal TargetInstance. This field + # cannot be used with port or portRange fields. + # When the load balancing scheme is INTERNAL and protocol is TCP/UDP, specify + # this field to allow packets addressed to any ports will be forwarded to the + # backends configured with this forwarding rule. + # Corresponds to the JSON property `allPorts` + # @return [Boolean] + attr_accessor :all_ports + alias_method :all_ports?, :all_ports + # This field is only used for INTERNAL load balancing. # For internal load balancing, this field identifies the BackendService resource # to receive the matched traffic. @@ -5430,7 +5435,7 @@ module Google # forwarding rules, this target must live in the same region as the forwarding # rule. For global forwarding rules, this target must be a global load balancing # resource. The forwarded traffic must be of a type appropriate to the target - # object. For INTERNAL_SELF_MANAGED" load balancing, only HTTP and HTTPS targets + # object. For INTERNAL_SELF_MANAGED load balancing, only HTTP and HTTPS targets # are valid. # Corresponds to the JSON property `target` # @return [String] @@ -5444,6 +5449,7 @@ module Google def update!(**args) @ip_address = args[:ip_address] if args.key?(:ip_address) @ip_protocol = args[:ip_protocol] if args.key?(:ip_protocol) + @all_ports = args[:all_ports] if args.key?(:all_ports) @backend_service = args[:backend_service] if args.key?(:backend_service) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @description = args[:description] if args.key?(:description) @@ -10734,15 +10740,21 @@ module Google class InterconnectDiagnosticsLinkOpticalPower include Google::Apis::Core::Hashable - # + # The status of the current value when compared to the warning and alarm levels + # for the receiving or transmitting transceiver. Possible states include: + # - OK: The value has not crossed a warning threshold. + # - LOW_WARNING: The value has crossed below the low warning threshold. + # - HIGH_WARNING: The value has crossed above the high warning threshold. + # - LOW_ALARM: The value has crossed below the low alarm threshold. + # - HIGH_ALARM: The value has crossed above the high alarm threshold. # Corresponds to the JSON property `state` # @return [String] attr_accessor :state - # Value of the current optical power, read in dBm. Take a known good optical - # value, give it a 10% margin and trigger warnings relative to that value. In - # general, a -7dBm warning and a -11dBm alarm are good optical value estimates - # for most links. + # Value of the current receiving or transmitting optical power, read in dBm. + # Take a known good optical value, give it a 10% margin and trigger warnings + # relative to that value. In general, a -7dBm warning and a -11dBm alarm are + # good optical value estimates for most links. # Corresponds to the JSON property `value` # @return [Float] attr_accessor :value @@ -10783,12 +10795,14 @@ module Google # @return [Google::Apis::ComputeV1::InterconnectDiagnosticsLinkLacpStatus] attr_accessor :lacp_status - # + # An InterconnectDiagnostics.LinkOpticalPower object, describing the current + # value and status of the received light level. # Corresponds to the JSON property `receivingOpticalPower` # @return [Google::Apis::ComputeV1::InterconnectDiagnosticsLinkOpticalPower] attr_accessor :receiving_optical_power - # + # An InterconnectDiagnostics.LinkOpticalPower object, describing the current + # value and status of the transmitted light level. # Corresponds to the JSON property `transmittingOpticalPower` # @return [Google::Apis::ComputeV1::InterconnectDiagnosticsLinkOpticalPower] attr_accessor :transmitting_optical_power @@ -12427,9 +12441,9 @@ module Google class Network include Google::Apis::Core::Hashable - # The range of internal addresses that are legal on this network. This range is - # a CIDR specification, for example: 192.168.0.0/16. Provided by the client when - # the network is created. + # Deprecated in favor of subnet mode networks. The range of internal addresses + # that are legal on this network. This range is a CIDR specification, for + # example: 192.168.0.0/16. Provided by the client when the network is created. # Corresponds to the JSON property `IPv4Range` # @return [String] attr_accessor :i_pv4_range @@ -12740,15 +12754,26 @@ module Google class NetworkPeering include Google::Apis::Core::Hashable - # Indicates whether full mesh connectivity is created and managed automatically. - # When it is set to true, Google Compute Engine will automatically create and - # manage the routes between two networks when the state is ACTIVE. Otherwise, - # user needs to create routes manually to route packets to peer network. + # This field will be deprecated soon. Prefer using exchange_subnet_routes + # instead. Indicates whether full mesh connectivity is created and managed + # automatically. When it is set to true, Google Compute Engine will + # automatically create and manage the routes between two networks when the state + # is ACTIVE. Otherwise, user needs to create routes manually to route packets to + # peer network. # Corresponds to the JSON property `autoCreateRoutes` # @return [Boolean] attr_accessor :auto_create_routes alias_method :auto_create_routes?, :auto_create_routes + # Whether full mesh connectivity is created and managed automatically. When it + # is set to true, Google Compute Engine will automatically create and manage the + # routes between two networks when the peering state is ACTIVE. Otherwise, user + # needs to create routes manually to route packets to peer network. + # Corresponds to the JSON property `exchangeSubnetRoutes` + # @return [Boolean] + attr_accessor :exchange_subnet_routes + alias_method :exchange_subnet_routes?, :exchange_subnet_routes + # Name of this peering. Provided by the client when the peering is created. The # name must comply with RFC1035. Specifically, the name must be 1-63 characters # long and match regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the @@ -12784,6 +12809,7 @@ module Google # Update properties of this object def update!(**args) @auto_create_routes = args[:auto_create_routes] if args.key?(:auto_create_routes) + @exchange_subnet_routes = args[:exchange_subnet_routes] if args.key?(:exchange_subnet_routes) @name = args[:name] if args.key?(:name) @network = args[:network] if args.key?(:network) @state = args[:state] if args.key?(:state) @@ -12819,7 +12845,9 @@ module Google class NetworksAddPeeringRequest include Google::Apis::Core::Hashable - # Whether Google Compute Engine manages the routes automatically. + # This field will be deprecated soon. Prefer using exchange_subnet_routes in + # network_peering instead. Whether Google Compute Engine manages the routes + # automatically. # Corresponds to the JSON property `autoCreateRoutes` # @return [Boolean] attr_accessor :auto_create_routes @@ -12830,6 +12858,13 @@ module Google # @return [String] attr_accessor :name + # A network peering attached to a network resource. The message includes the + # peering name, peer network, peering state, and a flag indicating whether + # Google Compute Engine should automatically create routes for the peering. + # Corresponds to the JSON property `networkPeering` + # @return [Google::Apis::ComputeV1::NetworkPeering] + attr_accessor :network_peering + # URL of the peer network. It can be either full URL or partial URL. The peer # network may belong to a different project. If the partial URL does not contain # project, it is assumed that the peer network is in the same project as the @@ -12846,6 +12881,7 @@ module Google def update!(**args) @auto_create_routes = args[:auto_create_routes] if args.key?(:auto_create_routes) @name = args[:name] if args.key?(:name) + @network_peering = args[:network_peering] if args.key?(:network_peering) @peer_network = args[:peer_network] if args.key?(:peer_network) end end diff --git a/generated/google/apis/compute_v1/representations.rb b/generated/google/apis/compute_v1/representations.rb index 438be4826..198323b7f 100644 --- a/generated/google/apis/compute_v1/representations.rb +++ b/generated/google/apis/compute_v1/representations.rb @@ -4177,7 +4177,6 @@ module Google property :op, as: 'op' property :svc, as: 'svc' property :sys, as: 'sys' - property :value, as: 'value' collection :values, as: 'values' end end @@ -4606,6 +4605,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :ip_address, as: 'IPAddress' property :ip_protocol, as: 'IPProtocol' + property :all_ports, as: 'allPorts' property :backend_service, as: 'backendService' property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' @@ -6462,6 +6462,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :auto_create_routes, as: 'autoCreateRoutes' + property :exchange_subnet_routes, as: 'exchangeSubnetRoutes' property :name, as: 'name' property :network, as: 'network' property :state, as: 'state' @@ -6481,6 +6482,8 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :auto_create_routes, as: 'autoCreateRoutes' property :name, as: 'name' + property :network_peering, as: 'networkPeering', class: Google::Apis::ComputeV1::NetworkPeering, decorator: Google::Apis::ComputeV1::NetworkPeering::Representation + property :peer_network, as: 'peerNetwork' end end diff --git a/generated/google/apis/compute_v1/service.rb b/generated/google/apis/compute_v1/service.rb index 1021066f4..510dc8d5c 100644 --- a/generated/google/apis/compute_v1/service.rb +++ b/generated/google/apis/compute_v1/service.rb @@ -7232,7 +7232,7 @@ module Google # @param [Google::Apis::ComputeV1::AttachedDisk] attached_disk_object # @param [Boolean] force_attach # Whether to force attach the disk even if it's currently attached to another - # instance. This is only available for regional disks. + # instance. # @param [String] request_id # An optional request ID to identify requests. Specify a unique request ID so # that if you must retry your request, the server will know to ignore the diff --git a/generated/google/apis/container_v1beta1.rb b/generated/google/apis/container_v1beta1.rb index 455da596d..c8d1c55a8 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 = '20190125' + REVISION = '20190206' # 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 1fdfbdbb1..e636204eb 100644 --- a/generated/google/apis/container_v1beta1/classes.rb +++ b/generated/google/apis/container_v1beta1/classes.rb @@ -782,6 +782,11 @@ module Google # @return [Google::Apis::ContainerV1beta1::ClusterAutoscaling] attr_accessor :desired_cluster_autoscaling + # Configuration of etcd encryption. + # Corresponds to the JSON property `desiredDatabaseEncryption` + # @return [Google::Apis::ContainerV1beta1::DatabaseEncryption] + attr_accessor :desired_database_encryption + # The desired image type for the node pool. # NOTE: Set the "desired_node_pool" field as well. # Corresponds to the JSON property `desiredImageType` @@ -892,6 +897,7 @@ module Google @desired_addons_config = args[:desired_addons_config] if args.key?(:desired_addons_config) @desired_binary_authorization = args[:desired_binary_authorization] if args.key?(:desired_binary_authorization) @desired_cluster_autoscaling = args[:desired_cluster_autoscaling] if args.key?(:desired_cluster_autoscaling) + @desired_database_encryption = args[:desired_database_encryption] if args.key?(:desired_database_encryption) @desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type) @desired_locations = args[:desired_locations] if args.key?(:desired_locations) @desired_logging_service = args[:desired_logging_service] if args.key?(:desired_logging_service) @@ -2037,6 +2043,7 @@ module Google # "cluster-name" # "cluster-uid" # "configure-sh" + # "containerd-configure-sh" # "enable-oslogin" # "gci-ensure-gke-docker" # "gci-update-strategy" diff --git a/generated/google/apis/container_v1beta1/representations.rb b/generated/google/apis/container_v1beta1/representations.rb index 1af8d60ab..fd87fa804 100644 --- a/generated/google/apis/container_v1beta1/representations.rb +++ b/generated/google/apis/container_v1beta1/representations.rb @@ -667,6 +667,8 @@ module Google property :desired_cluster_autoscaling, as: 'desiredClusterAutoscaling', class: Google::Apis::ContainerV1beta1::ClusterAutoscaling, decorator: Google::Apis::ContainerV1beta1::ClusterAutoscaling::Representation + property :desired_database_encryption, as: 'desiredDatabaseEncryption', class: Google::Apis::ContainerV1beta1::DatabaseEncryption, decorator: Google::Apis::ContainerV1beta1::DatabaseEncryption::Representation + property :desired_image_type, as: 'desiredImageType' collection :desired_locations, as: 'desiredLocations' property :desired_logging_service, as: 'desiredLoggingService' diff --git a/generated/google/apis/container_v1beta1/service.rb b/generated/google/apis/container_v1beta1/service.rb index 0aa1120d1..7562f27b0 100644 --- a/generated/google/apis/container_v1beta1/service.rb +++ b/generated/google/apis/container_v1beta1/service.rb @@ -97,8 +97,8 @@ module Google # Returns configuration info about the Kubernetes Engine service. # @param [String] name - # The name (project and location) of the server config to get - # Specified in the format 'projects/*/locations/*'. + # The name (project and location) of the server config to get, + # specified in the format 'projects/*/locations/*'. # @param [String] project_id # Deprecated. The Google Developers Console [project ID or project # number](https://support.google.com/cloud/answer/6158840). @@ -1358,8 +1358,8 @@ module Google # [zone](/compute/docs/zones#available) to return operations for. # This field has been deprecated and replaced by the name field. # @param [String] name - # The name (project and location) of the server config to get - # Specified in the format 'projects/*/locations/*'. + # The name (project and location) of the server config to get, + # specified in the format 'projects/*/locations/*'. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user diff --git a/generated/google/apis/dialogflow_v2beta1.rb b/generated/google/apis/dialogflow_v2beta1.rb index e955f294a..32ebf0269 100644 --- a/generated/google/apis/dialogflow_v2beta1.rb +++ b/generated/google/apis/dialogflow_v2beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/dialogflow-enterprise/ module DialogflowV2beta1 VERSION = 'V2beta1' - REVISION = '20190209' + REVISION = '20190219' # 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/dialogflow_v2beta1/classes.rb b/generated/google/apis/dialogflow_v2beta1/classes.rb index 1ed17cff1..757c026ec 100644 --- a/generated/google/apis/dialogflow_v2beta1/classes.rb +++ b/generated/google/apis/dialogflow_v2beta1/classes.rb @@ -1112,9 +1112,20 @@ module Google # @return [String] attr_accessor :name - # Required. The collection of training phrase parts (can be annotated). - # Fields: `entity_type`, `alias` and `user_defined` should be populated - # only for the annotated parts of the training phrase. + # Required. The ordered list of training phrase parts. + # The parts are concatenated in order to form the training phrase. + # Note: The API does not automatically annotate training phrases like the + # Dialogflow Console does. + # Note: Do not forget to include whitespace at part boundaries, + # so the training phrase is well formatted when the parts are concatenated. + # If the training phrase does not need to be annotated with parameters, + # you just need a single part with only the Part.text field set. + # If you want to annotate the training phrase, you must create multiple + # parts, where the fields of each part are populated in one of two ways: + # - `Part.text` is set to a part of the phrase that has no parameters. + # - `Part.text` is set to a part of the phrase that you want to annotate, + # and the `entity_type`, `alias`, and `user_defined` fields are all + # set. # Corresponds to the JSON property `parts` # @return [Array] attr_accessor :parts @@ -1150,26 +1161,26 @@ module Google # Optional. The parameter name for the value extracted from the # annotated part of the example. + # This field is required for annotated parts of the training phrase. # Corresponds to the JSON property `alias` # @return [String] attr_accessor :alias - # Optional. The entity type name prefixed with `@`. This field is - # required for the annotated part of the text and applies only to - # examples. + # Optional. The entity type name prefixed with `@`. + # This field is required for annotated parts of the training phrase. # Corresponds to the JSON property `entityType` # @return [String] attr_accessor :entity_type - # Required. The text corresponding to the example, - # if there are no annotations. For - # annotated examples, it is the text for one of the example's parts. + # Required. The text for this part. # Corresponds to the JSON property `text` # @return [String] attr_accessor :text - # Optional. Indicates whether the text was manually annotated by the - # developer. + # Optional. Indicates whether the text was manually annotated. + # This field is set to true when the Dialogflow Console is used to + # manually annotate the part. When creating an annotated part with the + # API, you must set this to true. # Corresponds to the JSON property `userDefined` # @return [Boolean] attr_accessor :user_defined @@ -1497,7 +1508,7 @@ module Google # Optional. To filter out false positive results and still get variety in # matched natural language inputs for your agent, you can tune the machine # learning classification threshold. If the returned score value is less than - # the threshold value, then a fallback intent is be triggered or, if there + # the threshold value, then a fallback intent will be triggered or, if there # are no fallback intents defined, no intent will be triggered. The score # values range from 0.0 (completely uncertain) to 1.0 (completely certain). # If set to 0.0, the default of 0.3 is used. @@ -3409,9 +3420,20 @@ module Google # @return [String] attr_accessor :name - # Required. The collection of training phrase parts (can be annotated). - # Fields: `entity_type`, `alias` and `user_defined` should be populated - # only for the annotated parts of the training phrase. + # Required. The ordered list of training phrase parts. + # The parts are concatenated in order to form the training phrase. + # Note: The API does not automatically annotate training phrases like the + # Dialogflow Console does. + # Note: Do not forget to include whitespace at part boundaries, + # so the training phrase is well formatted when the parts are concatenated. + # If the training phrase does not need to be annotated with parameters, + # you just need a single part with only the Part.text field set. + # If you want to annotate the training phrase, you must create multiple + # parts, where the fields of each part are populated in one of two ways: + # - `Part.text` is set to a part of the phrase that has no parameters. + # - `Part.text` is set to a part of the phrase that you want to annotate, + # and the `entity_type`, `alias`, and `user_defined` fields are all + # set. # Corresponds to the JSON property `parts` # @return [Array] attr_accessor :parts @@ -3447,26 +3469,26 @@ module Google # Optional. The parameter name for the value extracted from the # annotated part of the example. + # This field is required for annotated parts of the training phrase. # Corresponds to the JSON property `alias` # @return [String] attr_accessor :alias - # Optional. The entity type name prefixed with `@`. This field is - # required for the annotated part of the text and applies only to - # examples. + # Optional. The entity type name prefixed with `@`. + # This field is required for annotated parts of the training phrase. # Corresponds to the JSON property `entityType` # @return [String] attr_accessor :entity_type - # Required. The text corresponding to the example, - # if there are no annotations. For - # annotated examples, it is the text for one of the example's parts. + # Required. The text for this part. # Corresponds to the JSON property `text` # @return [String] attr_accessor :text - # Optional. Indicates whether the text was manually annotated by the - # developer. + # Optional. Indicates whether the text was manually annotated. + # This field is set to true when the Dialogflow Console is used to + # manually annotate the part. When creating an annotated part with the + # API, you must set this to true. # Corresponds to the JSON property `userDefined` # @return [Boolean] attr_accessor :user_defined diff --git a/generated/google/apis/dlp_v2.rb b/generated/google/apis/dlp_v2.rb index 4059a93e3..9653cd7e2 100644 --- a/generated/google/apis/dlp_v2.rb +++ b/generated/google/apis/dlp_v2.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/dlp/docs/ module DlpV2 VERSION = 'V2' - REVISION = '20190212' + REVISION = '20190219' # 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/dlp_v2/classes.rb b/generated/google/apis/dlp_v2/classes.rb index 57483cba8..91ae10103 100644 --- a/generated/google/apis/dlp_v2/classes.rb +++ b/generated/google/apis/dlp_v2/classes.rb @@ -864,6 +864,8 @@ module Google # The field type of `value` and `field` do not need to match to be # considered equal, but not all comparisons are possible. + # EQUAL_TO and NOT_EQUAL_TO attempt to compare even with incompatible types, + # but all other comparisons are invalid with incompatible types. # A `value` of type: # - `string` can be compared against all other types # - `boolean` can only be compared against other booleans @@ -2409,14 +2411,14 @@ module Google # Max number of findings that will be returned for each item scanned. # When set within `InspectDataSourceRequest`, - # the maximum returned is 1000 regardless if this is set higher. + # the maximum returned is 2000 regardless if this is set higher. # When set within `InspectContentRequest`, this field is ignored. # Corresponds to the JSON property `maxFindingsPerItem` # @return [Fixnum] attr_accessor :max_findings_per_item # Max number of findings that will be returned per request/job. - # When set within `InspectContentRequest`, the maximum returned is 1000 + # When set within `InspectContentRequest`, the maximum returned is 2000 # regardless if this is set higher. # Corresponds to the JSON property `maxFindingsPerRequest` # @return [Fixnum] diff --git a/generated/google/apis/dns_v1.rb b/generated/google/apis/dns_v1.rb index 63b6dd839..55627003e 100644 --- a/generated/google/apis/dns_v1.rb +++ b/generated/google/apis/dns_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/cloud-dns module DnsV1 VERSION = 'V1' - REVISION = '20181212' + REVISION = '20190213' # 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_v1/classes.rb b/generated/google/apis/dns_v1/classes.rb index 9e0acb690..e81a3c194 100644 --- a/generated/google/apis/dns_v1/classes.rb +++ b/generated/google/apis/dns_v1/classes.rb @@ -22,32 +22,26 @@ module Google module Apis module DnsV1 - # 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 @@ -58,15 +52,12 @@ module Google # @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 @@ -87,17 +78,16 @@ module Google end end - # The response to a request to enumerate Changes to a ResourceRecordSets - # collection. + # class ListChangesResponse 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::DnsV1::ResponseHeader] attr_accessor :header @@ -107,14 +97,7 @@ 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 @@ -132,59 +115,47 @@ 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 @@ -194,16 +165,12 @@ module Google # @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 @@ -232,13 +199,12 @@ 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 @@ -254,26 +220,21 @@ 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 @@ -297,16 +258,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::DnsV1::ResponseHeader] attr_accessor :header @@ -316,14 +277,7 @@ 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 @@ -341,35 +295,31 @@ 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::DnsV1::ManagedZoneDnsSecConfig] attr_accessor :dnssec_config - # Unique identifier for the resource; defined by the server (output only) + # # Corresponds to the JSON property `id` # @return [Fixnum] attr_accessor :id @@ -380,27 +330,22 @@ module Google # @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 @@ -428,8 +373,7 @@ module Google class ManagedZoneDnsSecConfig include Google::Apis::Core::Hashable - # Specifies parameters that will be used for generating initial DnsKeys for this - # ManagedZone. Output only while state is not OFF. + # # Corresponds to the JSON property `defaultKeySpecs` # @return [Array] attr_accessor :default_key_specs @@ -440,13 +384,12 @@ module Google # @return [String] attr_accessor :kind - # Specifies the mechanism used to provide authenticated denial-of-existence - # responses. Output only while state is not 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 @@ -468,7 +411,7 @@ module Google class ManagedZoneOperationsListResponse include Google::Apis::Core::Hashable - # Elements common to every response. + # # Corresponds to the JSON property `header` # @return [Google::Apis::DnsV1::ResponseHeader] attr_accessor :header @@ -478,20 +421,12 @@ 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 operation resources. + # # Corresponds to the JSON property `operations` # @return [Array] attr_accessor :operations @@ -513,7 +448,7 @@ module Google class ListManagedZonesResponse include Google::Apis::Core::Hashable - # Elements common to every response. + # # Corresponds to the JSON property `header` # @return [Google::Apis::DnsV1::ResponseHeader] attr_accessor :header @@ -523,20 +458,12 @@ 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 @@ -554,22 +481,16 @@ 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::DnsV1::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 @@ -580,32 +501,27 @@ module Google # @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::DnsV1::OperationManagedZoneContext] attr_accessor :zone_context @@ -631,12 +547,12 @@ module Google class OperationDnsKeyContext include Google::Apis::Core::Hashable - # A DNSSEC key pair. + # # Corresponds to the JSON property `newValue` # @return [Google::Apis::DnsV1::DnsKey] attr_accessor :new_value - # A DNSSEC key pair. + # # Corresponds to the JSON property `oldValue` # @return [Google::Apis::DnsV1::DnsKey] attr_accessor :old_value @@ -656,16 +572,12 @@ 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::DnsV1::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::DnsV1::ManagedZone] attr_accessor :old_value @@ -681,13 +593,11 @@ 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 @@ -698,13 +608,12 @@ module Google # @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::DnsV1::Quota] attr_accessor :quota @@ -722,11 +631,11 @@ 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 @@ -736,38 +645,37 @@ module Google # @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 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 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 @@ -790,7 +698,7 @@ module Google end end - # A unit of data that will be returned by the DNS servers. + # class ResourceRecordSet include Google::Apis::Core::Hashable @@ -800,28 +708,27 @@ module Google # @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). + # # 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 @@ -845,7 +752,7 @@ module Google class ListResourceRecordSetsResponse include Google::Apis::Core::Hashable - # Elements common to every response. + # # Corresponds to the JSON property `header` # @return [Google::Apis::DnsV1::ResponseHeader] attr_accessor :header @@ -855,20 +762,12 @@ 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 @@ -886,13 +785,11 @@ 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_v1/service.rb b/generated/google/apis/dns_v1/service.rb index 84eff3c45..042910c84 100644 --- a/generated/google/apis/dns_v1/service.rb +++ b/generated/google/apis/dns_v1/service.rb @@ -51,16 +51,11 @@ module Google @batch_path = 'batch/dns/v1' 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::DnsV1::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 @@ -95,18 +90,11 @@ module Google 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 @@ -140,22 +128,13 @@ module Google 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 @@ -191,21 +170,12 @@ module Google 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 @@ -240,22 +210,12 @@ module Google 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 @@ -290,16 +250,11 @@ module Google 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 @@ -333,19 +288,12 @@ module Google 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 @@ -380,13 +328,10 @@ module Google execute_or_queue_command(command, &block) end - # Create a new ManagedZone. + # # @param [String] project - # Identifies the project addressed by this request. # @param [Google::Apis::DnsV1::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 @@ -420,15 +365,10 @@ module Google 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 @@ -459,15 +399,10 @@ module Google 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 @@ -500,17 +435,11 @@ module Google 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 @@ -544,16 +473,11 @@ module Google 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::DnsV1::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 @@ -588,16 +512,11 @@ module Google 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::DnsV1::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 @@ -632,12 +551,9 @@ module Google 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 @@ -669,24 +585,13 @@ module Google 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 diff --git a/generated/google/apis/dns_v1beta2.rb b/generated/google/apis/dns_v1beta2.rb index f770b06ed..b34afe154 100644 --- a/generated/google/apis/dns_v1beta2.rb +++ b/generated/google/apis/dns_v1beta2.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/cloud-dns module DnsV1beta2 VERSION = 'V1beta2' - REVISION = '20181212' + REVISION = '20190213' # 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 2712e4c13..74d9d7e1e 100644 --- a/generated/google/apis/dns_v1beta2/classes.rb +++ b/generated/google/apis/dns_v1beta2/classes.rb @@ -22,32 +22,26 @@ 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 @@ -58,15 +52,12 @@ module Google # @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 @@ -87,17 +78,16 @@ 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 @@ -107,14 +97,7 @@ 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 @@ -132,59 +115,47 @@ 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 @@ -194,16 +165,12 @@ module Google # @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 @@ -232,13 +199,12 @@ 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 @@ -254,26 +220,21 @@ 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 @@ -297,16 +258,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 @@ -316,14 +277,7 @@ 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 @@ -341,42 +295,36 @@ 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 @@ -387,39 +335,32 @@ module Google # @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 - # 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 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 @@ -450,8 +391,7 @@ module Google class ManagedZoneDnsSecConfig include Google::Apis::Core::Hashable - # Specifies parameters that will be used for generating initial DnsKeys for this - # ManagedZone. Output only while state is not OFF. + # # Corresponds to the JSON property `defaultKeySpecs` # @return [Array] attr_accessor :default_key_specs @@ -462,13 +402,12 @@ module Google # @return [String] attr_accessor :kind - # Specifies the mechanism used to provide authenticated denial-of-existence - # responses. Output only while state is not 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 @@ -496,8 +435,7 @@ module Google # @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 @@ -517,7 +455,7 @@ module Google class ManagedZoneForwardingConfigNameServerTarget include Google::Apis::Core::Hashable - # IPv4 address of a target name server. + # # Corresponds to the JSON property `ipv4Address` # @return [String] attr_accessor :ipv4_address @@ -543,7 +481,7 @@ 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 @@ -553,20 +491,12 @@ 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 operation resources. + # # Corresponds to the JSON property `operations` # @return [Array] attr_accessor :operations @@ -594,7 +524,7 @@ module Google # @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 @@ -620,9 +550,7 @@ module Google # @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 @@ -642,7 +570,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 @@ -652,20 +580,12 @@ 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 @@ -683,22 +603,16 @@ 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 @@ -709,32 +623,27 @@ module Google # @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 @@ -760,12 +669,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 @@ -785,16 +694,12 @@ 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 @@ -814,7 +719,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 @@ -824,20 +729,12 @@ 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 @@ -859,13 +756,12 @@ 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 @@ -885,13 +781,12 @@ 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 @@ -907,33 +802,27 @@ 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 - # Unique identifier for the resource; defined by the server (output only). + # # Corresponds to the JSON property `id` # @return [Fixnum] attr_accessor :id @@ -943,12 +832,12 @@ module Google # @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 @@ -979,9 +868,7 @@ module Google # @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 @@ -1001,7 +888,7 @@ module Google class PolicyAlternativeNameServerConfigTargetNameServer include Google::Apis::Core::Hashable - # IPv4 address to forward to. + # # Corresponds to the JSON property `ipv4Address` # @return [String] attr_accessor :ipv4_address @@ -1033,9 +920,7 @@ module Google # @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 @@ -1051,13 +936,11 @@ 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 @@ -1068,13 +951,12 @@ module Google # @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 @@ -1092,11 +974,11 @@ 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 @@ -1106,69 +988,67 @@ module Google # @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 @@ -1197,7 +1077,7 @@ module Google end end - # A unit of data that will be returned by the DNS servers. + # class ResourceRecordSet include Google::Apis::Core::Hashable @@ -1207,28 +1087,27 @@ module Google # @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). + # # 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 @@ -1252,7 +1131,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 @@ -1262,20 +1141,12 @@ 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 @@ -1293,13 +1164,11 @@ 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 2f0ed85e3..96518cac0 100644 --- a/generated/google/apis/dns_v1beta2/service.rb +++ b/generated/google/apis/dns_v1beta2/service.rb @@ -51,16 +51,11 @@ module Google @batch_path = 'batch/dns/v1beta2' 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 @@ -95,18 +90,11 @@ module Google 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 @@ -140,22 +128,13 @@ module Google 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 @@ -191,21 +170,12 @@ module Google 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 @@ -240,22 +210,12 @@ module Google 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 @@ -290,16 +250,11 @@ module Google 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 @@ -333,19 +288,12 @@ module Google 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 @@ -380,13 +328,10 @@ module Google 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 @@ -420,15 +365,10 @@ module Google 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 @@ -459,15 +399,10 @@ module Google 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 @@ -500,17 +435,11 @@ module Google 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 @@ -544,16 +473,11 @@ module Google 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 @@ -588,16 +512,11 @@ module Google 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 @@ -632,13 +551,10 @@ module Google 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 @@ -672,15 +588,10 @@ module Google 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 @@ -711,14 +622,10 @@ module Google 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 @@ -751,15 +658,10 @@ module Google 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 @@ -792,15 +694,11 @@ module Google 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 @@ -835,15 +733,11 @@ module Google 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 @@ -878,12 +772,9 @@ module Google 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 @@ -915,24 +806,13 @@ module Google 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 diff --git a/generated/google/apis/dns_v2beta1.rb b/generated/google/apis/dns_v2beta1.rb index 424d81e64..1bda1afd3 100644 --- a/generated/google/apis/dns_v2beta1.rb +++ b/generated/google/apis/dns_v2beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/cloud-dns module DnsV2beta1 VERSION = 'V2beta1' - REVISION = '20181212' + REVISION = '20190213' # 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_v2beta1/classes.rb b/generated/google/apis/dns_v2beta1/classes.rb index 9a63728b5..157a8ed84 100644 --- a/generated/google/apis/dns_v2beta1/classes.rb +++ b/generated/google/apis/dns_v2beta1/classes.rb @@ -22,32 +22,26 @@ module Google module Apis module DnsV2beta1 - # 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 @@ -58,15 +52,12 @@ module Google # @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 @@ -87,17 +78,16 @@ 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::DnsV2beta1::ResponseHeader] attr_accessor :header @@ -107,14 +97,7 @@ 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 @@ -132,59 +115,47 @@ 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 @@ -194,16 +165,12 @@ module Google # @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 @@ -232,13 +199,12 @@ 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 @@ -254,26 +220,21 @@ 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 @@ -297,16 +258,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::DnsV2beta1::ResponseHeader] attr_accessor :header @@ -316,14 +277,7 @@ 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 @@ -341,35 +295,31 @@ 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::DnsV2beta1::ManagedZoneDnsSecConfig] attr_accessor :dnssec_config - # Unique identifier for the resource; defined by the server (output only) + # # Corresponds to the JSON property `id` # @return [Fixnum] attr_accessor :id @@ -380,27 +330,22 @@ module Google # @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 @@ -428,8 +373,7 @@ module Google class ManagedZoneDnsSecConfig include Google::Apis::Core::Hashable - # Specifies parameters that will be used for generating initial DnsKeys for this - # ManagedZone. Output only while state is not OFF. + # # Corresponds to the JSON property `defaultKeySpecs` # @return [Array] attr_accessor :default_key_specs @@ -440,13 +384,12 @@ module Google # @return [String] attr_accessor :kind - # Specifies the mechanism used to provide authenticated denial-of-existence - # responses. Output only while state is not 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 @@ -468,7 +411,7 @@ module Google class ManagedZoneOperationsListResponse include Google::Apis::Core::Hashable - # Elements common to every response. + # # Corresponds to the JSON property `header` # @return [Google::Apis::DnsV2beta1::ResponseHeader] attr_accessor :header @@ -478,20 +421,12 @@ 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 operation resources. + # # Corresponds to the JSON property `operations` # @return [Array] attr_accessor :operations @@ -513,7 +448,7 @@ module Google class ManagedZonesListResponse include Google::Apis::Core::Hashable - # Elements common to every response. + # # Corresponds to the JSON property `header` # @return [Google::Apis::DnsV2beta1::ResponseHeader] attr_accessor :header @@ -523,20 +458,12 @@ 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 @@ -554,22 +481,16 @@ 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::DnsV2beta1::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 @@ -580,32 +501,27 @@ module Google # @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::DnsV2beta1::OperationManagedZoneContext] attr_accessor :zone_context @@ -631,12 +547,12 @@ module Google class OperationDnsKeyContext include Google::Apis::Core::Hashable - # A DNSSEC key pair. + # # Corresponds to the JSON property `newValue` # @return [Google::Apis::DnsV2beta1::DnsKey] attr_accessor :new_value - # A DNSSEC key pair. + # # Corresponds to the JSON property `oldValue` # @return [Google::Apis::DnsV2beta1::DnsKey] attr_accessor :old_value @@ -656,16 +572,12 @@ 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::DnsV2beta1::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::DnsV2beta1::ManagedZone] attr_accessor :old_value @@ -681,13 +593,11 @@ 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 @@ -698,13 +608,12 @@ module Google # @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::DnsV2beta1::Quota] attr_accessor :quota @@ -722,11 +631,11 @@ 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 @@ -736,38 +645,37 @@ module Google # @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 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 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 @@ -790,7 +698,7 @@ module Google end end - # A unit of data that will be returned by the DNS servers. + # class ResourceRecordSet include Google::Apis::Core::Hashable @@ -800,28 +708,27 @@ module Google # @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). + # # 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 @@ -845,7 +752,7 @@ module Google class ResourceRecordSetsListResponse include Google::Apis::Core::Hashable - # Elements common to every response. + # # Corresponds to the JSON property `header` # @return [Google::Apis::DnsV2beta1::ResponseHeader] attr_accessor :header @@ -855,20 +762,12 @@ 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 @@ -886,13 +785,11 @@ 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_v2beta1/service.rb b/generated/google/apis/dns_v2beta1/service.rb index cd1f2093f..6a77c942b 100644 --- a/generated/google/apis/dns_v2beta1/service.rb +++ b/generated/google/apis/dns_v2beta1/service.rb @@ -51,16 +51,11 @@ module Google @batch_path = 'batch/dns/v2beta1' 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::DnsV2beta1::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 @@ -95,18 +90,11 @@ module Google 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 @@ -140,22 +128,13 @@ module Google 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 @@ -191,21 +170,12 @@ module Google 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 @@ -240,22 +210,12 @@ module Google 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 @@ -290,16 +250,11 @@ module Google 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 @@ -333,19 +288,12 @@ module Google 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 @@ -380,13 +328,10 @@ module Google execute_or_queue_command(command, &block) end - # Create a new ManagedZone. + # # @param [String] project - # Identifies the project addressed by this request. # @param [Google::Apis::DnsV2beta1::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 @@ -420,15 +365,10 @@ module Google 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 @@ -459,15 +399,10 @@ module Google 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 @@ -500,17 +435,11 @@ module Google 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 @@ -544,16 +473,11 @@ module Google 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::DnsV2beta1::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 @@ -588,16 +512,11 @@ module Google 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::DnsV2beta1::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 @@ -632,12 +551,9 @@ module Google 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 @@ -669,24 +585,13 @@ module Google 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 diff --git a/generated/google/apis/ml_v1.rb b/generated/google/apis/ml_v1.rb index b573367e8..35d1e8070 100644 --- a/generated/google/apis/ml_v1.rb +++ b/generated/google/apis/ml_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/ml/ module MlV1 VERSION = 'V1' - REVISION = '20190126' + REVISION = '20190216' # 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/ml_v1/classes.rb b/generated/google/apis/ml_v1/classes.rb index 341dd3f40..3ad2b55c0 100644 --- a/generated/google/apis/ml_v1/classes.rb +++ b/generated/google/apis/ml_v1/classes.rb @@ -116,7 +116,7 @@ module Google # @return [Fixnum] attr_accessor :count - # The available types of accelerators. + # The type of accelerator to use. # Corresponds to the JSON property `type` # @return [String] attr_accessor :type @@ -164,8 +164,10 @@ module Google # # HTTP request: #
-        # PATCH https://ml.googleapis.com/v1/`name=projects/*/models/*/versions/*`?
-        # update_mask=autoScaling.minNodes -d @./update_body.json
+        # PATCH
+        # https://ml.googleapis.com/v1/`name=projects/*/models/*/versions/*`?update_mask=
+        # autoScaling.minNodes
+        # -d @./update_body.json
         # 
# Corresponds to the JSON property `minNodes` # @return [Fixnum] @@ -666,6 +668,7 @@ module Google # information about all of the versions of a given model by calling # [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models. # versions/list). + # Next ID: 29 # Corresponds to the JSON property `defaultVersion` # @return [Google::Apis::MlV1::GoogleCloudMlV1Version] attr_accessor :default_version @@ -792,6 +795,7 @@ module Google # information about all of the versions of a given model by calling # [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models. # versions/list). + # Next ID: 29 # Corresponds to the JSON property `version` # @return [Google::Apis::MlV1::GoogleCloudMlV1Version] attr_accessor :version @@ -1079,7 +1083,7 @@ module Google end end - # Represents the configration for a replica in a cluster. + # Represents the configuration for a replica in a cluster. class GoogleCloudMlV1ReplicaConfig include Google::Apis::Core::Hashable @@ -1088,8 +1092,9 @@ module Google # @return [Google::Apis::MlV1::GoogleCloudMlV1AcceleratorConfig] attr_accessor :accelerator_config - # The docker image to run on worker. - # This image must be in Google Container Registry. + # The Docker image to run on the replica. This image must be in Container + # Registry. Learn more about [configuring custom + # containers](/ml-engine/docs/distributed-training-containers). # Corresponds to the JSON property `imageUri` # @return [String] attr_accessor :image_uri @@ -1146,7 +1151,7 @@ module Google # @return [String] attr_accessor :job_dir - # Represents the configration for a replica in a cluster. + # Represents the configuration for a replica in a cluster. # Corresponds to the JSON property `masterConfig` # @return [Google::Apis::MlV1::GoogleCloudMlV1ReplicaConfig] attr_accessor :master_config @@ -1236,6 +1241,27 @@ module Google # your model. # # + # You may also use certain Compute Engine machine types directly in this + # field. The following types are supported: + # - `n1-standard-4` + # - `n1-standard-8` + # - `n1-standard-16` + # - `n1-standard-32` + # - `n1-standard-64` + # - `n1-standard-96` + # - `n1-highmem-2` + # - `n1-highmem-4` + # - `n1-highmem-8` + # - `n1-highmem-16` + # - `n1-highmem-32` + # - `n1-highmem-64` + # - `n1-highmem-96` + # - `n1-highcpu-16` + # - `n1-highcpu-32` + # - `n1-highcpu-64` + # - `n1-highcpu-96` + # See more about [using Compute Engine machine + # types](/ml-engine/docs/tensorflow/machine-types#compute-engine-machine-types). # You must set this value when `scaleTier` is set to `CUSTOM`. # Corresponds to the JSON property `masterType` # @return [String] @@ -1248,7 +1274,7 @@ module Google # @return [Array] attr_accessor :package_uris - # Represents the configration for a replica in a cluster. + # Represents the configuration for a replica in a cluster. # Corresponds to the JSON property `parameterServerConfig` # @return [Google::Apis::MlV1::GoogleCloudMlV1ReplicaConfig] attr_accessor :parameter_server_config @@ -1267,6 +1293,9 @@ module Google # job's parameter server. # The supported values are the same as those described in the entry for # `master_type`. + # This value must be consistent with the category of machine type that + # `masterType` uses. In other words, both must be Cloud ML Engine machine + # types or both must be Compute Engine machine types. # This value must be present when `scaleTier` is set to `CUSTOM` and # `parameter_server_count` is greater than zero. # Corresponds to the JSON property `parameterServerType` @@ -1309,7 +1338,7 @@ module Google # @return [String] attr_accessor :scale_tier - # Represents the configration for a replica in a cluster. + # Represents the configuration for a replica in a cluster. # Corresponds to the JSON property `workerConfig` # @return [Google::Apis::MlV1::GoogleCloudMlV1ReplicaConfig] attr_accessor :worker_config @@ -1327,6 +1356,13 @@ module Google # job's worker nodes. # The supported values are the same as those described in the entry for # `masterType`. + # This value must be consistent with the category of machine type that + # `masterType` uses. In other words, both must be Cloud ML Engine machine + # types or both must be Compute Engine machine types. + # If you use `cloud_tpu` for this value, see special instructions for + # [configuring a custom TPU + # machine](/ml-engine/docs/tensorflow/using-tpus# + # configuring_a_custom_tpu_machine). # This value must be present when `scaleTier` is set to `CUSTOM` and # `workerCount` is greater than zero. # Corresponds to the JSON property `workerType` @@ -1405,6 +1441,7 @@ module Google # information about all of the versions of a given model by calling # [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models. # versions/list). + # Next ID: 29 class GoogleCloudMlV1Version include Google::Apis::Core::Hashable @@ -1492,13 +1529,18 @@ module Google # Optional. The type of machine on which to serve the model. Currently only # applies to online prediction service. - # The following are currently supported and will be deprecated in - # Beta release. - # mls1-highmem-1 1 core 2 Gb RAM - # mls1-highcpu-4 4 core 2 Gb RAM - # The following are available in Beta: - # mls1-c1-m2 1 core 2 Gb RAM Default - # mls1-c4-m2 4 core 2 Gb RAM + #
+ #
mls1-c1-m2
+ #
+ # The default machine type, with 1 core and 2 GB RAM. The deprecated + # name for this machine type is "mls1-highmem-1". + #
+ #
mls1-c4-m2
+ #
+ # In Beta. This machine type has 4 cores and 2 GB RAM. The + # deprecated name for this machine type is "mls1-highcpu-4". + #
+ #
# Corresponds to the JSON property `machineType` # @return [String] attr_accessor :machine_type diff --git a/generated/google/apis/storagetransfer_v1.rb b/generated/google/apis/storagetransfer_v1.rb index fca8cd9c1..13c3f987f 100644 --- a/generated/google/apis/storagetransfer_v1.rb +++ b/generated/google/apis/storagetransfer_v1.rb @@ -23,10 +23,10 @@ module Google # Transfers data from external data sources to a Google Cloud Storage bucket or # between Google Cloud Storage buckets. # - # @see https://cloud.google.com/storage/transfer + # @see https://cloud.google.com/storage-transfer/docs module StoragetransferV1 VERSION = 'V1' - REVISION = '20190204' + REVISION = '20190219' # 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/storagetransfer_v1/service.rb b/generated/google/apis/storagetransfer_v1/service.rb index af8fdb42d..c4f0d6baf 100644 --- a/generated/google/apis/storagetransfer_v1/service.rb +++ b/generated/google/apis/storagetransfer_v1/service.rb @@ -31,7 +31,7 @@ module Google # Storagetransfer = Google::Apis::StoragetransferV1 # Alias the module # service = Storagetransfer::StoragetransferService.new # - # @see https://cloud.google.com/storage/transfer + # @see https://cloud.google.com/storage-transfer/docs class StoragetransferService < Google::Apis::Core::BaseService # @return [String] # API key. Your API key identifies your project and provides you with API access,