From 90f7fd5c799f20643bd32406ea0224016da4e857 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Tue, 12 May 2020 00:38:26 +0000 Subject: [PATCH] Autogenerated update (2020-05-12) Update: - apigee_v1 --- generated/google/apis/apigee_v1.rb | 2 +- generated/google/apis/apigee_v1/classes.rb | 367 +---------- .../google/apis/apigee_v1/representations.rb | 128 ---- generated/google/apis/apigee_v1/service.rb | 572 ++---------------- 4 files changed, 61 insertions(+), 1008 deletions(-) diff --git a/generated/google/apis/apigee_v1.rb b/generated/google/apis/apigee_v1.rb index b1855dbb2..ae6dd7fe9 100644 --- a/generated/google/apis/apigee_v1.rb +++ b/generated/google/apis/apigee_v1.rb @@ -31,7 +31,7 @@ module Google # @see https://cloud.google.com/apigee-api-management/ module ApigeeV1 VERSION = 'V1' - REVISION = '20200502' + REVISION = '20200507' # 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/apigee_v1/classes.rb b/generated/google/apis/apigee_v1/classes.rb index a2f3f001f..75ba95033 100644 --- a/generated/google/apis/apigee_v1/classes.rb +++ b/generated/google/apis/apigee_v1/classes.rb @@ -905,51 +905,6 @@ module Google end end - # - class GoogleCloudApigeeV1AsyncQueryResultView - include Google::Apis::Core::Hashable - - # Error code when there is a failure. - # Corresponds to the JSON property `code` - # @return [Fixnum] - attr_accessor :code - - # Error message when there is a failure. - # Corresponds to the JSON property `error` - # @return [String] - attr_accessor :error - - # Metadata contains information like metrics, dimenstions etc - # of the AsyncQuery - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryMetadata] - attr_accessor :metadata - - # Rows of query result. Each row is a JSON object. - # Example: `sum(message_count): 1, developer_app: "(not set)",…` - # Corresponds to the JSON property `rows` - # @return [Array] - attr_accessor :rows - - # State of retrieving ResultView. - # Corresponds to the JSON property `state` - # @return [String] - attr_accessor :state - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @code = args[:code] if args.key?(:code) - @error = args[:error] if args.key?(:error) - @metadata = args[:metadata] if args.key?(:metadata) - @rows = args[:rows] if args.key?(:rows) - @state = args[:state] if args.key?(:state) - end - end - # Key-value pair to store extra metadata. class GoogleCloudApigeeV1Attribute include Google::Apis::Core::Hashable @@ -1120,234 +1075,6 @@ module Google end end - # - class GoogleCloudApigeeV1Company - include Google::Apis::Core::Hashable - - # - # Corresponds to the JSON property `apps` - # @return [Array] - attr_accessor :apps - - # A list of attributes - # Corresponds to the JSON property `attributes` - # @return [Array] - attr_accessor :attributes - - # Output only. Created time as milliseconds since epoch. - # json key: createdAt - # Corresponds to the JSON property `createdAt` - # @return [Fixnum] - attr_accessor :created_at - - # company name displayed in the UI - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # Output only. Modified time as milliseconds since epoch. - # json key: lastModifiedAt - # Corresponds to the JSON property `lastModifiedAt` - # @return [Fixnum] - attr_accessor :last_modified_at - - # Name of the company. Characters you can use in the name are restricted to: - # A-Z0-9._\-$ %. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # the org that the company is created - # Corresponds to the JSON property `organization` - # @return [String] - attr_accessor :organization - - # The status of the company - # Corresponds to the JSON property `status` - # @return [String] - attr_accessor :status - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @apps = args[:apps] if args.key?(:apps) - @attributes = args[:attributes] if args.key?(:attributes) - @created_at = args[:created_at] if args.key?(:created_at) - @display_name = args[:display_name] if args.key?(:display_name) - @last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at) - @name = args[:name] if args.key?(:name) - @organization = args[:organization] if args.key?(:organization) - @status = args[:status] if args.key?(:status) - end - end - - # - class GoogleCloudApigeeV1CompanyApp - include Google::Apis::Core::Hashable - - # Any API Products the app consumes - # Corresponds to the JSON property `apiProducts` - # @return [Array] - attr_accessor :api_products - - # - # Corresponds to the JSON property `appFamily` - # @return [String] - attr_accessor :app_family - - # The id of the app. - # Corresponds to the JSON property `appId` - # @return [String] - attr_accessor :app_id - - # A list of attributes. - # Corresponds to the JSON property `attributes` - # @return [Array] - attr_accessor :attributes - - # The callbackUrl is used by OAuth 2.0 authorization servers to communicate - # authorization codes back to apps. - # Corresponds to the JSON property `callbackUrl` - # @return [String] - attr_accessor :callback_url - - # The name of the company owns the app - # Corresponds to the JSON property `companyName` - # @return [String] - attr_accessor :company_name - - # Output only. created time of this environment as milliseconds since epoch. - # JSON key: createdAt - # Corresponds to the JSON property `createdAt` - # @return [Fixnum] - attr_accessor :created_at - - # Output only. A set of credentials for the app - # credentials are key/secret pairs - # Corresponds to the JSON property `credentials` - # @return [Array] - attr_accessor :credentials - - # A setting, in milliseconds, for the lifetime of the consumer key that will - # be generated for the developer app. The default value, -1, indicates an - # infinite validity period. Once set, the expiration can't be updated. - # json key: keyExpiresIn - # Corresponds to the JSON property `keyExpiresIn` - # @return [Fixnum] - attr_accessor :key_expires_in - - # Output only. Modified time as milliseconds since epoch. - # json key: lastModifiedAt - # Corresponds to the JSON property `lastModifiedAt` - # @return [Fixnum] - attr_accessor :last_modified_at - - # The resoure id of the app. - # JSON key: name - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The scopes to apply to the app. The specified scope names must already - # exist on the API product that you associate with the app. - # Corresponds to the JSON property `scopes` - # @return [Array] - attr_accessor :scopes - - # The status of the credential. - # Corresponds to the JSON property `status` - # @return [String] - attr_accessor :status - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @api_products = args[:api_products] if args.key?(:api_products) - @app_family = args[:app_family] if args.key?(:app_family) - @app_id = args[:app_id] if args.key?(:app_id) - @attributes = args[:attributes] if args.key?(:attributes) - @callback_url = args[:callback_url] if args.key?(:callback_url) - @company_name = args[:company_name] if args.key?(:company_name) - @created_at = args[:created_at] if args.key?(:created_at) - @credentials = args[:credentials] if args.key?(:credentials) - @key_expires_in = args[:key_expires_in] if args.key?(:key_expires_in) - @last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at) - @name = args[:name] if args.key?(:name) - @scopes = args[:scopes] if args.key?(:scopes) - @status = args[:status] if args.key?(:status) - end - end - - # - class GoogleCloudApigeeV1CompanyAppKey - include Google::Apis::Core::Hashable - - # A list of api products this credential can be used for. - # Corresponds to the JSON property `apiProducts` - # @return [Array] - attr_accessor :api_products - - # A list of attributes tied to the credential. - # Corresponds to the JSON property `attributes` - # @return [Array] - attr_accessor :attributes - - # The consumer key. - # Corresponds to the JSON property `consumerKey` - # @return [String] - attr_accessor :consumer_key - - # The secret key. - # Corresponds to the JSON property `consumerSecret` - # @return [String] - attr_accessor :consumer_secret - - # Unix time when the app was created - # json key: expiresAt - # Corresponds to the JSON property `expiresAt` - # @return [Fixnum] - attr_accessor :expires_at - - # Unix time when the app was issued - # json key: issuedAt - # Corresponds to the JSON property `issuedAt` - # @return [Fixnum] - attr_accessor :issued_at - - # The scopes to apply to the app. The specified scope names must already - # exist on the API product that you associate with the app. - # Corresponds to the JSON property `scopes` - # @return [Array] - attr_accessor :scopes - - # The status of the credential. - # Corresponds to the JSON property `status` - # @return [String] - attr_accessor :status - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @api_products = args[:api_products] if args.key?(:api_products) - @attributes = args[:attributes] if args.key?(:attributes) - @consumer_key = args[:consumer_key] if args.key?(:consumer_key) - @consumer_secret = args[:consumer_secret] if args.key?(:consumer_secret) - @expires_at = args[:expires_at] if args.key?(:expires_at) - @issued_at = args[:issued_at] if args.key?(:issued_at) - @scopes = args[:scopes] if args.key?(:scopes) - @status = args[:status] if args.key?(:status) - end - end - # Version of the API proxy configuration schema. Currently, only 4.0 is # supported. class GoogleCloudApigeeV1ConfigVersion @@ -1614,27 +1341,6 @@ module Google end end - # - class GoogleCloudApigeeV1DataLocation - include Google::Apis::Core::Hashable - - # GCS signed url. Signed URLs provide a way to give time-limited - # read or write access to anyone in possession of the URL, regardless of - # whether they have a Google account. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @url = args[:url] if args.key?(:url) - end - end - # class GoogleCloudApigeeV1DebugMask include Google::Apis::Core::Hashable @@ -2651,44 +2357,6 @@ module Google end end - # - class GoogleCloudApigeeV1ListCompaniesResponse - include Google::Apis::Core::Hashable - - # A list of company. - # Corresponds to the JSON property `company` - # @return [Array] - attr_accessor :company - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @company = args[:company] if args.key?(:company) - end - end - - # - class GoogleCloudApigeeV1ListCompanyAppsResponse - include Google::Apis::Core::Hashable - - # A list of apps for a company. - # Corresponds to the JSON property `app` - # @return [Array] - attr_accessor :app - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @app = args[:app] if args.key?(:app) - end - end - # This message encapsulates a list of custom report definitions class GoogleCloudApigeeV1ListCustomReportsResponse include Google::Apis::Core::Hashable @@ -3098,7 +2766,7 @@ module Google # @return [Fixnum] attr_accessor :last_modified_at - # Required. Name of the Apigee organization. + # Output only. Name of the Apigee organization. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -4753,10 +4421,13 @@ module Google # Google groups, and domains (such as G Suite). A `role` is a named list of # permissions; each `role` can be an IAM predefined role or a user-created # custom role. - # Optionally, a `binding` can specify a `condition`, which is a logical - # expression that allows access to a resource only if the expression evaluates - # to `true`. A condition can add constraints based on attributes of the - # request, the resource, or both. + # For some types of Google Cloud resources, a `binding` can also specify a + # `condition`, which is a logical expression that allows access to a resource + # only if the expression evaluates to `true`. A condition can add constraints + # based on attributes of the request, the resource, or both. To learn which + # resources support conditions in their IAM policies, see the + # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource- + # policies). # **JSON example:** # ` # "bindings": [ @@ -4771,7 +4442,9 @@ module Google # `, # ` # "role": "roles/resourcemanager.organizationViewer", - # "members": ["user:eve@example.com"], + # "members": [ + # "user:eve@example.com" + # ], # "condition": ` # "title": "expirable access", # "description": "Does not grant access after Sep 2020", @@ -4849,6 +4522,9 @@ module Google # the conditions in the version `3` policy are lost. # If a policy does not include any conditions, operations on that policy may # specify any valid version or leave the field unset. + # To learn which resources support conditions in their IAM policies, see the + # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource- + # policies). # Corresponds to the JSON property `version` # @return [Fixnum] attr_accessor :version @@ -4877,10 +4553,13 @@ module Google # Google groups, and domains (such as G Suite). A `role` is a named list of # permissions; each `role` can be an IAM predefined role or a user-created # custom role. - # Optionally, a `binding` can specify a `condition`, which is a logical - # expression that allows access to a resource only if the expression evaluates - # to `true`. A condition can add constraints based on attributes of the - # request, the resource, or both. + # For some types of Google Cloud resources, a `binding` can also specify a + # `condition`, which is a logical expression that allows access to a resource + # only if the expression evaluates to `true`. A condition can add constraints + # based on attributes of the request, the resource, or both. To learn which + # resources support conditions in their IAM policies, see the + # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource- + # policies). # **JSON example:** # ` # "bindings": [ @@ -4895,7 +4574,9 @@ module Google # `, # ` # "role": "roles/resourcemanager.organizationViewer", - # "members": ["user:eve@example.com"], + # "members": [ + # "user:eve@example.com" + # ], # "condition": ` # "title": "expirable access", # "description": "Does not grant access after Sep 2020", diff --git a/generated/google/apis/apigee_v1/representations.rb b/generated/google/apis/apigee_v1/representations.rb index 026d5a16c..de35eeb4b 100644 --- a/generated/google/apis/apigee_v1/representations.rb +++ b/generated/google/apis/apigee_v1/representations.rb @@ -106,12 +106,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudApigeeV1AsyncQueryResultView - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GoogleCloudApigeeV1Attribute class Representation < Google::Apis::Core::JsonRepresentation; end @@ -142,24 +136,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudApigeeV1Company - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudApigeeV1CompanyApp - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudApigeeV1CompanyAppKey - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GoogleCloudApigeeV1ConfigVersion class Representation < Google::Apis::Core::JsonRepresentation; end @@ -184,12 +160,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudApigeeV1DataLocation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GoogleCloudApigeeV1DebugMask class Representation < Google::Apis::Core::JsonRepresentation; end @@ -334,18 +304,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudApigeeV1ListCompaniesResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudApigeeV1ListCompanyAppsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GoogleCloudApigeeV1ListCustomReportsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -885,18 +843,6 @@ module Google end end - class GoogleCloudApigeeV1AsyncQueryResultView - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :code, as: 'code' - property :error, as: 'error' - property :metadata, as: 'metadata', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryMetadata, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryMetadata::Representation - - collection :rows, as: 'rows' - property :state, as: 'state' - end - end - class GoogleCloudApigeeV1Attribute # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -946,57 +892,6 @@ module Google end end - class GoogleCloudApigeeV1Company - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :apps, as: 'apps' - collection :attributes, as: 'attributes', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute::Representation - - property :created_at, :numeric_string => true, as: 'createdAt' - property :display_name, as: 'displayName' - property :last_modified_at, :numeric_string => true, as: 'lastModifiedAt' - property :name, as: 'name' - property :organization, as: 'organization' - property :status, as: 'status' - end - end - - class GoogleCloudApigeeV1CompanyApp - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :api_products, as: 'apiProducts' - property :app_family, as: 'appFamily' - property :app_id, as: 'appId' - collection :attributes, as: 'attributes', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute::Representation - - property :callback_url, as: 'callbackUrl' - property :company_name, as: 'companyName' - property :created_at, :numeric_string => true, as: 'createdAt' - collection :credentials, as: 'credentials', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Credential, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Credential::Representation - - property :key_expires_in, :numeric_string => true, as: 'keyExpiresIn' - property :last_modified_at, :numeric_string => true, as: 'lastModifiedAt' - property :name, as: 'name' - collection :scopes, as: 'scopes' - property :status, as: 'status' - end - end - - class GoogleCloudApigeeV1CompanyAppKey - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :api_products, as: 'apiProducts' - collection :attributes, as: 'attributes', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute::Representation - - property :consumer_key, as: 'consumerKey' - property :consumer_secret, as: 'consumerSecret' - property :expires_at, :numeric_string => true, as: 'expiresAt' - property :issued_at, :numeric_string => true, as: 'issuedAt' - collection :scopes, as: 'scopes' - property :status, as: 'status' - end - end - class GoogleCloudApigeeV1ConfigVersion # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1059,13 +954,6 @@ module Google end end - class GoogleCloudApigeeV1DataLocation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :url, as: 'url' - end - end - class GoogleCloudApigeeV1DebugMask # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1336,22 +1224,6 @@ module Google end end - class GoogleCloudApigeeV1ListCompaniesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :company, as: 'company', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Company, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Company::Representation - - end - end - - class GoogleCloudApigeeV1ListCompanyAppsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :app, as: 'app', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyApp, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyApp::Representation - - end - end - class GoogleCloudApigeeV1ListCustomReportsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/apigee_v1/service.rb b/generated/google/apis/apigee_v1/service.rb index 2df355e89..dabb3b71f 100644 --- a/generated/google/apis/apigee_v1/service.rb +++ b/generated/google/apis/apigee_v1/service.rb @@ -1259,466 +1259,6 @@ module Google execute_or_queue_command(command, &block) end - # Creates an app for a company. Note that you must first create a profile - # for the company in your organization before you can register apps that - # are associated with the company. - # @param [String] parent - # Name of org that the company will be created in - # ``parent=organizations/*`` - # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Company] google_cloud_apigee_v1_company_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Company] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Company] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_organization_company(parent, google_cloud_apigee_v1_company_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+parent}/companies', options) - command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Company::Representation - command.request_object = google_cloud_apigee_v1_company_object - command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Company::Representation - command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Company - command.params['parent'] = parent unless parent.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Deletes an existing company. - # @param [String] name - # The company resource name - # `organizations/`org`/companies/`company`` - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Company] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Company] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_organization_company(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/{+name}', options) - command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Company::Representation - command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Company - command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # List details for a company. - # @param [String] name - # The company resource name - # `organizations/`org`/companies/`company`` - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Company] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Company] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_organization_company(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) - command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Company::Representation - command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Company - command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # List all companies in an organization, and optionally returns an - # expanded list of companies, displaying a full profile for each company in - # the organization. - # @param [String] parent - # The parent organization name - # `organizations/`org`` - # @param [Fixnum] count - # Limits the list to the number you specify. The limit is 100. - # @param [Boolean] expand - # Set expand to true to return a full profile for each company. - # @param [Boolean] include_developers - # Optional. include developers in the response. - # @param [String] start_key - # To filter the keys that are returned, enter the email of a developer - # that the list will start with. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListCompaniesResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListCompaniesResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_organization_companies(parent, count: nil, expand: nil, include_developers: nil, start_key: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+parent}/companies', options) - command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListCompaniesResponse::Representation - command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListCompaniesResponse - command.params['parent'] = parent unless parent.nil? - command.query['count'] = count unless count.nil? - command.query['expand'] = expand unless expand.nil? - command.query['includeDevelopers'] = include_developers unless include_developers.nil? - command.query['startKey'] = start_key unless start_key.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Updates an existing company. - # Send the complete company record as a payload with any changes you want to - # make. Note that to change the status of the Company you use Set the Status - # of a Company. The attributes in the sample payload below apply to company - # configuration in monetization. For non-monetized companies, you need send - # only displayName. - # @param [String] name - # Name of the company to be updated. - # ``name=organizations/*/companies/*`` - # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Company] google_cloud_apigee_v1_company_object - # @param [String] action - # Specify the status as active or inactive. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Company] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Company] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_organization_company(name, google_cloud_apigee_v1_company_object = nil, action: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:put, 'v1/{+name}', options) - command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Company::Representation - command.request_object = google_cloud_apigee_v1_company_object - command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Company::Representation - command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Company - command.params['name'] = name unless name.nil? - command.query['action'] = action unless action.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Creates an app for a company. - # @param [String] parent - # Resource path of the parent: `organizations/`org`/companies/`company_name`` - # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyApp] google_cloud_apigee_v1_company_app_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyApp] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyApp] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_organization_company_app(parent, google_cloud_apigee_v1_company_app_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+parent}/apps', options) - command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyApp::Representation - command.request_object = google_cloud_apigee_v1_company_app_object - command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyApp::Representation - command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyApp - command.params['parent'] = parent unless parent.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Deletes a company app. - # @param [String] name - # name of the app resource: - # `organizations/`org`/companies/`company_name`/apps/`app_name`` - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyApp] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyApp] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_organization_company_app(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/{+name}', options) - command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyApp::Representation - command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyApp - command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Gets the profile of a specific company app. - # @param [String] name - # name of the app resource: - # `organizations/`org`/companies/`company_name`/apps/`app_name`` - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyApp] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyApp] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_organization_company_app(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) - command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyApp::Representation - command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyApp - command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # List company apps in an organization. You can optionally expand the - # response to include the profile for each app. - # @param [String] parent - # The name of a company resource: - # `organizations/`org`/companies/`company_name`` - # @param [Fixnum] count - # Limits the list to the number you specify. The limit is 100. - # @param [Boolean] expand - # Set expand to true to return a full profile - # @param [String] start_key - # Lets you return a list of app starting with a specific app name in the - # list. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListCompanyAppsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListCompanyAppsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_organization_company_apps(parent, count: nil, expand: nil, start_key: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+parent}/apps', options) - command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListCompanyAppsResponse::Representation - command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListCompanyAppsResponse - command.params['parent'] = parent unless parent.nil? - command.query['count'] = count unless count.nil? - command.query['expand'] = expand unless expand.nil? - command.query['startKey'] = start_key unless start_key.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Updates an existing company app. - # @param [String] name - # Resource path of the app: - # `organizations/`org`/companies/`company_name`/apps/`app_name`` - # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyApp] google_cloud_apigee_v1_company_app_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyApp] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyApp] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_organization_company_app(name, google_cloud_apigee_v1_company_app_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:put, 'v1/{+name}', options) - command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyApp::Representation - command.request_object = google_cloud_apigee_v1_company_app_object - command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyApp::Representation - command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyApp - command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Deletes a key for a company app and removes all API products associated - # with the app. The key can no longer be used to access any APIs. - # @param [String] name - # Resource name of a company app key - # `organizations/`org`/companies/`company`/apps/`app`/keys/`key`` - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyAppKey] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyAppKey] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_organization_company_app_key(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/{+name}', options) - command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyAppKey::Representation - command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyAppKey - command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Gets information about the consumer key issued to a specific company app. - # @param [String] name - # Resource name of a company app key - # `organizations/`org`/companies/`company`/apps/`app`/keys/`key`` - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyAppKey] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyAppKey] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_organization_company_app_key(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) - command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyAppKey::Representation - command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyAppKey - command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Updates an existing company app key to add additional API products or - # attributes. Note that only a single API product can be resolved per app - # key at runtime. API products are resolved by name, in alphabetical order. - # The first API product found in the list will be returned. - # @param [String] name - # Resource name of a company app key - # `organizations/`org`/companies/`company`/apps/`app`/keys/`key`` - # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyAppKey] google_cloud_apigee_v1_company_app_key_object - # @param [String] action - # Set action to approve or revoke. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyAppKey] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyAppKey] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_organization_company_app_key_company_app_key(name, google_cloud_apigee_v1_company_app_key_object = nil, action: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+name}', options) - command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyAppKey::Representation - command.request_object = google_cloud_apigee_v1_company_app_key_object - command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyAppKey::Representation - command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyAppKey - command.params['name'] = name unless name.nil? - command.query['action'] = action unless action.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - # Lists all deployments of API proxies or shared flows. # @param [String] parent # Required. Name of the organization for which to return deployment information @@ -3129,51 +2669,6 @@ module Google execute_or_queue_command(command, &block) end - # Get Google Cloud Storage (GCS) signed url for specific organization and - # environment. Collection agent uses this signed url to upload data - # to GCS bucket. - # @param [String] name - # Required. The parent organization and environment names. Must be of the - # form `organizations/`org`/environments/`env`/datalocation`. - # @param [String] content_type - # Content-Type for uploaded file. - # @param [String] dataset - # Required. Dataset could be one of `api`, `mint`, `trace` and `event` - # @param [String] relative_file_path - # Required. Relative path to the GCS bucket - # @param [String] repo - # Required. Repository name - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataLocation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataLocation] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_organization_environment_datalocation(name, content_type: nil, dataset: nil, relative_file_path: nil, repo: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) - command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataLocation::Representation - command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataLocation - command.params['name'] = name unless name.nil? - command.query['contentType'] = content_type unless content_type.nil? - command.query['dataset'] = dataset unless dataset.nil? - command.query['relativeFilePath'] = relative_file_path unless relative_file_path.nil? - command.query['repo'] = repo unless repo.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - # Gets the debug mask singleton resource for an environment. # @param [String] name # Required. Name of the debug mask. Use the following structure in your request: @@ -3253,6 +2748,9 @@ module Google # Requests for policies with any conditional bindings must specify version 3. # Policies without any conditional bindings may specify any valid value or # leave the field unset. + # To learn which resources support conditions in their IAM policies, see the + # [IAM + # documentation](https://cloud.google.com/iam/help/conditions/resource-policies). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -3753,6 +3251,39 @@ module Google execute_or_queue_command(command, &block) end + # Retrieves a debug session. + # @param [String] name + # Required. The name of the debug session to retrieve. + # Must be of the form: + # `organizations/`organization`/environments/`environment`/apis/`api`/revisions/ + # `revision`/debugsessions/`session``. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugSession] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugSession] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_organization_environment_api_revision_debugsession(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugSession::Representation + command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugSession + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Lists debug sessions that are currently active in the given API Proxy # revision. # @param [String] parent @@ -4603,37 +4134,6 @@ module Google execute_or_queue_command(command, &block) end - # - # @param [String] name - # Required. Name of the asynchronous query result view to get. Must be of the - # form `organizations/`org`/environments/`env`/queries/`queryId`/resultView`. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQueryResultView] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQueryResultView] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_organization_environment_query_result_view(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) - command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQueryResultView::Representation - command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQueryResultView - command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - # Return a list of Asynchronous Queries # @param [String] parent # Required. The parent organization and environment names.