Autogenerated update (2020-07-12)
Update: - apigee_v1 - cloudfunctions_v1 - cloudfunctions_v1beta2
This commit is contained in:
parent
ab249dcd41
commit
426373a5c5
|
@ -9578,6 +9578,23 @@
|
|||
"/apigee:v1/GoogleCloudApigeeV1DataCollectorConfig": google_cloud_apigee_v1_data_collector_config
|
||||
"/apigee:v1/GoogleCloudApigeeV1DataCollectorConfig/name": name
|
||||
"/apigee:v1/GoogleCloudApigeeV1DataCollectorConfig/type": type
|
||||
"/apigee:v1/GoogleCloudApigeeV1Datastore": google_cloud_apigee_v1_datastore
|
||||
"/apigee:v1/GoogleCloudApigeeV1Datastore/createTime": create_time
|
||||
"/apigee:v1/GoogleCloudApigeeV1Datastore/datastoreConfig": datastore_config
|
||||
"/apigee:v1/GoogleCloudApigeeV1Datastore/displayName": display_name
|
||||
"/apigee:v1/GoogleCloudApigeeV1Datastore/lastUpdateTime": last_update_time
|
||||
"/apigee:v1/GoogleCloudApigeeV1Datastore/org": org
|
||||
"/apigee:v1/GoogleCloudApigeeV1Datastore/self": self
|
||||
"/apigee:v1/GoogleCloudApigeeV1Datastore/targetType": target_type
|
||||
"/apigee:v1/GoogleCloudApigeeV1DatastoreConfig": google_cloud_apigee_v1_datastore_config
|
||||
"/apigee:v1/GoogleCloudApigeeV1DatastoreConfig/bucketName": bucket_name
|
||||
"/apigee:v1/GoogleCloudApigeeV1DatastoreConfig/datasetName": dataset_name
|
||||
"/apigee:v1/GoogleCloudApigeeV1DatastoreConfig/path": path
|
||||
"/apigee:v1/GoogleCloudApigeeV1DatastoreConfig/projectId": project_id
|
||||
"/apigee:v1/GoogleCloudApigeeV1DatastoreConfig/tablePrefix": table_prefix
|
||||
"/apigee:v1/GoogleCloudApigeeV1DateRange": google_cloud_apigee_v1_date_range
|
||||
"/apigee:v1/GoogleCloudApigeeV1DateRange/end": end
|
||||
"/apigee:v1/GoogleCloudApigeeV1DateRange/start": start
|
||||
"/apigee:v1/GoogleCloudApigeeV1DebugMask": google_cloud_apigee_v1_debug_mask
|
||||
"/apigee:v1/GoogleCloudApigeeV1DebugMask/faultJSONPaths": fault_json_paths
|
||||
"/apigee:v1/GoogleCloudApigeeV1DebugMask/faultJSONPaths/fault_json_path": fault_json_path
|
||||
|
@ -9759,6 +9776,23 @@
|
|||
"/apigee:v1/GoogleCloudApigeeV1EnvironmentGroupConfig/routingRules": routing_rules
|
||||
"/apigee:v1/GoogleCloudApigeeV1EnvironmentGroupConfig/routingRules/routing_rule": routing_rule
|
||||
"/apigee:v1/GoogleCloudApigeeV1EnvironmentGroupConfig/uid": uid
|
||||
"/apigee:v1/GoogleCloudApigeeV1Export": google_cloud_apigee_v1_export
|
||||
"/apigee:v1/GoogleCloudApigeeV1Export/created": created
|
||||
"/apigee:v1/GoogleCloudApigeeV1Export/datastoreName": datastore_name
|
||||
"/apigee:v1/GoogleCloudApigeeV1Export/description": description
|
||||
"/apigee:v1/GoogleCloudApigeeV1Export/error": error
|
||||
"/apigee:v1/GoogleCloudApigeeV1Export/executionTime": execution_time
|
||||
"/apigee:v1/GoogleCloudApigeeV1Export/name": name
|
||||
"/apigee:v1/GoogleCloudApigeeV1Export/self": self
|
||||
"/apigee:v1/GoogleCloudApigeeV1Export/state": state
|
||||
"/apigee:v1/GoogleCloudApigeeV1Export/updated": updated
|
||||
"/apigee:v1/GoogleCloudApigeeV1ExportRequest": google_cloud_apigee_v1_export_request
|
||||
"/apigee:v1/GoogleCloudApigeeV1ExportRequest/csvDelimiter": csv_delimiter
|
||||
"/apigee:v1/GoogleCloudApigeeV1ExportRequest/datastoreName": datastore_name
|
||||
"/apigee:v1/GoogleCloudApigeeV1ExportRequest/dateRange": date_range
|
||||
"/apigee:v1/GoogleCloudApigeeV1ExportRequest/description": description
|
||||
"/apigee:v1/GoogleCloudApigeeV1ExportRequest/name": name
|
||||
"/apigee:v1/GoogleCloudApigeeV1ExportRequest/outputFormat": output_format
|
||||
"/apigee:v1/GoogleCloudApigeeV1FlowHook": google_cloud_apigee_v1_flow_hook
|
||||
"/apigee:v1/GoogleCloudApigeeV1FlowHook/continueOnError": continue_on_error
|
||||
"/apigee:v1/GoogleCloudApigeeV1FlowHook/description": description
|
||||
|
@ -9784,6 +9818,7 @@
|
|||
"/apigee:v1/GoogleCloudApigeeV1Instance/displayName": display_name
|
||||
"/apigee:v1/GoogleCloudApigeeV1Instance/host": host
|
||||
"/apigee:v1/GoogleCloudApigeeV1Instance/lastModifiedAt": last_modified_at
|
||||
"/apigee:v1/GoogleCloudApigeeV1Instance/location": location
|
||||
"/apigee:v1/GoogleCloudApigeeV1Instance/name": name
|
||||
"/apigee:v1/GoogleCloudApigeeV1Instance/port": port
|
||||
"/apigee:v1/GoogleCloudApigeeV1Instance/region": region
|
||||
|
@ -9834,6 +9869,9 @@
|
|||
"/apigee:v1/GoogleCloudApigeeV1ListCustomReportsResponse": google_cloud_apigee_v1_list_custom_reports_response
|
||||
"/apigee:v1/GoogleCloudApigeeV1ListCustomReportsResponse/qualifier": qualifier
|
||||
"/apigee:v1/GoogleCloudApigeeV1ListCustomReportsResponse/qualifier/qualifier": qualifier
|
||||
"/apigee:v1/GoogleCloudApigeeV1ListDatastoresResponse": google_cloud_apigee_v1_list_datastores_response
|
||||
"/apigee:v1/GoogleCloudApigeeV1ListDatastoresResponse/datastores": datastores
|
||||
"/apigee:v1/GoogleCloudApigeeV1ListDatastoresResponse/datastores/datastore": datastore
|
||||
"/apigee:v1/GoogleCloudApigeeV1ListDebugSessionsResponse": google_cloud_apigee_v1_list_debug_sessions_response
|
||||
"/apigee:v1/GoogleCloudApigeeV1ListDebugSessionsResponse/nextPageToken": next_page_token
|
||||
"/apigee:v1/GoogleCloudApigeeV1ListDebugSessionsResponse/sessions": sessions
|
||||
|
@ -9855,6 +9893,9 @@
|
|||
"/apigee:v1/GoogleCloudApigeeV1ListEnvironmentResourcesResponse": google_cloud_apigee_v1_list_environment_resources_response
|
||||
"/apigee:v1/GoogleCloudApigeeV1ListEnvironmentResourcesResponse/resourceFile": resource_file
|
||||
"/apigee:v1/GoogleCloudApigeeV1ListEnvironmentResourcesResponse/resourceFile/resource_file": resource_file
|
||||
"/apigee:v1/GoogleCloudApigeeV1ListExportsResponse": google_cloud_apigee_v1_list_exports_response
|
||||
"/apigee:v1/GoogleCloudApigeeV1ListExportsResponse/exports": exports
|
||||
"/apigee:v1/GoogleCloudApigeeV1ListExportsResponse/exports/export": export
|
||||
"/apigee:v1/GoogleCloudApigeeV1ListHybridIssuersResponse": google_cloud_apigee_v1_list_hybrid_issuers_response
|
||||
"/apigee:v1/GoogleCloudApigeeV1ListHybridIssuersResponse/issuers": issuers
|
||||
"/apigee:v1/GoogleCloudApigeeV1ListHybridIssuersResponse/issuers/issuer": issuer
|
||||
|
@ -10099,6 +10140,9 @@
|
|||
"/apigee:v1/GoogleCloudApigeeV1TargetServerConfig/name": name
|
||||
"/apigee:v1/GoogleCloudApigeeV1TargetServerConfig/port": port
|
||||
"/apigee:v1/GoogleCloudApigeeV1TargetServerConfig/tlsInfo": tls_info
|
||||
"/apigee:v1/GoogleCloudApigeeV1TestDatastoreResponse": google_cloud_apigee_v1_test_datastore_response
|
||||
"/apigee:v1/GoogleCloudApigeeV1TestDatastoreResponse/error": error
|
||||
"/apigee:v1/GoogleCloudApigeeV1TestDatastoreResponse/state": state
|
||||
"/apigee:v1/GoogleCloudApigeeV1TlsInfo": google_cloud_apigee_v1_tls_info
|
||||
"/apigee:v1/GoogleCloudApigeeV1TlsInfo/ciphers": ciphers
|
||||
"/apigee:v1/GoogleCloudApigeeV1TlsInfo/ciphers/cipher": cipher
|
||||
|
@ -10193,6 +10237,19 @@
|
|||
"/apigee:v1/GoogleTypeExpr/title": title
|
||||
"/apigee:v1/apigee.hybrid.issuers.list": list_hybrid_issuers
|
||||
"/apigee:v1/apigee.hybrid.issuers.list/name": name
|
||||
"/apigee:v1/apigee.organizations.analytics.datastores.create": create_organization_analytic_datastore
|
||||
"/apigee:v1/apigee.organizations.analytics.datastores.create/parent": parent
|
||||
"/apigee:v1/apigee.organizations.analytics.datastores.delete": delete_organization_analytic_datastore
|
||||
"/apigee:v1/apigee.organizations.analytics.datastores.delete/name": name
|
||||
"/apigee:v1/apigee.organizations.analytics.datastores.get": get_organization_analytic_datastore
|
||||
"/apigee:v1/apigee.organizations.analytics.datastores.get/name": name
|
||||
"/apigee:v1/apigee.organizations.analytics.datastores.list": list_organization_analytic_datastores
|
||||
"/apigee:v1/apigee.organizations.analytics.datastores.list/parent": parent
|
||||
"/apigee:v1/apigee.organizations.analytics.datastores.list/targetType": target_type
|
||||
"/apigee:v1/apigee.organizations.analytics.datastores.test": test_organization_analytic_datastore
|
||||
"/apigee:v1/apigee.organizations.analytics.datastores.test/parent": parent
|
||||
"/apigee:v1/apigee.organizations.analytics.datastores.update": update_organization_analytic_datastore
|
||||
"/apigee:v1/apigee.organizations.analytics.datastores.update/name": name
|
||||
"/apigee:v1/apigee.organizations.apiproducts.attributes": attributes_organization_apiproduct
|
||||
"/apigee:v1/apigee.organizations.apiproducts.attributes.delete": delete_organization_apiproduct_attribute
|
||||
"/apigee:v1/apigee.organizations.apiproducts.attributes.delete/name": name
|
||||
|
@ -10368,6 +10425,12 @@
|
|||
"/apigee:v1/apigee.organizations.environments.analytics.admin.getSchemav2": get_organization_environment_analytic_admin_schemav2
|
||||
"/apigee:v1/apigee.organizations.environments.analytics.admin.getSchemav2/name": name
|
||||
"/apigee:v1/apigee.organizations.environments.analytics.admin.getSchemav2/type": type
|
||||
"/apigee:v1/apigee.organizations.environments.analytics.exports.create": create_organization_environment_analytic_export
|
||||
"/apigee:v1/apigee.organizations.environments.analytics.exports.create/parent": parent
|
||||
"/apigee:v1/apigee.organizations.environments.analytics.exports.get": get_organization_environment_analytic_export
|
||||
"/apigee:v1/apigee.organizations.environments.analytics.exports.get/name": name
|
||||
"/apigee:v1/apigee.organizations.environments.analytics.exports.list": list_organization_environment_analytic_exports
|
||||
"/apigee:v1/apigee.organizations.environments.analytics.exports.list/parent": parent
|
||||
"/apigee:v1/apigee.organizations.environments.apis.deployments.list": list_organization_environment_api_deployments
|
||||
"/apigee:v1/apigee.organizations.environments.apis.deployments.list/parent": parent
|
||||
"/apigee:v1/apigee.organizations.environments.apis.revisions.debugsessions.create": create_organization_environment_api_revision_debugsession
|
||||
|
@ -20206,6 +20269,7 @@
|
|||
"/cloudfunctions:v1/CallFunctionResponse/result": result
|
||||
"/cloudfunctions:v1/CloudFunction": cloud_function
|
||||
"/cloudfunctions:v1/CloudFunction/availableMemoryMb": available_memory_mb
|
||||
"/cloudfunctions:v1/CloudFunction/buildId": build_id
|
||||
"/cloudfunctions:v1/CloudFunction/description": description
|
||||
"/cloudfunctions:v1/CloudFunction/entryPoint": entry_point
|
||||
"/cloudfunctions:v1/CloudFunction/environmentVariables": environment_variables
|
||||
|
@ -20281,6 +20345,7 @@
|
|||
"/cloudfunctions:v1/Operation/response": response
|
||||
"/cloudfunctions:v1/Operation/response/response": response
|
||||
"/cloudfunctions:v1/OperationMetadataV1": operation_metadata_v1
|
||||
"/cloudfunctions:v1/OperationMetadataV1/buildId": build_id
|
||||
"/cloudfunctions:v1/OperationMetadataV1/request": request
|
||||
"/cloudfunctions:v1/OperationMetadataV1/request/request": request
|
||||
"/cloudfunctions:v1/OperationMetadataV1/target": target
|
||||
|
@ -20438,6 +20503,7 @@
|
|||
"/cloudfunctions:v1beta2/Operation/response": response
|
||||
"/cloudfunctions:v1beta2/Operation/response/response": response
|
||||
"/cloudfunctions:v1beta2/OperationMetadataV1": operation_metadata_v1
|
||||
"/cloudfunctions:v1beta2/OperationMetadataV1/buildId": build_id
|
||||
"/cloudfunctions:v1beta2/OperationMetadataV1/request": request
|
||||
"/cloudfunctions:v1beta2/OperationMetadataV1/request/request": request
|
||||
"/cloudfunctions:v1beta2/OperationMetadataV1/target": target
|
||||
|
|
|
@ -31,7 +31,7 @@ module Google
|
|||
# @see https://cloud.google.com/apigee-api-management/
|
||||
module ApigeeV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20200706'
|
||||
REVISION = '20200710'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -1365,6 +1365,143 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# The data store defines the connection to export data repository
|
||||
# (Cloud Storage, BigQuery), including the credentials used to access the data
|
||||
# repository.
|
||||
class GoogleCloudApigeeV1Datastore
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Output only. Datastore create time, in milliseconds since the epoch
|
||||
# of 1970-01-01T00:00:00Z
|
||||
# Corresponds to the JSON property `createTime`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :create_time
|
||||
|
||||
# Configuration detail for datastore
|
||||
# Corresponds to the JSON property `datastoreConfig`
|
||||
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DatastoreConfig]
|
||||
attr_accessor :datastore_config
|
||||
|
||||
# Required. Display name in UI
|
||||
# Corresponds to the JSON property `displayName`
|
||||
# @return [String]
|
||||
attr_accessor :display_name
|
||||
|
||||
# Output only. Datastore last update time, in milliseconds since the epoch
|
||||
# of 1970-01-01T00:00:00Z
|
||||
# Corresponds to the JSON property `lastUpdateTime`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :last_update_time
|
||||
|
||||
# Output only. Organization that the datastore belongs to
|
||||
# Corresponds to the JSON property `org`
|
||||
# @return [String]
|
||||
attr_accessor :org
|
||||
|
||||
# Output only. Resource link of Datastore.
|
||||
# Example: `/organizations/`org`/analytics/datastores/`uuid``
|
||||
# Corresponds to the JSON property `self`
|
||||
# @return [String]
|
||||
attr_accessor :self
|
||||
|
||||
# Destination storage type.
|
||||
# Supported types `gcs` or `bigquery`.
|
||||
# Corresponds to the JSON property `targetType`
|
||||
# @return [String]
|
||||
attr_accessor :target_type
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@create_time = args[:create_time] if args.key?(:create_time)
|
||||
@datastore_config = args[:datastore_config] if args.key?(:datastore_config)
|
||||
@display_name = args[:display_name] if args.key?(:display_name)
|
||||
@last_update_time = args[:last_update_time] if args.key?(:last_update_time)
|
||||
@org = args[:org] if args.key?(:org)
|
||||
@self = args[:self] if args.key?(:self)
|
||||
@target_type = args[:target_type] if args.key?(:target_type)
|
||||
end
|
||||
end
|
||||
|
||||
# Configuration detail for datastore
|
||||
class GoogleCloudApigeeV1DatastoreConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Name of the Cloud Storage bucket.
|
||||
# Required for `gcs` target_type.
|
||||
# Corresponds to the JSON property `bucketName`
|
||||
# @return [String]
|
||||
attr_accessor :bucket_name
|
||||
|
||||
# BigQuery dataset name
|
||||
# Required for `bigquery` target_type.
|
||||
# Corresponds to the JSON property `datasetName`
|
||||
# @return [String]
|
||||
attr_accessor :dataset_name
|
||||
|
||||
# Path of Cloud Storage bucket
|
||||
# Required for `gcs` target_type.
|
||||
# Corresponds to the JSON property `path`
|
||||
# @return [String]
|
||||
attr_accessor :path
|
||||
|
||||
# Required. GCP project in which the datastore exists
|
||||
# Corresponds to the JSON property `projectId`
|
||||
# @return [String]
|
||||
attr_accessor :project_id
|
||||
|
||||
# Prefix of BigQuery table
|
||||
# Required for `bigquery` target_type.
|
||||
# Corresponds to the JSON property `tablePrefix`
|
||||
# @return [String]
|
||||
attr_accessor :table_prefix
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@bucket_name = args[:bucket_name] if args.key?(:bucket_name)
|
||||
@dataset_name = args[:dataset_name] if args.key?(:dataset_name)
|
||||
@path = args[:path] if args.key?(:path)
|
||||
@project_id = args[:project_id] if args.key?(:project_id)
|
||||
@table_prefix = args[:table_prefix] if args.key?(:table_prefix)
|
||||
end
|
||||
end
|
||||
|
||||
# Date range of the data to export.
|
||||
class GoogleCloudApigeeV1DateRange
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Required. End date (exclusive) of the data to export in the format `yyyy-mm-dd`
|
||||
# .
|
||||
# The date range ends at 00:00:00 UTC on the end date- which will not be in
|
||||
# the output.
|
||||
# Corresponds to the JSON property `end`
|
||||
# @return [String]
|
||||
attr_accessor :end
|
||||
|
||||
# Required. Start date of the data to export in the format `yyyy-mm-dd`.
|
||||
# The date range begins at 00:00:00 UTC on the start date.
|
||||
# Corresponds to the JSON property `start`
|
||||
# @return [String]
|
||||
attr_accessor :start
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@end = args[:end] if args.key?(:end)
|
||||
@start = args[:start] if args.key?(:start)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class GoogleCloudApigeeV1DebugMask
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -2461,6 +2598,136 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Details of an export job.
|
||||
class GoogleCloudApigeeV1Export
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Output only. Time the export job was created.
|
||||
# Corresponds to the JSON property `created`
|
||||
# @return [String]
|
||||
attr_accessor :created
|
||||
|
||||
# Name of the datastore that is the destination of the export job [datastore]
|
||||
# Corresponds to the JSON property `datastoreName`
|
||||
# @return [String]
|
||||
attr_accessor :datastore_name
|
||||
|
||||
# Description of the export job.
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# Output only. Error is set when export fails
|
||||
# Corresponds to the JSON property `error`
|
||||
# @return [String]
|
||||
attr_accessor :error
|
||||
|
||||
# Output only. Execution time for this export job.
|
||||
# If the job is still in progress, it will be set to the amount of time that
|
||||
# has elapsed since`created`, in seconds.
|
||||
# Else, it will set to (`updated` - `created`), in seconds.
|
||||
# Corresponds to the JSON property `executionTime`
|
||||
# @return [String]
|
||||
attr_accessor :execution_time
|
||||
|
||||
# Display name of the export job.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Output only. Self link of the export job.
|
||||
# A URI that can be used to retrieve the status of an export job.
|
||||
# Example:
|
||||
# `/organizations/myorg/environments/myenv/analytics/exports/9cfc0d85-0f30-46d6-
|
||||
# ae6f-318d0cb961bd`
|
||||
# Corresponds to the JSON property `self`
|
||||
# @return [String]
|
||||
attr_accessor :self
|
||||
|
||||
# Output only. Status of the export job.
|
||||
# Valid values include `enqueued`, `running`, `completed`, and `failed`.
|
||||
# Corresponds to the JSON property `state`
|
||||
# @return [String]
|
||||
attr_accessor :state
|
||||
|
||||
# Output only. Time the export job was last updated.
|
||||
# Corresponds to the JSON property `updated`
|
||||
# @return [String]
|
||||
attr_accessor :updated
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@created = args[:created] if args.key?(:created)
|
||||
@datastore_name = args[:datastore_name] if args.key?(:datastore_name)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@error = args[:error] if args.key?(:error)
|
||||
@execution_time = args[:execution_time] if args.key?(:execution_time)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@self = args[:self] if args.key?(:self)
|
||||
@state = args[:state] if args.key?(:state)
|
||||
@updated = args[:updated] if args.key?(:updated)
|
||||
end
|
||||
end
|
||||
|
||||
# Request body for [CreateExportRequest]
|
||||
class GoogleCloudApigeeV1ExportRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Optional. Delimiter used in the CSV file, if `outputFormat` is set
|
||||
# to `csv`. Defaults to the `,` (comma) character.
|
||||
# Supported delimiter characters include comma (`,`), pipe (`|`),
|
||||
# and tab (`\t`).
|
||||
# Corresponds to the JSON property `csvDelimiter`
|
||||
# @return [String]
|
||||
attr_accessor :csv_delimiter
|
||||
|
||||
# Required. Name of the preconfigured datastore.
|
||||
# Corresponds to the JSON property `datastoreName`
|
||||
# @return [String]
|
||||
attr_accessor :datastore_name
|
||||
|
||||
# Date range of the data to export.
|
||||
# Corresponds to the JSON property `dateRange`
|
||||
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DateRange]
|
||||
attr_accessor :date_range
|
||||
|
||||
# Optional. Description of the export job.
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# Required. Display name of the export job.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Optional. Output format of the export.
|
||||
# Valid values include: `csv` or `json`. Defaults to `json`.
|
||||
# Note: Configure the delimiter for CSV output using the `csvDelimiter`
|
||||
# property.
|
||||
# Corresponds to the JSON property `outputFormat`
|
||||
# @return [String]
|
||||
attr_accessor :output_format
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@csv_delimiter = args[:csv_delimiter] if args.key?(:csv_delimiter)
|
||||
@datastore_name = args[:datastore_name] if args.key?(:datastore_name)
|
||||
@date_range = args[:date_range] if args.key?(:date_range)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@output_format = args[:output_format] if args.key?(:output_format)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class GoogleCloudApigeeV1FlowHook
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -2647,6 +2914,11 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :last_modified_at
|
||||
|
||||
# Required. Compute Engine location where the instance resides.
|
||||
# Corresponds to the JSON property `location`
|
||||
# @return [String]
|
||||
attr_accessor :location
|
||||
|
||||
# Required. Resource ID of the instance. Values must match the
|
||||
# regular expression `^a-z`0,30`[a-z\d]$`.
|
||||
# Corresponds to the JSON property `name`
|
||||
|
@ -2658,11 +2930,6 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :port
|
||||
|
||||
# Required. Region where the instance resides.
|
||||
# Corresponds to the JSON property `region`
|
||||
# @return [String]
|
||||
attr_accessor :region
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -2675,9 +2942,9 @@ module Google
|
|||
@display_name = args[:display_name] if args.key?(:display_name)
|
||||
@host = args[:host] if args.key?(:host)
|
||||
@last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
|
||||
@location = args[:location] if args.key?(:location)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@port = args[:port] if args.key?(:port)
|
||||
@region = args[:region] if args.key?(:region)
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -3008,6 +3275,25 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# The response for ListDatastores
|
||||
class GoogleCloudApigeeV1ListDatastoresResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# A list of datastores
|
||||
# Corresponds to the JSON property `datastores`
|
||||
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore>]
|
||||
attr_accessor :datastores
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@datastores = args[:datastores] if args.key?(:datastores)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class GoogleCloudApigeeV1ListDebugSessionsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -3147,6 +3433,25 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# The response for ListExports
|
||||
class GoogleCloudApigeeV1ListExportsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Details of the export jobs.
|
||||
# Corresponds to the JSON property `exports`
|
||||
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Export>]
|
||||
attr_accessor :exports
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@exports = args[:exports] if args.key?(:exports)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class GoogleCloudApigeeV1ListHybridIssuersResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -5025,6 +5330,31 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# The response for TestDatastore
|
||||
class GoogleCloudApigeeV1TestDatastoreResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Output only. Error message of test connection failure
|
||||
# Corresponds to the JSON property `error`
|
||||
# @return [String]
|
||||
attr_accessor :error
|
||||
|
||||
# Output only. It could be `completed` or `failed`
|
||||
# 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)
|
||||
@error = args[:error] if args.key?(:error)
|
||||
@state = args[:state] if args.key?(:state)
|
||||
end
|
||||
end
|
||||
|
||||
# TLS configuration information for
|
||||
# VirtualHosts and
|
||||
# TargetServers.
|
||||
|
|
|
@ -166,6 +166,24 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudApigeeV1Datastore
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudApigeeV1DatastoreConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudApigeeV1DateRange
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudApigeeV1DebugMask
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -286,6 +304,18 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudApigeeV1Export
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudApigeeV1ExportRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudApigeeV1FlowHook
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -394,6 +424,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudApigeeV1ListDatastoresResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudApigeeV1ListDebugSessionsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -430,6 +466,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudApigeeV1ListExportsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudApigeeV1ListHybridIssuersResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -706,6 +748,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudApigeeV1TestDatastoreResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudApigeeV1TlsInfo
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -1118,6 +1166,39 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class GoogleCloudApigeeV1Datastore
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :create_time, :numeric_string => true, as: 'createTime'
|
||||
property :datastore_config, as: 'datastoreConfig', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DatastoreConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DatastoreConfig::Representation
|
||||
|
||||
property :display_name, as: 'displayName'
|
||||
property :last_update_time, :numeric_string => true, as: 'lastUpdateTime'
|
||||
property :org, as: 'org'
|
||||
property :self, as: 'self'
|
||||
property :target_type, as: 'targetType'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudApigeeV1DatastoreConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :bucket_name, as: 'bucketName'
|
||||
property :dataset_name, as: 'datasetName'
|
||||
property :path, as: 'path'
|
||||
property :project_id, as: 'projectId'
|
||||
property :table_prefix, as: 'tablePrefix'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudApigeeV1DateRange
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :end, as: 'end'
|
||||
property :start, as: 'start'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudApigeeV1DebugMask
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -1387,6 +1468,34 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class GoogleCloudApigeeV1Export
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :created, as: 'created'
|
||||
property :datastore_name, as: 'datastoreName'
|
||||
property :description, as: 'description'
|
||||
property :error, as: 'error'
|
||||
property :execution_time, as: 'executionTime'
|
||||
property :name, as: 'name'
|
||||
property :self, as: 'self'
|
||||
property :state, as: 'state'
|
||||
property :updated, as: 'updated'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudApigeeV1ExportRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :csv_delimiter, as: 'csvDelimiter'
|
||||
property :datastore_name, as: 'datastoreName'
|
||||
property :date_range, as: 'dateRange', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DateRange, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DateRange::Representation
|
||||
|
||||
property :description, as: 'description'
|
||||
property :name, as: 'name'
|
||||
property :output_format, as: 'outputFormat'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudApigeeV1FlowHook
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -1434,9 +1543,9 @@ module Google
|
|||
property :display_name, as: 'displayName'
|
||||
property :host, as: 'host'
|
||||
property :last_modified_at, :numeric_string => true, as: 'lastModifiedAt'
|
||||
property :location, as: 'location'
|
||||
property :name, as: 'name'
|
||||
property :port, as: 'port'
|
||||
property :region, as: 'region'
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -1551,6 +1660,14 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class GoogleCloudApigeeV1ListDatastoresResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :datastores, as: 'datastores', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudApigeeV1ListDebugSessionsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -1602,6 +1719,14 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class GoogleCloudApigeeV1ListExportsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :exports, as: 'exports', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Export, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Export::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudApigeeV1ListHybridIssuersResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -2069,6 +2194,14 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class GoogleCloudApigeeV1TestDatastoreResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :error, as: 'error'
|
||||
property :state, as: 'state'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudApigeeV1TlsInfo
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
|
@ -352,6 +352,206 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Create a Datastore for an org
|
||||
# @param [String] parent
|
||||
# Required. The parent organization name.
|
||||
# Must be of the form `organizations/`org``.
|
||||
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore] google_cloud_apigee_v1_datastore_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::GoogleCloudApigeeV1Datastore] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore]
|
||||
#
|
||||
# @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_analytic_datastore(parent, google_cloud_apigee_v1_datastore_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+parent}/analytics/datastores', options)
|
||||
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore::Representation
|
||||
command.request_object = google_cloud_apigee_v1_datastore_object
|
||||
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore::Representation
|
||||
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore
|
||||
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
|
||||
|
||||
# Delete a Datastore from an org.
|
||||
# @param [String] name
|
||||
# Required. Resource name of the Datastore to be deleted. Must be of the
|
||||
# form `organizations/`org`/analytics/datastores/`datastoreId``
|
||||
# @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::GoogleProtobufEmpty] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ApigeeV1::GoogleProtobufEmpty]
|
||||
#
|
||||
# @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_analytic_datastore(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:delete, 'v1/{+name}', options)
|
||||
command.response_representation = Google::Apis::ApigeeV1::GoogleProtobufEmpty::Representation
|
||||
command.response_class = Google::Apis::ApigeeV1::GoogleProtobufEmpty
|
||||
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
|
||||
|
||||
# Get a Datastore
|
||||
# @param [String] name
|
||||
# Required. Resource name of the Datastore to be get. Must be of the
|
||||
# form `organizations/`org`/analytics/datastores/`datastoreId``
|
||||
# @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::GoogleCloudApigeeV1Datastore] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore]
|
||||
#
|
||||
# @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_analytic_datastore(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+name}', options)
|
||||
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore::Representation
|
||||
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore
|
||||
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 Datastores
|
||||
# @param [String] parent
|
||||
# Required. The parent organization name.
|
||||
# Must be of the form `organizations/`org``.
|
||||
# @param [String] target_type
|
||||
# Optional. TargetType is used to fetch all Datastores that match the type
|
||||
# @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::GoogleCloudApigeeV1ListDatastoresResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListDatastoresResponse]
|
||||
#
|
||||
# @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_analytic_datastores(parent, target_type: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+parent}/analytics/datastores', options)
|
||||
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListDatastoresResponse::Representation
|
||||
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListDatastoresResponse
|
||||
command.params['parent'] = parent unless parent.nil?
|
||||
command.query['targetType'] = target_type unless target_type.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Test if Datastore configuration is correct. This includes checking
|
||||
# if credentials provided by customer have required permissions in target
|
||||
# destination storage
|
||||
# @param [String] parent
|
||||
# Required. The parent organization name
|
||||
# Must be of the form `organizations/`org``
|
||||
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore] google_cloud_apigee_v1_datastore_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::GoogleCloudApigeeV1TestDatastoreResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TestDatastoreResponse]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def test_organization_analytic_datastore(parent, google_cloud_apigee_v1_datastore_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+parent}/analytics/datastores:test', options)
|
||||
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore::Representation
|
||||
command.request_object = google_cloud_apigee_v1_datastore_object
|
||||
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TestDatastoreResponse::Representation
|
||||
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TestDatastoreResponse
|
||||
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
|
||||
|
||||
# Update a Datastore
|
||||
# @param [String] name
|
||||
# Required. The resource name of datastore to be updated. Must be of the
|
||||
# form `organizations/`org`/analytics/datastores/`datastoreId``
|
||||
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore] google_cloud_apigee_v1_datastore_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::GoogleCloudApigeeV1Datastore] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore]
|
||||
#
|
||||
# @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_analytic_datastore(name, google_cloud_apigee_v1_datastore_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:put, 'v1/{+name}', options)
|
||||
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore::Representation
|
||||
command.request_object = google_cloud_apigee_v1_datastore_object
|
||||
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore::Representation
|
||||
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore
|
||||
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 or creates API product attributes. This API **replaces** the
|
||||
# current list of attributes with the attributes specified in the request
|
||||
# body. In this way, you can update existing attributes, add new attributes,
|
||||
|
@ -2601,7 +2801,8 @@ module Google
|
|||
|
||||
# Creates a new environment group.
|
||||
# @param [String] parent
|
||||
# Name of the organization in which to create the environment group in the
|
||||
# Required. Name of the organization in which to create the environment group in
|
||||
# the
|
||||
# following format: `organizations/`org``.
|
||||
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroup] google_cloud_apigee_v1_environment_group_object
|
||||
# @param [String] name
|
||||
|
@ -2639,7 +2840,7 @@ module Google
|
|||
|
||||
# Deletes an environment group.
|
||||
# @param [String] name
|
||||
# Name of the environment group in the following format:
|
||||
# Required. Name of the environment group in the following format:
|
||||
# `organizations/`org`/envgroups/`envgroup``.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
|
@ -2670,7 +2871,7 @@ module Google
|
|||
|
||||
# Gets an environment group.
|
||||
# @param [String] name
|
||||
# Name of the environment group in the following format:
|
||||
# Required. Name of the environment group in the following format:
|
||||
# `organizations/`org`/envgroups/`envgroup``.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
|
@ -2701,7 +2902,7 @@ module Google
|
|||
|
||||
# Lists all environment groups.
|
||||
# @param [String] parent
|
||||
# Name of the organization for which to list environment groups in the
|
||||
# Required. Name of the organization for which to list environment groups in the
|
||||
# following format: `organizations/`org``.
|
||||
# @param [Fixnum] page_size
|
||||
# Maximum number of environment groups to return. The page size defaults
|
||||
|
@ -2740,7 +2941,7 @@ module Google
|
|||
|
||||
# Updates an environment group.
|
||||
# @param [String] name
|
||||
# Name of the environment group to update in the format:
|
||||
# Required. Name of the environment group to update in the format:
|
||||
# `organizations/`org`/envgroups/`envgroup`.
|
||||
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroup] google_cloud_apigee_v1_environment_group_object
|
||||
# @param [String] update_mask
|
||||
|
@ -2777,7 +2978,8 @@ module Google
|
|||
|
||||
# Creates a new attachment of an environment to an environment group.
|
||||
# @param [String] parent
|
||||
# EnvironmentGroup under which to create the attachment in the following
|
||||
# Required. EnvironmentGroup under which to create the attachment in the
|
||||
# following
|
||||
# format: `organizations/`org`/envgroups/`envgroup``.
|
||||
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupAttachment] google_cloud_apigee_v1_environment_group_attachment_object
|
||||
# @param [String] fields
|
||||
|
@ -2811,7 +3013,8 @@ module Google
|
|||
|
||||
# Deletes an environment group attachment.
|
||||
# @param [String] name
|
||||
# Name of the environment group attachment to delete in the following format:
|
||||
# Required. Name of the environment group attachment to delete in the following
|
||||
# format:
|
||||
# `organizations/`org`/envgroups/`envgroup`/attachments/`attachment``.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
|
@ -2842,7 +3045,7 @@ module Google
|
|||
|
||||
# Gets an environment group attachment.
|
||||
# @param [String] name
|
||||
# Name of the environment group attachment in the following format:
|
||||
# Required. Name of the environment group attachment in the following format:
|
||||
# `organizations/`org`/envgroups/`envgroup`/attachments/`attachment``
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
|
@ -2873,7 +3076,8 @@ module Google
|
|||
|
||||
# Lists all attachments of an environment group.
|
||||
# @param [String] parent
|
||||
# Name of the organization in the following format: `organizations/`org``.
|
||||
# Required. Name of the organization in the following format: `organizations/`
|
||||
# org``.
|
||||
# @param [Fixnum] page_size
|
||||
# Maximum number of environment group attachments to return. The page size
|
||||
# defaults to 25.
|
||||
|
@ -3420,6 +3624,109 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Submit a data export job to be processed in the background.
|
||||
# If the request is successful, the API returns a 201 status, a URI that can
|
||||
# be used to retrieve the status of the export job, and the `state` value of
|
||||
# "enqueued".
|
||||
# @param [String] parent
|
||||
# Required. Names of the parent organization and environment.
|
||||
# Must be of the form `organizations/`org`/environments/`env``.
|
||||
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ExportRequest] google_cloud_apigee_v1_export_request_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::GoogleCloudApigeeV1Export] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Export]
|
||||
#
|
||||
# @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_environment_analytic_export(parent, google_cloud_apigee_v1_export_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+parent}/analytics/exports', options)
|
||||
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ExportRequest::Representation
|
||||
command.request_object = google_cloud_apigee_v1_export_request_object
|
||||
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Export::Representation
|
||||
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Export
|
||||
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
|
||||
|
||||
# Gets the details and status of an analytics export job.
|
||||
# If the export job is still in progress, its `state` is set to "running".
|
||||
# After the export job has completed successfully, its `state` is set to
|
||||
# "completed".
|
||||
# If the export job fails, its `state` is set to `failed`.
|
||||
# @param [String] name
|
||||
# Required. Resource name of the export to get.
|
||||
# @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::GoogleCloudApigeeV1Export] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Export]
|
||||
#
|
||||
# @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_analytic_export(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+name}', options)
|
||||
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Export::Representation
|
||||
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Export
|
||||
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 the details and status of all analytics export jobs belonging to the
|
||||
# parent organization and environment.
|
||||
# @param [String] parent
|
||||
# Required. Names of the parent organization and environment.
|
||||
# Must be of the form `organizations/`org`/environments/`env``.
|
||||
# @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::GoogleCloudApigeeV1ListExportsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListExportsResponse]
|
||||
#
|
||||
# @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_environment_analytic_exports(parent, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+parent}/analytics/exports', options)
|
||||
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListExportsResponse::Representation
|
||||
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListExportsResponse
|
||||
command.params['parent'] = parent unless parent.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Lists all deployments of an API proxy in an environment.
|
||||
# @param [String] parent
|
||||
# Required. Name representing an API proxy in an environment in the following
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/functions
|
||||
module CloudfunctionsV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20200610'
|
||||
REVISION = '20200629'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -284,6 +284,12 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :available_memory_mb
|
||||
|
||||
# Output only. The Cloud Build ID of the latest successful deployment of the
|
||||
# function.
|
||||
# Corresponds to the JSON property `buildId`
|
||||
# @return [String]
|
||||
attr_accessor :build_id
|
||||
|
||||
# User-provided description of a function.
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
|
@ -436,6 +442,7 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@available_memory_mb = args[:available_memory_mb] if args.key?(:available_memory_mb)
|
||||
@build_id = args[:build_id] if args.key?(:build_id)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@entry_point = args[:entry_point] if args.key?(:entry_point)
|
||||
@environment_variables = args[:environment_variables] if args.key?(:environment_variables)
|
||||
|
@ -907,6 +914,12 @@ module Google
|
|||
class OperationMetadataV1
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The Cloud Build ID of the function created or updated by an API call.
|
||||
# This field is only populated for Create and Update operations.
|
||||
# Corresponds to the JSON property `buildId`
|
||||
# @return [String]
|
||||
attr_accessor :build_id
|
||||
|
||||
# The original request that started the operation.
|
||||
# Corresponds to the JSON property `request`
|
||||
# @return [Hash<String,Object>]
|
||||
|
@ -940,6 +953,7 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@build_id = args[:build_id] if args.key?(:build_id)
|
||||
@request = args[:request] if args.key?(:request)
|
||||
@target = args[:target] if args.key?(:target)
|
||||
@type = args[:type] if args.key?(:type)
|
||||
|
|
|
@ -237,6 +237,7 @@ module Google
|
|||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :available_memory_mb, as: 'availableMemoryMb'
|
||||
property :build_id, as: 'buildId'
|
||||
property :description, as: 'description'
|
||||
property :entry_point, as: 'entryPoint'
|
||||
hash :environment_variables, as: 'environmentVariables'
|
||||
|
@ -381,6 +382,7 @@ module Google
|
|||
class OperationMetadataV1
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :build_id, as: 'buildId'
|
||||
hash :request, as: 'request'
|
||||
property :target, as: 'target'
|
||||
property :type, as: 'type'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/functions
|
||||
module CloudfunctionsV1beta2
|
||||
VERSION = 'V1beta2'
|
||||
REVISION = '20200219'
|
||||
REVISION = '20200629'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -635,6 +635,12 @@ module Google
|
|||
class OperationMetadataV1
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The Cloud Build ID of the function created or updated by an API call.
|
||||
# This field is only populated for Create and Update operations.
|
||||
# Corresponds to the JSON property `buildId`
|
||||
# @return [String]
|
||||
attr_accessor :build_id
|
||||
|
||||
# The original request that started the operation.
|
||||
# Corresponds to the JSON property `request`
|
||||
# @return [Hash<String,Object>]
|
||||
|
@ -668,6 +674,7 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@build_id = args[:build_id] if args.key?(:build_id)
|
||||
@request = args[:request] if args.key?(:request)
|
||||
@target = args[:target] if args.key?(:target)
|
||||
@type = args[:type] if args.key?(:type)
|
||||
|
|
|
@ -295,6 +295,7 @@ module Google
|
|||
class OperationMetadataV1
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :build_id, as: 'buildId'
|
||||
hash :request, as: 'request'
|
||||
property :target, as: 'target'
|
||||
property :type, as: 'type'
|
||||
|
|
Loading…
Reference in New Issue