diff --git a/generated/google/apis/container_v1beta1.rb b/generated/google/apis/container_v1beta1.rb index d2116ad35..1c0b87657 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 = '20180824' + REVISION = '20180917' # 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 c02ab4a36..abc6e502e 100644 --- a/generated/google/apis/container_v1beta1/classes.rb +++ b/generated/google/apis/container_v1beta1/classes.rb @@ -499,7 +499,8 @@ module Google # If this is a private cluster setup. Private clusters are clusters that, by # default have no external IP addresses on the nodes and where nodes and the # master communicate over private IP addresses. - # This field is deprecated, use private_cluster_config.enabled instead. + # This field is deprecated, use private_cluster_config.enable_private_nodes + # instead. # Corresponds to the JSON property `privateCluster` # @return [Boolean] attr_accessor :private_cluster @@ -2212,16 +2213,18 @@ module Google attr_accessor :enable_private_endpoint alias_method :enable_private_endpoint?, :enable_private_endpoint - # Whether nodes have only private IP addresses, and communicate with the - # master via private networking. + # Whether nodes have internal IP addresses only. If enabled, all nodes are + # given only RFC 1918 private addresses and communicate with the master via + # private networking. # Corresponds to the JSON property `enablePrivateNodes` # @return [Boolean] attr_accessor :enable_private_nodes alias_method :enable_private_nodes?, :enable_private_nodes - # The IP prefix in CIDR notation to use for the hosted master network. This - # prefix will be used for assigning private IP addresses to the master or - # set of masters, as well as the ILB VIP. + # The IP range in CIDR notation to use for the hosted master network. This + # range will be used for assigning internal IP addresses to the master or + # set of masters, as well as the ILB VIP. This range must not overlap with + # any other ranges in use within the cluster's network. # Corresponds to the JSON property `masterIpv4CidrBlock` # @return [String] attr_accessor :master_ipv4_cidr_block diff --git a/generated/google/apis/dialogflow_v2.rb b/generated/google/apis/dialogflow_v2.rb index 62865b493..dbbe566e8 100644 --- a/generated/google/apis/dialogflow_v2.rb +++ b/generated/google/apis/dialogflow_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/dialogflow-enterprise/ module DialogflowV2 VERSION = 'V2' - REVISION = '20180918' + REVISION = '20180920' # 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_v2/classes.rb b/generated/google/apis/dialogflow_v2/classes.rb index 1200d6205..74254680d 100644 --- a/generated/google/apis/dialogflow_v2/classes.rb +++ b/generated/google/apis/dialogflow_v2/classes.rb @@ -844,8 +844,8 @@ module Google # @return [Array] attr_accessor :events - # Optional. Collection of information about all followup intents that have - # name of this intent as a root_name. + # Read-only. Information about all followup intents that have this intent as + # a direct or indirect parent. We populate this field only in the output. # Corresponds to the JSON property `followupIntentInfo` # @return [Array] attr_accessor :followup_intent_info @@ -900,8 +900,10 @@ module Google # @return [Array] attr_accessor :parameters - # The unique identifier of the parent intent in the chain of followup - # intents. + # Read-only after creation. The unique identifier of the parent intent in the + # chain of followup intents. You can set this field when creating an intent, + # for example with CreateIntent or BatchUpdateIntents, in order to + # make this intent a followup intent. # It identifies the parent followup intent. # Format: `projects//agent/intents/`. # Corresponds to the JSON property `parentFollowupIntentName` @@ -921,8 +923,9 @@ module Google attr_accessor :reset_contexts alias_method :reset_contexts?, :reset_contexts - # The unique identifier of the root intent in the chain of followup intents. - # It identifies the correct followup intents chain for this intent. + # Read-only. The unique identifier of the root intent in the chain of + # followup intents. It identifies the correct followup intents chain for + # this intent. We populate this field only in the output. # Format: `projects//agent/intents/`. # Corresponds to the JSON property `rootFollowupIntentName` # @return [String] @@ -995,7 +998,7 @@ module Google # @return [String] attr_accessor :followup_intent_name - # The unique identifier of the followup intent parent. + # The unique identifier of the followup intent's parent. # Format: `projects//agent/intents/`. # Corresponds to the JSON property `parentFollowupIntentName` # @return [String] @@ -2678,8 +2681,8 @@ module Google # @return [Array] attr_accessor :events - # Optional. Collection of information about all followup intents that have - # name of this intent as a root_name. + # Read-only. Information about all followup intents that have this intent as + # a direct or indirect parent. We populate this field only in the output. # Corresponds to the JSON property `followupIntentInfo` # @return [Array] attr_accessor :followup_intent_info @@ -2750,8 +2753,10 @@ module Google # @return [Array] attr_accessor :parameters - # The unique identifier of the parent intent in the chain of followup - # intents. + # Read-only after creation. The unique identifier of the parent intent in the + # chain of followup intents. You can set this field when creating an intent, + # for example with CreateIntent or BatchUpdateIntents, in order to + # make this intent a followup intent. # It identifies the parent followup intent. # Format: `projects//agent/intents/`. # Corresponds to the JSON property `parentFollowupIntentName` @@ -2771,8 +2776,9 @@ module Google attr_accessor :reset_contexts alias_method :reset_contexts?, :reset_contexts - # The unique identifier of the root intent in the chain of followup intents. - # It identifies the correct followup intents chain for this intent. + # Read-only. The unique identifier of the root intent in the chain of + # followup intents. It identifies the correct followup intents chain for + # this intent. We populate this field only in the output. # Format: `projects//agent/intents/`. # Corresponds to the JSON property `rootFollowupIntentName` # @return [String] @@ -2828,7 +2834,7 @@ module Google # @return [String] attr_accessor :followup_intent_name - # The unique identifier of the followup intent parent. + # The unique identifier of the followup intent's parent. # Format: `projects//agent/intents/`. # Corresponds to the JSON property `parentFollowupIntentName` # @return [String] diff --git a/generated/google/apis/dialogflow_v2/service.rb b/generated/google/apis/dialogflow_v2/service.rb index e7495384f..dc3bb1f5c 100644 --- a/generated/google/apis/dialogflow_v2/service.rb +++ b/generated/google/apis/dialogflow_v2/service.rb @@ -768,9 +768,10 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified intent. + # Deletes the specified intent and its direct or indirect followup intents. # @param [String] name - # Required. The name of the intent to delete. + # Required. The name of the intent to delete. If this intent has direct or + # indirect followup intents, we also delete them. # Format: `projects//agent/intents/`. # @param [String] fields # Selector specifying which fields to include in a partial response. diff --git a/generated/google/apis/jobs_v3.rb b/generated/google/apis/jobs_v3.rb index a40f445ea..c159d4104 100644 --- a/generated/google/apis/jobs_v3.rb +++ b/generated/google/apis/jobs_v3.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/talent-solution/job-search/docs/ module JobsV3 VERSION = 'V3' - REVISION = '20180906' + REVISION = '20180917' # 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/serviceconsumermanagement_v1.rb b/generated/google/apis/serviceconsumermanagement_v1.rb index d6e778c64..bf05de58f 100644 --- a/generated/google/apis/serviceconsumermanagement_v1.rb +++ b/generated/google/apis/serviceconsumermanagement_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/service-consumer-management/docs/overview module ServiceconsumermanagementV1 VERSION = 'V1' - REVISION = '20180917' + REVISION = '20180919' # 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/serviceconsumermanagement_v1/classes.rb b/generated/google/apis/serviceconsumermanagement_v1/classes.rb index 0fbf5ae84..3eca107a9 100644 --- a/generated/google/apis/serviceconsumermanagement_v1/classes.rb +++ b/generated/google/apis/serviceconsumermanagement_v1/classes.rb @@ -370,49 +370,6 @@ module Google end end - # Authorization rule for API services. - # It specifies the permission(s) required for an API element for the overall - # API request to succeed. It is typically used to mark request message fields - # that contain the name of the resource and indicates the permissions that - # will be checked on that resource. - # For example: - # package google.storage.v1; - # message CopyObjectRequest ` - # string source = 1 [ - # (google.api.authz).permissions = "storage.objects.get"]; - # string destination = 2 [ - # (google.api.authz).permissions = - # "storage.objects.create,storage.objects.update"]; - # ` - class AuthorizationRule - include Google::Apis::Core::Hashable - - # The required permissions. The acceptable values vary depend on the - # authorization system used. For Google APIs, it should be a comma-separated - # Google IAM permission values. When multiple permissions are listed, the - # semantics is not defined by the system. Additional documentation must - # be provided manually. - # Corresponds to the JSON property `permissions` - # @return [String] - attr_accessor :permissions - - # Selects the API elements to which this rule applies. - # Refer to selector for syntax details. - # Corresponds to the JSON property `selector` - # @return [String] - attr_accessor :selector - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @permissions = args[:permissions] if args.key?(:permissions) - @selector = args[:selector] if args.key?(:selector) - end - end - # `Backend` defines the backend configuration for a service. class Backend include Google::Apis::Core::Hashable @@ -1472,14 +1429,6 @@ module Google # @return [Array] attr_accessor :additional_bindings - # Specifies the permission(s) required for an API element for the overall - # API request to succeed. It is typically used to mark request message fields - # that contain the name of the resource and indicates the permissions that - # will be checked on that resource. - # Corresponds to the JSON property `authorizations` - # @return [Array] - attr_accessor :authorizations - # The name of the request field whose value is mapped to the HTTP request # body, or `*` for mapping all request fields not captured by the path # pattern to the HTTP body, or omitted for not having any HTTP request body. @@ -1505,22 +1454,6 @@ module Google # @return [String] attr_accessor :get - # Defines the Media configuration for a service in case of a download. - # Use this only for Scotty Requests. Do not use this for media support using - # Bytestream, add instead [][google.bytestream.RestByteStream] as an API to - # your configuration for Bytestream methods. - # Corresponds to the JSON property `mediaDownload` - # @return [Google::Apis::ServiceconsumermanagementV1::MediaDownload] - attr_accessor :media_download - - # Defines the Media configuration for a service in case of an upload. - # Use this only for Scotty Requests. Do not use this for media support using - # Bytestream, add instead [][google.bytestream.RestByteStream] as an API to - # your configuration for Bytestream methods. - # Corresponds to the JSON property `mediaUpload` - # @return [Google::Apis::ServiceconsumermanagementV1::MediaUpload] - attr_accessor :media_upload - # Maps to HTTP PATCH. Used for updating a resource. # Corresponds to the JSON property `patch` # @return [String] @@ -1545,44 +1478,6 @@ module Google # @return [String] attr_accessor :response_body - # DO NOT USE. This is an experimental field. - # Optional. The REST collection name is by default derived from the URL - # pattern. If specified, this field overrides the default collection name. - # Example: - # rpc AddressesAggregatedList(AddressesAggregatedListRequest) - # returns (AddressesAggregatedListResponse) ` - # option (google.api.http) = ` - # get: "/v1/projects/`project_id`/aggregated/addresses" - # rest_collection: "projects.addresses" - # `; - # ` - # This method has the automatically derived collection name - # "projects.aggregated". Because, semantically, this rpc is actually an - # operation on the "projects.addresses" collection, the `rest_collection` - # field is configured to override the derived collection name. - # Corresponds to the JSON property `restCollection` - # @return [String] - attr_accessor :rest_collection - - # DO NOT USE. This is an experimental field. - # Optional. The rest method name is by default derived from the URL - # pattern. If specified, this field overrides the default method name. - # Example: - # rpc CreateResource(CreateResourceRequest) - # returns (CreateResourceResponse) ` - # option (google.api.http) = ` - # post: "/v1/resources", - # body: "resource", - # rest_method_name: "insert" - # `; - # ` - # This method has the automatically derived rest method name - # "create", but for backwards compatibility with apiary, it is specified as - # insert. - # Corresponds to the JSON property `restMethodName` - # @return [String] - attr_accessor :rest_method_name - # Selects a method to which this rule applies. # Refer to selector for syntax details. # Corresponds to the JSON property `selector` @@ -1596,19 +1491,14 @@ module Google # Update properties of this object def update!(**args) @additional_bindings = args[:additional_bindings] if args.key?(:additional_bindings) - @authorizations = args[:authorizations] if args.key?(:authorizations) @body = args[:body] if args.key?(:body) @custom = args[:custom] if args.key?(:custom) @delete = args[:delete] if args.key?(:delete) @get = args[:get] if args.key?(:get) - @media_download = args[:media_download] if args.key?(:media_download) - @media_upload = args[:media_upload] if args.key?(:media_upload) @patch = args[:patch] if args.key?(:patch) @post = args[:post] if args.key?(:post) @put = args[:put] if args.key?(:put) @response_body = args[:response_body] if args.key?(:response_body) - @rest_collection = args[:rest_collection] if args.key?(:rest_collection) - @rest_method_name = args[:rest_method_name] if args.key?(:rest_method_name) @selector = args[:selector] if args.key?(:selector) end end @@ -1831,138 +1721,6 @@ module Google end end - # Defines the Media configuration for a service in case of a download. - # Use this only for Scotty Requests. Do not use this for media support using - # Bytestream, add instead [][google.bytestream.RestByteStream] as an API to - # your configuration for Bytestream methods. - class MediaDownload - include Google::Apis::Core::Hashable - - # A boolean that determines whether a notification for the completion of a - # download should be sent to the backend. - # Corresponds to the JSON property `completeNotification` - # @return [Boolean] - attr_accessor :complete_notification - alias_method :complete_notification?, :complete_notification - - # DO NOT USE FIELDS BELOW THIS LINE UNTIL THIS WARNING IS REMOVED. - # Specify name of the download service if one is used for download. - # Corresponds to the JSON property `downloadService` - # @return [String] - attr_accessor :download_service - - # Name of the Scotty dropzone to use for the current API. - # Corresponds to the JSON property `dropzone` - # @return [String] - attr_accessor :dropzone - - # Whether download is enabled. - # Corresponds to the JSON property `enabled` - # @return [Boolean] - attr_accessor :enabled - alias_method :enabled?, :enabled - - # Optional maximum acceptable size for direct download. - # The size is specified in bytes. - # Corresponds to the JSON property `maxDirectDownloadSize` - # @return [Fixnum] - attr_accessor :max_direct_download_size - - # A boolean that determines if direct download from ESF should be used for - # download of this media. - # Corresponds to the JSON property `useDirectDownload` - # @return [Boolean] - attr_accessor :use_direct_download - alias_method :use_direct_download?, :use_direct_download - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @complete_notification = args[:complete_notification] if args.key?(:complete_notification) - @download_service = args[:download_service] if args.key?(:download_service) - @dropzone = args[:dropzone] if args.key?(:dropzone) - @enabled = args[:enabled] if args.key?(:enabled) - @max_direct_download_size = args[:max_direct_download_size] if args.key?(:max_direct_download_size) - @use_direct_download = args[:use_direct_download] if args.key?(:use_direct_download) - end - end - - # Defines the Media configuration for a service in case of an upload. - # Use this only for Scotty Requests. Do not use this for media support using - # Bytestream, add instead [][google.bytestream.RestByteStream] as an API to - # your configuration for Bytestream methods. - class MediaUpload - include Google::Apis::Core::Hashable - - # A boolean that determines whether a notification for the completion of an - # upload should be sent to the backend. These notifications will not be seen - # by the client and will not consume quota. - # Corresponds to the JSON property `completeNotification` - # @return [Boolean] - attr_accessor :complete_notification - alias_method :complete_notification?, :complete_notification - - # Name of the Scotty dropzone to use for the current API. - # Corresponds to the JSON property `dropzone` - # @return [String] - attr_accessor :dropzone - - # Whether upload is enabled. - # Corresponds to the JSON property `enabled` - # @return [Boolean] - attr_accessor :enabled - alias_method :enabled?, :enabled - - # Optional maximum acceptable size for an upload. - # The size is specified in bytes. - # Corresponds to the JSON property `maxSize` - # @return [Fixnum] - attr_accessor :max_size - - # An array of mimetype patterns. Esf will only accept uploads that match one - # of the given patterns. - # Corresponds to the JSON property `mimeTypes` - # @return [Array] - attr_accessor :mime_types - - # Whether to receive a notification for progress changes of media upload. - # Corresponds to the JSON property `progressNotification` - # @return [Boolean] - attr_accessor :progress_notification - alias_method :progress_notification?, :progress_notification - - # Whether to receive a notification on the start of media upload. - # Corresponds to the JSON property `startNotification` - # @return [Boolean] - attr_accessor :start_notification - alias_method :start_notification?, :start_notification - - # DO NOT USE FIELDS BELOW THIS LINE UNTIL THIS WARNING IS REMOVED. - # Specify name of the upload service if one is used for upload. - # Corresponds to the JSON property `uploadService` - # @return [String] - attr_accessor :upload_service - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @complete_notification = args[:complete_notification] if args.key?(:complete_notification) - @dropzone = args[:dropzone] if args.key?(:dropzone) - @enabled = args[:enabled] if args.key?(:enabled) - @max_size = args[:max_size] if args.key?(:max_size) - @mime_types = args[:mime_types] if args.key?(:mime_types) - @progress_notification = args[:progress_notification] if args.key?(:progress_notification) - @start_notification = args[:start_notification] if args.key?(:start_notification) - @upload_service = args[:upload_service] if args.key?(:upload_service) - end - end - # Method represents a method of an API interface. class MethodProp include Google::Apis::Core::Hashable diff --git a/generated/google/apis/serviceconsumermanagement_v1/representations.rb b/generated/google/apis/serviceconsumermanagement_v1/representations.rb index 9646e8fea..87621bdfb 100644 --- a/generated/google/apis/serviceconsumermanagement_v1/representations.rb +++ b/generated/google/apis/serviceconsumermanagement_v1/representations.rb @@ -64,12 +64,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class AuthorizationRule - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Backend class Representation < Google::Apis::Core::JsonRepresentation; end @@ -244,18 +238,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class MediaDownload - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class MediaUpload - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class MethodProp class Representation < Google::Apis::Core::JsonRepresentation; end @@ -522,14 +504,6 @@ module Google end end - class AuthorizationRule - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :permissions, as: 'permissions' - property :selector, as: 'selector' - end - end - class Backend # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -737,23 +711,15 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation collection :additional_bindings, as: 'additionalBindings', class: Google::Apis::ServiceconsumermanagementV1::HttpRule, decorator: Google::Apis::ServiceconsumermanagementV1::HttpRule::Representation - collection :authorizations, as: 'authorizations', class: Google::Apis::ServiceconsumermanagementV1::AuthorizationRule, decorator: Google::Apis::ServiceconsumermanagementV1::AuthorizationRule::Representation - property :body, as: 'body' property :custom, as: 'custom', class: Google::Apis::ServiceconsumermanagementV1::CustomHttpPattern, decorator: Google::Apis::ServiceconsumermanagementV1::CustomHttpPattern::Representation property :delete, as: 'delete' property :get, as: 'get' - property :media_download, as: 'mediaDownload', class: Google::Apis::ServiceconsumermanagementV1::MediaDownload, decorator: Google::Apis::ServiceconsumermanagementV1::MediaDownload::Representation - - property :media_upload, as: 'mediaUpload', class: Google::Apis::ServiceconsumermanagementV1::MediaUpload, decorator: Google::Apis::ServiceconsumermanagementV1::MediaUpload::Representation - property :patch, as: 'patch' property :post, as: 'post' property :put, as: 'put' property :response_body, as: 'responseBody' - property :rest_collection, as: 'restCollection' - property :rest_method_name, as: 'restMethodName' property :selector, as: 'selector' end end @@ -814,32 +780,6 @@ module Google end end - class MediaDownload - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :complete_notification, as: 'completeNotification' - property :download_service, as: 'downloadService' - property :dropzone, as: 'dropzone' - property :enabled, as: 'enabled' - property :max_direct_download_size, :numeric_string => true, as: 'maxDirectDownloadSize' - property :use_direct_download, as: 'useDirectDownload' - end - end - - class MediaUpload - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :complete_notification, as: 'completeNotification' - property :dropzone, as: 'dropzone' - property :enabled, as: 'enabled' - property :max_size, :numeric_string => true, as: 'maxSize' - collection :mime_types, as: 'mimeTypes' - property :progress_notification, as: 'progressNotification' - property :start_notification, as: 'startNotification' - property :upload_service, as: 'uploadService' - end - end - class MethodProp # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/serviceusage_v1.rb b/generated/google/apis/serviceusage_v1.rb index bf17f45d6..4f9124848 100644 --- a/generated/google/apis/serviceusage_v1.rb +++ b/generated/google/apis/serviceusage_v1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/service-usage/ module ServiceusageV1 VERSION = 'V1' - REVISION = '20180917' + REVISION = '20180919' # 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/serviceusage_v1/classes.rb b/generated/google/apis/serviceusage_v1/classes.rb index 9b572f3e0..b878f267b 100644 --- a/generated/google/apis/serviceusage_v1/classes.rb +++ b/generated/google/apis/serviceusage_v1/classes.rb @@ -340,49 +340,6 @@ module Google end end - # Authorization rule for API services. - # It specifies the permission(s) required for an API element for the overall - # API request to succeed. It is typically used to mark request message fields - # that contain the name of the resource and indicates the permissions that - # will be checked on that resource. - # For example: - # package google.storage.v1; - # message CopyObjectRequest ` - # string source = 1 [ - # (google.api.authz).permissions = "storage.objects.get"]; - # string destination = 2 [ - # (google.api.authz).permissions = - # "storage.objects.create,storage.objects.update"]; - # ` - class AuthorizationRule - include Google::Apis::Core::Hashable - - # The required permissions. The acceptable values vary depend on the - # authorization system used. For Google APIs, it should be a comma-separated - # Google IAM permission values. When multiple permissions are listed, the - # semantics is not defined by the system. Additional documentation must - # be provided manually. - # Corresponds to the JSON property `permissions` - # @return [String] - attr_accessor :permissions - - # Selects the API elements to which this rule applies. - # Refer to selector for syntax details. - # Corresponds to the JSON property `selector` - # @return [String] - attr_accessor :selector - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @permissions = args[:permissions] if args.key?(:permissions) - @selector = args[:selector] if args.key?(:selector) - end - end - # `Backend` defines the backend configuration for a service. class Backend include Google::Apis::Core::Hashable @@ -2231,14 +2188,6 @@ module Google # @return [Array] attr_accessor :additional_bindings - # Specifies the permission(s) required for an API element for the overall - # API request to succeed. It is typically used to mark request message fields - # that contain the name of the resource and indicates the permissions that - # will be checked on that resource. - # Corresponds to the JSON property `authorizations` - # @return [Array] - attr_accessor :authorizations - # The name of the request field whose value is mapped to the HTTP request # body, or `*` for mapping all request fields not captured by the path # pattern to the HTTP body, or omitted for not having any HTTP request body. @@ -2264,22 +2213,6 @@ module Google # @return [String] attr_accessor :get - # Defines the Media configuration for a service in case of a download. - # Use this only for Scotty Requests. Do not use this for media support using - # Bytestream, add instead [][google.bytestream.RestByteStream] as an API to - # your configuration for Bytestream methods. - # Corresponds to the JSON property `mediaDownload` - # @return [Google::Apis::ServiceusageV1::MediaDownload] - attr_accessor :media_download - - # Defines the Media configuration for a service in case of an upload. - # Use this only for Scotty Requests. Do not use this for media support using - # Bytestream, add instead [][google.bytestream.RestByteStream] as an API to - # your configuration for Bytestream methods. - # Corresponds to the JSON property `mediaUpload` - # @return [Google::Apis::ServiceusageV1::MediaUpload] - attr_accessor :media_upload - # Maps to HTTP PATCH. Used for updating a resource. # Corresponds to the JSON property `patch` # @return [String] @@ -2304,44 +2237,6 @@ module Google # @return [String] attr_accessor :response_body - # DO NOT USE. This is an experimental field. - # Optional. The REST collection name is by default derived from the URL - # pattern. If specified, this field overrides the default collection name. - # Example: - # rpc AddressesAggregatedList(AddressesAggregatedListRequest) - # returns (AddressesAggregatedListResponse) ` - # option (google.api.http) = ` - # get: "/v1/projects/`project_id`/aggregated/addresses" - # rest_collection: "projects.addresses" - # `; - # ` - # This method has the automatically derived collection name - # "projects.aggregated". Because, semantically, this rpc is actually an - # operation on the "projects.addresses" collection, the `rest_collection` - # field is configured to override the derived collection name. - # Corresponds to the JSON property `restCollection` - # @return [String] - attr_accessor :rest_collection - - # DO NOT USE. This is an experimental field. - # Optional. The rest method name is by default derived from the URL - # pattern. If specified, this field overrides the default method name. - # Example: - # rpc CreateResource(CreateResourceRequest) - # returns (CreateResourceResponse) ` - # option (google.api.http) = ` - # post: "/v1/resources", - # body: "resource", - # rest_method_name: "insert" - # `; - # ` - # This method has the automatically derived rest method name - # "create", but for backwards compatibility with apiary, it is specified as - # insert. - # Corresponds to the JSON property `restMethodName` - # @return [String] - attr_accessor :rest_method_name - # Selects a method to which this rule applies. # Refer to selector for syntax details. # Corresponds to the JSON property `selector` @@ -2355,19 +2250,14 @@ module Google # Update properties of this object def update!(**args) @additional_bindings = args[:additional_bindings] if args.key?(:additional_bindings) - @authorizations = args[:authorizations] if args.key?(:authorizations) @body = args[:body] if args.key?(:body) @custom = args[:custom] if args.key?(:custom) @delete = args[:delete] if args.key?(:delete) @get = args[:get] if args.key?(:get) - @media_download = args[:media_download] if args.key?(:media_download) - @media_upload = args[:media_upload] if args.key?(:media_upload) @patch = args[:patch] if args.key?(:patch) @post = args[:post] if args.key?(:post) @put = args[:put] if args.key?(:put) @response_body = args[:response_body] if args.key?(:response_body) - @rest_collection = args[:rest_collection] if args.key?(:rest_collection) - @rest_method_name = args[:rest_method_name] if args.key?(:rest_method_name) @selector = args[:selector] if args.key?(:selector) end end @@ -2591,138 +2481,6 @@ module Google end end - # Defines the Media configuration for a service in case of a download. - # Use this only for Scotty Requests. Do not use this for media support using - # Bytestream, add instead [][google.bytestream.RestByteStream] as an API to - # your configuration for Bytestream methods. - class MediaDownload - include Google::Apis::Core::Hashable - - # A boolean that determines whether a notification for the completion of a - # download should be sent to the backend. - # Corresponds to the JSON property `completeNotification` - # @return [Boolean] - attr_accessor :complete_notification - alias_method :complete_notification?, :complete_notification - - # DO NOT USE FIELDS BELOW THIS LINE UNTIL THIS WARNING IS REMOVED. - # Specify name of the download service if one is used for download. - # Corresponds to the JSON property `downloadService` - # @return [String] - attr_accessor :download_service - - # Name of the Scotty dropzone to use for the current API. - # Corresponds to the JSON property `dropzone` - # @return [String] - attr_accessor :dropzone - - # Whether download is enabled. - # Corresponds to the JSON property `enabled` - # @return [Boolean] - attr_accessor :enabled - alias_method :enabled?, :enabled - - # Optional maximum acceptable size for direct download. - # The size is specified in bytes. - # Corresponds to the JSON property `maxDirectDownloadSize` - # @return [Fixnum] - attr_accessor :max_direct_download_size - - # A boolean that determines if direct download from ESF should be used for - # download of this media. - # Corresponds to the JSON property `useDirectDownload` - # @return [Boolean] - attr_accessor :use_direct_download - alias_method :use_direct_download?, :use_direct_download - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @complete_notification = args[:complete_notification] if args.key?(:complete_notification) - @download_service = args[:download_service] if args.key?(:download_service) - @dropzone = args[:dropzone] if args.key?(:dropzone) - @enabled = args[:enabled] if args.key?(:enabled) - @max_direct_download_size = args[:max_direct_download_size] if args.key?(:max_direct_download_size) - @use_direct_download = args[:use_direct_download] if args.key?(:use_direct_download) - end - end - - # Defines the Media configuration for a service in case of an upload. - # Use this only for Scotty Requests. Do not use this for media support using - # Bytestream, add instead [][google.bytestream.RestByteStream] as an API to - # your configuration for Bytestream methods. - class MediaUpload - include Google::Apis::Core::Hashable - - # A boolean that determines whether a notification for the completion of an - # upload should be sent to the backend. These notifications will not be seen - # by the client and will not consume quota. - # Corresponds to the JSON property `completeNotification` - # @return [Boolean] - attr_accessor :complete_notification - alias_method :complete_notification?, :complete_notification - - # Name of the Scotty dropzone to use for the current API. - # Corresponds to the JSON property `dropzone` - # @return [String] - attr_accessor :dropzone - - # Whether upload is enabled. - # Corresponds to the JSON property `enabled` - # @return [Boolean] - attr_accessor :enabled - alias_method :enabled?, :enabled - - # Optional maximum acceptable size for an upload. - # The size is specified in bytes. - # Corresponds to the JSON property `maxSize` - # @return [Fixnum] - attr_accessor :max_size - - # An array of mimetype patterns. Esf will only accept uploads that match one - # of the given patterns. - # Corresponds to the JSON property `mimeTypes` - # @return [Array] - attr_accessor :mime_types - - # Whether to receive a notification for progress changes of media upload. - # Corresponds to the JSON property `progressNotification` - # @return [Boolean] - attr_accessor :progress_notification - alias_method :progress_notification?, :progress_notification - - # Whether to receive a notification on the start of media upload. - # Corresponds to the JSON property `startNotification` - # @return [Boolean] - attr_accessor :start_notification - alias_method :start_notification?, :start_notification - - # DO NOT USE FIELDS BELOW THIS LINE UNTIL THIS WARNING IS REMOVED. - # Specify name of the upload service if one is used for upload. - # Corresponds to the JSON property `uploadService` - # @return [String] - attr_accessor :upload_service - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @complete_notification = args[:complete_notification] if args.key?(:complete_notification) - @dropzone = args[:dropzone] if args.key?(:dropzone) - @enabled = args[:enabled] if args.key?(:enabled) - @max_size = args[:max_size] if args.key?(:max_size) - @mime_types = args[:mime_types] if args.key?(:mime_types) - @progress_notification = args[:progress_notification] if args.key?(:progress_notification) - @start_notification = args[:start_notification] if args.key?(:start_notification) - @upload_service = args[:upload_service] if args.key?(:upload_service) - end - end - # Method represents a method of an API interface. class MethodProp include Google::Apis::Core::Hashable diff --git a/generated/google/apis/serviceusage_v1/representations.rb b/generated/google/apis/serviceusage_v1/representations.rb index d994aad42..6449ae508 100644 --- a/generated/google/apis/serviceusage_v1/representations.rb +++ b/generated/google/apis/serviceusage_v1/representations.rb @@ -58,12 +58,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class AuthorizationRule - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Backend class Representation < Google::Apis::Core::JsonRepresentation; end @@ -292,18 +286,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class MediaDownload - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class MediaUpload - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class MethodProp class Representation < Google::Apis::Core::JsonRepresentation; end @@ -513,14 +495,6 @@ module Google end end - class AuthorizationRule - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :permissions, as: 'permissions' - property :selector, as: 'selector' - end - end - class Backend # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -863,23 +837,15 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation collection :additional_bindings, as: 'additionalBindings', class: Google::Apis::ServiceusageV1::HttpRule, decorator: Google::Apis::ServiceusageV1::HttpRule::Representation - collection :authorizations, as: 'authorizations', class: Google::Apis::ServiceusageV1::AuthorizationRule, decorator: Google::Apis::ServiceusageV1::AuthorizationRule::Representation - property :body, as: 'body' property :custom, as: 'custom', class: Google::Apis::ServiceusageV1::CustomHttpPattern, decorator: Google::Apis::ServiceusageV1::CustomHttpPattern::Representation property :delete, as: 'delete' property :get, as: 'get' - property :media_download, as: 'mediaDownload', class: Google::Apis::ServiceusageV1::MediaDownload, decorator: Google::Apis::ServiceusageV1::MediaDownload::Representation - - property :media_upload, as: 'mediaUpload', class: Google::Apis::ServiceusageV1::MediaUpload, decorator: Google::Apis::ServiceusageV1::MediaUpload::Representation - property :patch, as: 'patch' property :post, as: 'post' property :put, as: 'put' property :response_body, as: 'responseBody' - property :rest_collection, as: 'restCollection' - property :rest_method_name, as: 'restMethodName' property :selector, as: 'selector' end end @@ -940,32 +906,6 @@ module Google end end - class MediaDownload - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :complete_notification, as: 'completeNotification' - property :download_service, as: 'downloadService' - property :dropzone, as: 'dropzone' - property :enabled, as: 'enabled' - property :max_direct_download_size, :numeric_string => true, as: 'maxDirectDownloadSize' - property :use_direct_download, as: 'useDirectDownload' - end - end - - class MediaUpload - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :complete_notification, as: 'completeNotification' - property :dropzone, as: 'dropzone' - property :enabled, as: 'enabled' - property :max_size, :numeric_string => true, as: 'maxSize' - collection :mime_types, as: 'mimeTypes' - property :progress_notification, as: 'progressNotification' - property :start_notification, as: 'startNotification' - property :upload_service, as: 'uploadService' - end - end - class MethodProp # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/serviceusage_v1beta1.rb b/generated/google/apis/serviceusage_v1beta1.rb index e348db389..dffaf3312 100644 --- a/generated/google/apis/serviceusage_v1beta1.rb +++ b/generated/google/apis/serviceusage_v1beta1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/service-usage/ module ServiceusageV1beta1 VERSION = 'V1beta1' - REVISION = '20180917' + REVISION = '20180919' # 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/serviceusage_v1beta1/classes.rb b/generated/google/apis/serviceusage_v1beta1/classes.rb index d6937e7e8..8643a5159 100644 --- a/generated/google/apis/serviceusage_v1beta1/classes.rb +++ b/generated/google/apis/serviceusage_v1beta1/classes.rb @@ -340,49 +340,6 @@ module Google end end - # Authorization rule for API services. - # It specifies the permission(s) required for an API element for the overall - # API request to succeed. It is typically used to mark request message fields - # that contain the name of the resource and indicates the permissions that - # will be checked on that resource. - # For example: - # package google.storage.v1; - # message CopyObjectRequest ` - # string source = 1 [ - # (google.api.authz).permissions = "storage.objects.get"]; - # string destination = 2 [ - # (google.api.authz).permissions = - # "storage.objects.create,storage.objects.update"]; - # ` - class AuthorizationRule - include Google::Apis::Core::Hashable - - # The required permissions. The acceptable values vary depend on the - # authorization system used. For Google APIs, it should be a comma-separated - # Google IAM permission values. When multiple permissions are listed, the - # semantics is not defined by the system. Additional documentation must - # be provided manually. - # Corresponds to the JSON property `permissions` - # @return [String] - attr_accessor :permissions - - # Selects the API elements to which this rule applies. - # Refer to selector for syntax details. - # Corresponds to the JSON property `selector` - # @return [String] - attr_accessor :selector - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @permissions = args[:permissions] if args.key?(:permissions) - @selector = args[:selector] if args.key?(:selector) - end - end - # `Backend` defines the backend configuration for a service. class Backend include Google::Apis::Core::Hashable @@ -2207,14 +2164,6 @@ module Google # @return [Array] attr_accessor :additional_bindings - # Specifies the permission(s) required for an API element for the overall - # API request to succeed. It is typically used to mark request message fields - # that contain the name of the resource and indicates the permissions that - # will be checked on that resource. - # Corresponds to the JSON property `authorizations` - # @return [Array] - attr_accessor :authorizations - # The name of the request field whose value is mapped to the HTTP request # body, or `*` for mapping all request fields not captured by the path # pattern to the HTTP body, or omitted for not having any HTTP request body. @@ -2240,22 +2189,6 @@ module Google # @return [String] attr_accessor :get - # Defines the Media configuration for a service in case of a download. - # Use this only for Scotty Requests. Do not use this for media support using - # Bytestream, add instead [][google.bytestream.RestByteStream] as an API to - # your configuration for Bytestream methods. - # Corresponds to the JSON property `mediaDownload` - # @return [Google::Apis::ServiceusageV1beta1::MediaDownload] - attr_accessor :media_download - - # Defines the Media configuration for a service in case of an upload. - # Use this only for Scotty Requests. Do not use this for media support using - # Bytestream, add instead [][google.bytestream.RestByteStream] as an API to - # your configuration for Bytestream methods. - # Corresponds to the JSON property `mediaUpload` - # @return [Google::Apis::ServiceusageV1beta1::MediaUpload] - attr_accessor :media_upload - # Maps to HTTP PATCH. Used for updating a resource. # Corresponds to the JSON property `patch` # @return [String] @@ -2280,44 +2213,6 @@ module Google # @return [String] attr_accessor :response_body - # DO NOT USE. This is an experimental field. - # Optional. The REST collection name is by default derived from the URL - # pattern. If specified, this field overrides the default collection name. - # Example: - # rpc AddressesAggregatedList(AddressesAggregatedListRequest) - # returns (AddressesAggregatedListResponse) ` - # option (google.api.http) = ` - # get: "/v1/projects/`project_id`/aggregated/addresses" - # rest_collection: "projects.addresses" - # `; - # ` - # This method has the automatically derived collection name - # "projects.aggregated". Because, semantically, this rpc is actually an - # operation on the "projects.addresses" collection, the `rest_collection` - # field is configured to override the derived collection name. - # Corresponds to the JSON property `restCollection` - # @return [String] - attr_accessor :rest_collection - - # DO NOT USE. This is an experimental field. - # Optional. The rest method name is by default derived from the URL - # pattern. If specified, this field overrides the default method name. - # Example: - # rpc CreateResource(CreateResourceRequest) - # returns (CreateResourceResponse) ` - # option (google.api.http) = ` - # post: "/v1/resources", - # body: "resource", - # rest_method_name: "insert" - # `; - # ` - # This method has the automatically derived rest method name - # "create", but for backwards compatibility with apiary, it is specified as - # insert. - # Corresponds to the JSON property `restMethodName` - # @return [String] - attr_accessor :rest_method_name - # Selects a method to which this rule applies. # Refer to selector for syntax details. # Corresponds to the JSON property `selector` @@ -2331,19 +2226,14 @@ module Google # Update properties of this object def update!(**args) @additional_bindings = args[:additional_bindings] if args.key?(:additional_bindings) - @authorizations = args[:authorizations] if args.key?(:authorizations) @body = args[:body] if args.key?(:body) @custom = args[:custom] if args.key?(:custom) @delete = args[:delete] if args.key?(:delete) @get = args[:get] if args.key?(:get) - @media_download = args[:media_download] if args.key?(:media_download) - @media_upload = args[:media_upload] if args.key?(:media_upload) @patch = args[:patch] if args.key?(:patch) @post = args[:post] if args.key?(:post) @put = args[:put] if args.key?(:put) @response_body = args[:response_body] if args.key?(:response_body) - @rest_collection = args[:rest_collection] if args.key?(:rest_collection) - @rest_method_name = args[:rest_method_name] if args.key?(:rest_method_name) @selector = args[:selector] if args.key?(:selector) end end @@ -2567,138 +2457,6 @@ module Google end end - # Defines the Media configuration for a service in case of a download. - # Use this only for Scotty Requests. Do not use this for media support using - # Bytestream, add instead [][google.bytestream.RestByteStream] as an API to - # your configuration for Bytestream methods. - class MediaDownload - include Google::Apis::Core::Hashable - - # A boolean that determines whether a notification for the completion of a - # download should be sent to the backend. - # Corresponds to the JSON property `completeNotification` - # @return [Boolean] - attr_accessor :complete_notification - alias_method :complete_notification?, :complete_notification - - # DO NOT USE FIELDS BELOW THIS LINE UNTIL THIS WARNING IS REMOVED. - # Specify name of the download service if one is used for download. - # Corresponds to the JSON property `downloadService` - # @return [String] - attr_accessor :download_service - - # Name of the Scotty dropzone to use for the current API. - # Corresponds to the JSON property `dropzone` - # @return [String] - attr_accessor :dropzone - - # Whether download is enabled. - # Corresponds to the JSON property `enabled` - # @return [Boolean] - attr_accessor :enabled - alias_method :enabled?, :enabled - - # Optional maximum acceptable size for direct download. - # The size is specified in bytes. - # Corresponds to the JSON property `maxDirectDownloadSize` - # @return [Fixnum] - attr_accessor :max_direct_download_size - - # A boolean that determines if direct download from ESF should be used for - # download of this media. - # Corresponds to the JSON property `useDirectDownload` - # @return [Boolean] - attr_accessor :use_direct_download - alias_method :use_direct_download?, :use_direct_download - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @complete_notification = args[:complete_notification] if args.key?(:complete_notification) - @download_service = args[:download_service] if args.key?(:download_service) - @dropzone = args[:dropzone] if args.key?(:dropzone) - @enabled = args[:enabled] if args.key?(:enabled) - @max_direct_download_size = args[:max_direct_download_size] if args.key?(:max_direct_download_size) - @use_direct_download = args[:use_direct_download] if args.key?(:use_direct_download) - end - end - - # Defines the Media configuration for a service in case of an upload. - # Use this only for Scotty Requests. Do not use this for media support using - # Bytestream, add instead [][google.bytestream.RestByteStream] as an API to - # your configuration for Bytestream methods. - class MediaUpload - include Google::Apis::Core::Hashable - - # A boolean that determines whether a notification for the completion of an - # upload should be sent to the backend. These notifications will not be seen - # by the client and will not consume quota. - # Corresponds to the JSON property `completeNotification` - # @return [Boolean] - attr_accessor :complete_notification - alias_method :complete_notification?, :complete_notification - - # Name of the Scotty dropzone to use for the current API. - # Corresponds to the JSON property `dropzone` - # @return [String] - attr_accessor :dropzone - - # Whether upload is enabled. - # Corresponds to the JSON property `enabled` - # @return [Boolean] - attr_accessor :enabled - alias_method :enabled?, :enabled - - # Optional maximum acceptable size for an upload. - # The size is specified in bytes. - # Corresponds to the JSON property `maxSize` - # @return [Fixnum] - attr_accessor :max_size - - # An array of mimetype patterns. Esf will only accept uploads that match one - # of the given patterns. - # Corresponds to the JSON property `mimeTypes` - # @return [Array] - attr_accessor :mime_types - - # Whether to receive a notification for progress changes of media upload. - # Corresponds to the JSON property `progressNotification` - # @return [Boolean] - attr_accessor :progress_notification - alias_method :progress_notification?, :progress_notification - - # Whether to receive a notification on the start of media upload. - # Corresponds to the JSON property `startNotification` - # @return [Boolean] - attr_accessor :start_notification - alias_method :start_notification?, :start_notification - - # DO NOT USE FIELDS BELOW THIS LINE UNTIL THIS WARNING IS REMOVED. - # Specify name of the upload service if one is used for upload. - # Corresponds to the JSON property `uploadService` - # @return [String] - attr_accessor :upload_service - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @complete_notification = args[:complete_notification] if args.key?(:complete_notification) - @dropzone = args[:dropzone] if args.key?(:dropzone) - @enabled = args[:enabled] if args.key?(:enabled) - @max_size = args[:max_size] if args.key?(:max_size) - @mime_types = args[:mime_types] if args.key?(:mime_types) - @progress_notification = args[:progress_notification] if args.key?(:progress_notification) - @start_notification = args[:start_notification] if args.key?(:start_notification) - @upload_service = args[:upload_service] if args.key?(:upload_service) - end - end - # Method represents a method of an API interface. class MethodProp include Google::Apis::Core::Hashable diff --git a/generated/google/apis/serviceusage_v1beta1/representations.rb b/generated/google/apis/serviceusage_v1beta1/representations.rb index fa3d95cd3..b00b75c04 100644 --- a/generated/google/apis/serviceusage_v1beta1/representations.rb +++ b/generated/google/apis/serviceusage_v1beta1/representations.rb @@ -58,12 +58,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class AuthorizationRule - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Backend class Representation < Google::Apis::Core::JsonRepresentation; end @@ -286,18 +280,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class MediaDownload - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class MediaUpload - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class MethodProp class Representation < Google::Apis::Core::JsonRepresentation; end @@ -519,14 +501,6 @@ module Google end end - class AuthorizationRule - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :permissions, as: 'permissions' - property :selector, as: 'selector' - end - end - class Backend # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -862,23 +836,15 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation collection :additional_bindings, as: 'additionalBindings', class: Google::Apis::ServiceusageV1beta1::HttpRule, decorator: Google::Apis::ServiceusageV1beta1::HttpRule::Representation - collection :authorizations, as: 'authorizations', class: Google::Apis::ServiceusageV1beta1::AuthorizationRule, decorator: Google::Apis::ServiceusageV1beta1::AuthorizationRule::Representation - property :body, as: 'body' property :custom, as: 'custom', class: Google::Apis::ServiceusageV1beta1::CustomHttpPattern, decorator: Google::Apis::ServiceusageV1beta1::CustomHttpPattern::Representation property :delete, as: 'delete' property :get, as: 'get' - property :media_download, as: 'mediaDownload', class: Google::Apis::ServiceusageV1beta1::MediaDownload, decorator: Google::Apis::ServiceusageV1beta1::MediaDownload::Representation - - property :media_upload, as: 'mediaUpload', class: Google::Apis::ServiceusageV1beta1::MediaUpload, decorator: Google::Apis::ServiceusageV1beta1::MediaUpload::Representation - property :patch, as: 'patch' property :post, as: 'post' property :put, as: 'put' property :response_body, as: 'responseBody' - property :rest_collection, as: 'restCollection' - property :rest_method_name, as: 'restMethodName' property :selector, as: 'selector' end end @@ -939,32 +905,6 @@ module Google end end - class MediaDownload - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :complete_notification, as: 'completeNotification' - property :download_service, as: 'downloadService' - property :dropzone, as: 'dropzone' - property :enabled, as: 'enabled' - property :max_direct_download_size, :numeric_string => true, as: 'maxDirectDownloadSize' - property :use_direct_download, as: 'useDirectDownload' - end - end - - class MediaUpload - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :complete_notification, as: 'completeNotification' - property :dropzone, as: 'dropzone' - property :enabled, as: 'enabled' - property :max_size, :numeric_string => true, as: 'maxSize' - collection :mime_types, as: 'mimeTypes' - property :progress_notification, as: 'progressNotification' - property :start_notification, as: 'startNotification' - property :upload_service, as: 'uploadService' - end - end - class MethodProp # @private class Representation < Google::Apis::Core::JsonRepresentation