Autogenerated update (2017-09-07)
Update: - adexchangebuyer_v1_2 - adexchangebuyer_v1_3 - adsense_v1_4 - adsensehost_v4_1 - analytics_v2_4 - androidpublisher_v1 - appengine_v1 - appengine_v1beta - content_v2sandbox - dns_v1 - dns_v2beta1 - doubleclicksearch_v2 - games_configuration_v1configuration - games_v1 - identitytoolkit_v3 - language_v1beta2 - plus_v1 - spanner_v1 - storage_v1beta2 - toolresults_v1beta3 - toolresults_v1beta3firstparty - youtube_analytics_v1 - youtube_analytics_v1beta1
This commit is contained in:
parent
f92bd0c533
commit
7321bd9a8c
|
@ -6466,6 +6466,20 @@
|
|||
"/appengine:v1/Application/locationId": location_id
|
||||
"/appengine:v1/Application/name": name
|
||||
"/appengine:v1/Application/servingStatus": serving_status
|
||||
"/appengine:v1/AuthorizedCertificate": authorized_certificate
|
||||
"/appengine:v1/AuthorizedCertificate/certificateRawData": certificate_raw_data
|
||||
"/appengine:v1/AuthorizedCertificate/displayName": display_name
|
||||
"/appengine:v1/AuthorizedCertificate/domainMappingsCount": domain_mappings_count
|
||||
"/appengine:v1/AuthorizedCertificate/domainNames": domain_names
|
||||
"/appengine:v1/AuthorizedCertificate/domainNames/domain_name": domain_name
|
||||
"/appengine:v1/AuthorizedCertificate/expireTime": expire_time
|
||||
"/appengine:v1/AuthorizedCertificate/id": id
|
||||
"/appengine:v1/AuthorizedCertificate/name": name
|
||||
"/appengine:v1/AuthorizedCertificate/visibleDomainMappings": visible_domain_mappings
|
||||
"/appengine:v1/AuthorizedCertificate/visibleDomainMappings/visible_domain_mapping": visible_domain_mapping
|
||||
"/appengine:v1/AuthorizedDomain": authorized_domain
|
||||
"/appengine:v1/AuthorizedDomain/id": id
|
||||
"/appengine:v1/AuthorizedDomain/name": name
|
||||
"/appengine:v1/AutomaticScaling": automatic_scaling
|
||||
"/appengine:v1/AutomaticScaling/coolDownPeriod": cool_down_period
|
||||
"/appengine:v1/AutomaticScaling/cpuUtilization": cpu_utilization
|
||||
|
@ -6482,6 +6496,9 @@
|
|||
"/appengine:v1/BasicScaling": basic_scaling
|
||||
"/appengine:v1/BasicScaling/idleTimeout": idle_timeout
|
||||
"/appengine:v1/BasicScaling/maxInstances": max_instances
|
||||
"/appengine:v1/CertificateRawData": certificate_raw_data
|
||||
"/appengine:v1/CertificateRawData/privateKey": private_key
|
||||
"/appengine:v1/CertificateRawData/publicCertificate": public_certificate
|
||||
"/appengine:v1/ContainerInfo": container_info
|
||||
"/appengine:v1/ContainerInfo/image": image
|
||||
"/appengine:v1/CpuUtilization": cpu_utilization
|
||||
|
@ -6499,6 +6516,13 @@
|
|||
"/appengine:v1/DiskUtilization/targetReadOpsPerSecond": target_read_ops_per_second
|
||||
"/appengine:v1/DiskUtilization/targetWriteBytesPerSecond": target_write_bytes_per_second
|
||||
"/appengine:v1/DiskUtilization/targetWriteOpsPerSecond": target_write_ops_per_second
|
||||
"/appengine:v1/DomainMapping": domain_mapping
|
||||
"/appengine:v1/DomainMapping/id": id
|
||||
"/appengine:v1/DomainMapping/name": name
|
||||
"/appengine:v1/DomainMapping/resourceRecords": resource_records
|
||||
"/appengine:v1/DomainMapping/resourceRecords/resource_record": resource_record
|
||||
"/appengine:v1/DomainMapping/sslSettings": ssl_settings
|
||||
"/appengine:v1/Empty": empty
|
||||
"/appengine:v1/EndpointsApiService": endpoints_api_service
|
||||
"/appengine:v1/EndpointsApiService/configId": config_id
|
||||
"/appengine:v1/EndpointsApiService/name": name
|
||||
|
@ -6545,6 +6569,18 @@
|
|||
"/appengine:v1/Library": library
|
||||
"/appengine:v1/Library/name": name
|
||||
"/appengine:v1/Library/version": version
|
||||
"/appengine:v1/ListAuthorizedCertificatesResponse": list_authorized_certificates_response
|
||||
"/appengine:v1/ListAuthorizedCertificatesResponse/certificates": certificates
|
||||
"/appengine:v1/ListAuthorizedCertificatesResponse/certificates/certificate": certificate
|
||||
"/appengine:v1/ListAuthorizedCertificatesResponse/nextPageToken": next_page_token
|
||||
"/appengine:v1/ListAuthorizedDomainsResponse": list_authorized_domains_response
|
||||
"/appengine:v1/ListAuthorizedDomainsResponse/domains": domains
|
||||
"/appengine:v1/ListAuthorizedDomainsResponse/domains/domain": domain
|
||||
"/appengine:v1/ListAuthorizedDomainsResponse/nextPageToken": next_page_token
|
||||
"/appengine:v1/ListDomainMappingsResponse": list_domain_mappings_response
|
||||
"/appengine:v1/ListDomainMappingsResponse/domainMappings": domain_mappings
|
||||
"/appengine:v1/ListDomainMappingsResponse/domainMappings/domain_mapping": domain_mapping
|
||||
"/appengine:v1/ListDomainMappingsResponse/nextPageToken": next_page_token
|
||||
"/appengine:v1/ListInstancesResponse": list_instances_response
|
||||
"/appengine:v1/ListInstancesResponse/instances": instances
|
||||
"/appengine:v1/ListInstancesResponse/instances/instance": instance
|
||||
|
@ -6662,6 +6698,10 @@
|
|||
"/appengine:v1/RequestUtilization": request_utilization
|
||||
"/appengine:v1/RequestUtilization/targetConcurrentRequests": target_concurrent_requests
|
||||
"/appengine:v1/RequestUtilization/targetRequestCountPerSecond": target_request_count_per_second
|
||||
"/appengine:v1/ResourceRecord": resource_record
|
||||
"/appengine:v1/ResourceRecord/name": name
|
||||
"/appengine:v1/ResourceRecord/rrdata": rrdata
|
||||
"/appengine:v1/ResourceRecord/type": type
|
||||
"/appengine:v1/Resources": resources
|
||||
"/appengine:v1/Resources/cpu": cpu
|
||||
"/appengine:v1/Resources/diskGb": disk_gb
|
||||
|
@ -6674,6 +6714,8 @@
|
|||
"/appengine:v1/Service/id": id
|
||||
"/appengine:v1/Service/name": name
|
||||
"/appengine:v1/Service/split": split
|
||||
"/appengine:v1/SslSettings": ssl_settings
|
||||
"/appengine:v1/SslSettings/certificateId": certificate_id
|
||||
"/appengine:v1/StaticFilesHandler": static_files_handler
|
||||
"/appengine:v1/StaticFilesHandler/applicationReadable": application_readable
|
||||
"/appengine:v1/StaticFilesHandler/expiration": expiration
|
||||
|
@ -6752,7 +6794,45 @@
|
|||
"/appengine:v1/ZipInfo": zip_info
|
||||
"/appengine:v1/ZipInfo/filesCount": files_count
|
||||
"/appengine:v1/ZipInfo/sourceUrl": source_url
|
||||
"/appengine:v1/appengine.apps.authorizedCertificates.create": create_app_authorized_certificate
|
||||
"/appengine:v1/appengine.apps.authorizedCertificates.create/appsId": apps_id
|
||||
"/appengine:v1/appengine.apps.authorizedCertificates.delete": delete_app_authorized_certificate
|
||||
"/appengine:v1/appengine.apps.authorizedCertificates.delete/appsId": apps_id
|
||||
"/appengine:v1/appengine.apps.authorizedCertificates.delete/authorizedCertificatesId": authorized_certificates_id
|
||||
"/appengine:v1/appengine.apps.authorizedCertificates.get": get_app_authorized_certificate
|
||||
"/appengine:v1/appengine.apps.authorizedCertificates.get/appsId": apps_id
|
||||
"/appengine:v1/appengine.apps.authorizedCertificates.get/authorizedCertificatesId": authorized_certificates_id
|
||||
"/appengine:v1/appengine.apps.authorizedCertificates.get/view": view
|
||||
"/appengine:v1/appengine.apps.authorizedCertificates.list": list_app_authorized_certificates
|
||||
"/appengine:v1/appengine.apps.authorizedCertificates.list/appsId": apps_id
|
||||
"/appengine:v1/appengine.apps.authorizedCertificates.list/pageSize": page_size
|
||||
"/appengine:v1/appengine.apps.authorizedCertificates.list/pageToken": page_token
|
||||
"/appengine:v1/appengine.apps.authorizedCertificates.list/view": view
|
||||
"/appengine:v1/appengine.apps.authorizedCertificates.patch": patch_app_authorized_certificate
|
||||
"/appengine:v1/appengine.apps.authorizedCertificates.patch/appsId": apps_id
|
||||
"/appengine:v1/appengine.apps.authorizedCertificates.patch/authorizedCertificatesId": authorized_certificates_id
|
||||
"/appengine:v1/appengine.apps.authorizedCertificates.patch/updateMask": update_mask
|
||||
"/appengine:v1/appengine.apps.authorizedDomains.list": list_app_authorized_domains
|
||||
"/appengine:v1/appengine.apps.authorizedDomains.list/appsId": apps_id
|
||||
"/appengine:v1/appengine.apps.authorizedDomains.list/pageSize": page_size
|
||||
"/appengine:v1/appengine.apps.authorizedDomains.list/pageToken": page_token
|
||||
"/appengine:v1/appengine.apps.create": create_app
|
||||
"/appengine:v1/appengine.apps.domainMappings.create": create_app_domain_mapping
|
||||
"/appengine:v1/appengine.apps.domainMappings.create/appsId": apps_id
|
||||
"/appengine:v1/appengine.apps.domainMappings.delete": delete_app_domain_mapping
|
||||
"/appengine:v1/appengine.apps.domainMappings.delete/appsId": apps_id
|
||||
"/appengine:v1/appengine.apps.domainMappings.delete/domainMappingsId": domain_mappings_id
|
||||
"/appengine:v1/appengine.apps.domainMappings.get": get_app_domain_mapping
|
||||
"/appengine:v1/appengine.apps.domainMappings.get/appsId": apps_id
|
||||
"/appengine:v1/appengine.apps.domainMappings.get/domainMappingsId": domain_mappings_id
|
||||
"/appengine:v1/appengine.apps.domainMappings.list": list_app_domain_mappings
|
||||
"/appengine:v1/appengine.apps.domainMappings.list/appsId": apps_id
|
||||
"/appengine:v1/appengine.apps.domainMappings.list/pageSize": page_size
|
||||
"/appengine:v1/appengine.apps.domainMappings.list/pageToken": page_token
|
||||
"/appengine:v1/appengine.apps.domainMappings.patch": patch_app_domain_mapping
|
||||
"/appengine:v1/appengine.apps.domainMappings.patch/appsId": apps_id
|
||||
"/appengine:v1/appengine.apps.domainMappings.patch/domainMappingsId": domain_mappings_id
|
||||
"/appengine:v1/appengine.apps.domainMappings.patch/updateMask": update_mask
|
||||
"/appengine:v1/appengine.apps.get": get_app
|
||||
"/appengine:v1/appengine.apps.get/appsId": apps_id
|
||||
"/appengine:v1/appengine.apps.locations.get": get_app_location
|
||||
|
@ -7053,6 +7133,7 @@
|
|||
"/appengine:v1beta/AuthorizedCertificate/domainNames/domain_name": domain_name
|
||||
"/appengine:v1beta/AuthorizedCertificate/expireTime": expire_time
|
||||
"/appengine:v1beta/AuthorizedCertificate/id": id
|
||||
"/appengine:v1beta/AuthorizedCertificate/managedCertificate": managed_certificate
|
||||
"/appengine:v1beta/AuthorizedCertificate/name": name
|
||||
"/appengine:v1beta/AuthorizedCertificate/visibleDomainMappings": visible_domain_mappings
|
||||
"/appengine:v1beta/AuthorizedCertificate/visibleDomainMappings/visible_domain_mapping": visible_domain_mapping
|
||||
|
@ -7217,6 +7298,9 @@
|
|||
"/appengine:v1beta/LocationMetadata": location_metadata
|
||||
"/appengine:v1beta/LocationMetadata/flexibleEnvironmentAvailable": flexible_environment_available
|
||||
"/appengine:v1beta/LocationMetadata/standardEnvironmentAvailable": standard_environment_available
|
||||
"/appengine:v1beta/ManagedCertificate": managed_certificate
|
||||
"/appengine:v1beta/ManagedCertificate/lastRenewalTime": last_renewal_time
|
||||
"/appengine:v1beta/ManagedCertificate/status": status
|
||||
"/appengine:v1beta/ManualScaling": manual_scaling
|
||||
"/appengine:v1beta/ManualScaling/instances": instances
|
||||
"/appengine:v1beta/Network": network
|
||||
|
@ -7314,6 +7398,8 @@
|
|||
"/appengine:v1beta/Service/split": split
|
||||
"/appengine:v1beta/SslSettings": ssl_settings
|
||||
"/appengine:v1beta/SslSettings/certificateId": certificate_id
|
||||
"/appengine:v1beta/SslSettings/pendingManagedCertificateId": pending_managed_certificate_id
|
||||
"/appengine:v1beta/SslSettings/sslManagementType": ssl_management_type
|
||||
"/appengine:v1beta/StandardSchedulerSettings": standard_scheduler_settings
|
||||
"/appengine:v1beta/StandardSchedulerSettings/maxInstances": max_instances
|
||||
"/appengine:v1beta/StandardSchedulerSettings/minInstances": min_instances
|
||||
|
@ -42325,9 +42411,13 @@
|
|||
"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/photoUrl": photo_url
|
||||
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest": upload_account_request
|
||||
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/allowOverwrite": allow_overwrite
|
||||
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/blockSize": block_size
|
||||
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/cpuMemCost": cpu_mem_cost
|
||||
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/delegatedProjectNumber": delegated_project_number
|
||||
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/dkLen": dk_len
|
||||
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/hashAlgorithm": hash_algorithm
|
||||
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/memoryCost": memory_cost
|
||||
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/parallelization": parallelization
|
||||
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/rounds": rounds
|
||||
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/saltSeparator": salt_separator
|
||||
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/sanityCheck": sanity_check
|
||||
|
@ -42809,6 +42899,8 @@
|
|||
"/language:v1beta2/AnnotateTextRequest/encodingType": encoding_type
|
||||
"/language:v1beta2/AnnotateTextRequest/features": features
|
||||
"/language:v1beta2/AnnotateTextResponse": annotate_text_response
|
||||
"/language:v1beta2/AnnotateTextResponse/categories": categories
|
||||
"/language:v1beta2/AnnotateTextResponse/categories/category": category
|
||||
"/language:v1beta2/AnnotateTextResponse/documentSentiment": document_sentiment
|
||||
"/language:v1beta2/AnnotateTextResponse/entities": entities
|
||||
"/language:v1beta2/AnnotateTextResponse/entities/entity": entity
|
||||
|
@ -42817,6 +42909,14 @@
|
|||
"/language:v1beta2/AnnotateTextResponse/sentences/sentence": sentence
|
||||
"/language:v1beta2/AnnotateTextResponse/tokens": tokens
|
||||
"/language:v1beta2/AnnotateTextResponse/tokens/token": token
|
||||
"/language:v1beta2/ClassificationCategory": classification_category
|
||||
"/language:v1beta2/ClassificationCategory/confidence": confidence
|
||||
"/language:v1beta2/ClassificationCategory/name": name
|
||||
"/language:v1beta2/ClassifyTextRequest": classify_text_request
|
||||
"/language:v1beta2/ClassifyTextRequest/document": document
|
||||
"/language:v1beta2/ClassifyTextResponse": classify_text_response
|
||||
"/language:v1beta2/ClassifyTextResponse/categories": categories
|
||||
"/language:v1beta2/ClassifyTextResponse/categories/category": category
|
||||
"/language:v1beta2/DependencyEdge": dependency_edge
|
||||
"/language:v1beta2/DependencyEdge/headTokenIndex": head_token_index
|
||||
"/language:v1beta2/DependencyEdge/label": label
|
||||
|
@ -42839,6 +42939,7 @@
|
|||
"/language:v1beta2/EntityMention/text": text
|
||||
"/language:v1beta2/EntityMention/type": type
|
||||
"/language:v1beta2/Features": features
|
||||
"/language:v1beta2/Features/classifyText": classify_text
|
||||
"/language:v1beta2/Features/extractDocumentSentiment": extract_document_sentiment
|
||||
"/language:v1beta2/Features/extractEntities": extract_entities
|
||||
"/language:v1beta2/Features/extractEntitySentiment": extract_entity_sentiment
|
||||
|
@ -42883,6 +42984,7 @@
|
|||
"/language:v1beta2/language.documents.analyzeSentiment": analyze_document_sentiment
|
||||
"/language:v1beta2/language.documents.analyzeSyntax": analyze_document_syntax
|
||||
"/language:v1beta2/language.documents.annotateText": annotate_document_text
|
||||
"/language:v1beta2/language.documents.classifyText": classify_document_text
|
||||
"/language:v1beta2/quotaUser": quota_user
|
||||
"/licensing:v1/LicenseAssignment": license_assignment
|
||||
"/licensing:v1/LicenseAssignment/etags": etags
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/ad-exchange/buyer-rest
|
||||
module AdexchangebuyerV1_2
|
||||
VERSION = 'V1_2'
|
||||
REVISION = '20170215'
|
||||
REVISION = '20170810'
|
||||
|
||||
# Manage your Ad Exchange buyer account configuration
|
||||
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/ad-exchange/buyer-rest
|
||||
module AdexchangebuyerV1_3
|
||||
VERSION = 'V1_3'
|
||||
REVISION = '20170215'
|
||||
REVISION = '20170810'
|
||||
|
||||
# Manage your Ad Exchange buyer account configuration
|
||||
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
|
||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
|||
|
||||
def initialize
|
||||
super('https://www.googleapis.com/', 'adexchangeseller/v1.1/')
|
||||
@batch_path = 'batch'
|
||||
@batch_path = 'batch/adexchangeseller/v1.1'
|
||||
end
|
||||
|
||||
# Get information about the selected Ad Exchange account.
|
||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
|||
|
||||
def initialize
|
||||
super('https://www.googleapis.com/', 'admin/datatransfer/v1/')
|
||||
@batch_path = 'batch'
|
||||
@batch_path = 'batch/admin/datatransfer_v1'
|
||||
end
|
||||
|
||||
# Retrieves information about an application for the given application ID.
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/adsense/management/
|
||||
module AdsenseV1_4
|
||||
VERSION = 'V1_4'
|
||||
REVISION = '20170425'
|
||||
REVISION = '20170904'
|
||||
|
||||
# View and manage your AdSense data
|
||||
AUTH_ADSENSE = 'https://www.googleapis.com/auth/adsense'
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/adsense/host/
|
||||
module AdsensehostV4_1
|
||||
VERSION = 'V4_1'
|
||||
REVISION = '20170830'
|
||||
REVISION = '20170904'
|
||||
|
||||
# View and manage your AdSense host data and associated accounts
|
||||
AUTH_ADSENSEHOST = 'https://www.googleapis.com/auth/adsensehost'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/analytics/
|
||||
module AnalyticsV2_4
|
||||
VERSION = 'V2_4'
|
||||
REVISION = '20170321'
|
||||
REVISION = '20170807'
|
||||
|
||||
# View and manage your Google Analytics data
|
||||
AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics'
|
||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
|||
|
||||
def initialize
|
||||
super('https://www.googleapis.com/', 'analytics/v3/')
|
||||
@batch_path = 'batch'
|
||||
@batch_path = 'batch/analytics/v3'
|
||||
end
|
||||
|
||||
# Returns Analytics data for a view (profile).
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/android-publisher
|
||||
module AndroidpublisherV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20170222'
|
||||
REVISION = '20170815'
|
||||
|
||||
# View and manage your Google Play Developer account
|
||||
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
|||
|
||||
def initialize
|
||||
super('https://www.googleapis.com/', 'androidpublisher/v1/applications/')
|
||||
@batch_path = 'batch'
|
||||
@batch_path = 'batch/androidpublisher/v1'
|
||||
end
|
||||
|
||||
# Cancels a user's subscription purchase. The subscription remains valid until
|
||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
|||
|
||||
def initialize
|
||||
super('https://www.googleapis.com/', 'androidpublisher/v1.1/applications/')
|
||||
@batch_path = 'batch'
|
||||
@batch_path = 'batch/androidpublisher/v1.1'
|
||||
end
|
||||
|
||||
# Checks the purchase and consumption status of an inapp item.
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/appengine/docs/admin-api/
|
||||
module AppengineV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20170818'
|
||||
REVISION = '20170901'
|
||||
|
||||
# View and manage your applications deployed on Google App Engine
|
||||
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
||||
|
|
|
@ -192,6 +192,113 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# An SSL certificate that a user has been authorized to administer. A user is
|
||||
# authorized to administer any certificate that applies to one of their
|
||||
# authorized domains.
|
||||
class AuthorizedCertificate
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# An SSL certificate obtained from a certificate authority.
|
||||
# Corresponds to the JSON property `certificateRawData`
|
||||
# @return [Google::Apis::AppengineV1::CertificateRawData]
|
||||
attr_accessor :certificate_raw_data
|
||||
|
||||
# The user-specified display name of the certificate. This is not guaranteed to
|
||||
# be unique. Example: My Certificate.
|
||||
# Corresponds to the JSON property `displayName`
|
||||
# @return [String]
|
||||
attr_accessor :display_name
|
||||
|
||||
# Aggregate count of the domain mappings with this certificate mapped. This
|
||||
# count includes domain mappings on applications for which the user does not
|
||||
# have VIEWER permissions.Only returned by GET or LIST requests when
|
||||
# specifically requested by the view=FULL_CERTIFICATE option.@OutputOnly
|
||||
# Corresponds to the JSON property `domainMappingsCount`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :domain_mappings_count
|
||||
|
||||
# Topmost applicable domains of this certificate. This certificate applies to
|
||||
# these domains and their subdomains. Example: example.com.@OutputOnly
|
||||
# Corresponds to the JSON property `domainNames`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :domain_names
|
||||
|
||||
# The time when this certificate expires. To update the renewal time on this
|
||||
# certificate, upload an SSL certificate with a different expiration time using
|
||||
# AuthorizedCertificates.UpdateAuthorizedCertificate.@OutputOnly
|
||||
# Corresponds to the JSON property `expireTime`
|
||||
# @return [String]
|
||||
attr_accessor :expire_time
|
||||
|
||||
# Relative name of the certificate. This is a unique value autogenerated on
|
||||
# AuthorizedCertificate resource creation. Example: 12345.@OutputOnly
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [String]
|
||||
attr_accessor :id
|
||||
|
||||
# Full path to the AuthorizedCertificate resource in the API. Example: apps/
|
||||
# myapp/authorizedCertificates/12345.@OutputOnly
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# The full paths to user visible Domain Mapping resources that have this
|
||||
# certificate mapped. Example: apps/myapp/domainMappings/example.com.This may
|
||||
# not represent the full list of mapped domain mappings if the user does not
|
||||
# have VIEWER permissions on all of the applications that have this certificate
|
||||
# mapped. See domain_mappings_count for a complete count.Only returned by GET or
|
||||
# LIST requests when specifically requested by the view=FULL_CERTIFICATE option.@
|
||||
# OutputOnly
|
||||
# Corresponds to the JSON property `visibleDomainMappings`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :visible_domain_mappings
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@certificate_raw_data = args[:certificate_raw_data] if args.key?(:certificate_raw_data)
|
||||
@display_name = args[:display_name] if args.key?(:display_name)
|
||||
@domain_mappings_count = args[:domain_mappings_count] if args.key?(:domain_mappings_count)
|
||||
@domain_names = args[:domain_names] if args.key?(:domain_names)
|
||||
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@visible_domain_mappings = args[:visible_domain_mappings] if args.key?(:visible_domain_mappings)
|
||||
end
|
||||
end
|
||||
|
||||
# A domain that a user has been authorized to administer. To authorize use of a
|
||||
# domain, verify ownership via Webmaster Central (https://www.google.com/
|
||||
# webmasters/verification/home).
|
||||
class AuthorizedDomain
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Fully qualified domain name of the domain authorized for use. Example: example.
|
||||
# com.
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [String]
|
||||
attr_accessor :id
|
||||
|
||||
# Full path to the AuthorizedDomain resource in the API. Example: apps/myapp/
|
||||
# authorizedDomains/example.com.@OutputOnly
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
end
|
||||
end
|
||||
|
||||
# Automatic scaling is based on request rate, response latencies, and other
|
||||
# application metrics.
|
||||
class AutomaticScaling
|
||||
|
@ -313,6 +420,36 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# An SSL certificate obtained from a certificate authority.
|
||||
class CertificateRawData
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Unencrypted PEM encoded RSA private key. This field is set once on certificate
|
||||
# creation and then encrypted. The key size must be 2048 bits or fewer. Must
|
||||
# include the header and footer. Example: <pre> -----BEGIN RSA PRIVATE KEY----- <
|
||||
# unencrypted_key_value> -----END RSA PRIVATE KEY----- </pre> @InputOnly
|
||||
# Corresponds to the JSON property `privateKey`
|
||||
# @return [String]
|
||||
attr_accessor :private_key
|
||||
|
||||
# PEM encoded x.509 public key certificate. This field is set once on
|
||||
# certificate creation. Must include the header and footer. Example: <pre> -----
|
||||
# BEGIN CERTIFICATE----- <certificate_value> -----END CERTIFICATE----- </pre>
|
||||
# Corresponds to the JSON property `publicCertificate`
|
||||
# @return [String]
|
||||
attr_accessor :public_certificate
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@private_key = args[:private_key] if args.key?(:private_key)
|
||||
@public_certificate = args[:public_certificate] if args.key?(:public_certificate)
|
||||
end
|
||||
end
|
||||
|
||||
# Docker image that is used to create a container and start a VM instance for
|
||||
# the version that you deploy. Only applicable for instances running in the App
|
||||
# Engine flexible environment.
|
||||
|
@ -456,6 +593,65 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# A domain serving an App Engine application.
|
||||
class DomainMapping
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Relative name of the domain serving the application. Example: example.com.
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [String]
|
||||
attr_accessor :id
|
||||
|
||||
# Full path to the DomainMapping resource in the API. Example: apps/myapp/
|
||||
# domainMapping/example.com.@OutputOnly
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# The resource records required to configure this domain mapping. These records
|
||||
# must be added to the domain's DNS configuration in order to serve the
|
||||
# application via this domain mapping.@OutputOnly
|
||||
# Corresponds to the JSON property `resourceRecords`
|
||||
# @return [Array<Google::Apis::AppengineV1::ResourceRecord>]
|
||||
attr_accessor :resource_records
|
||||
|
||||
# SSL configuration for a DomainMapping resource.
|
||||
# Corresponds to the JSON property `sslSettings`
|
||||
# @return [Google::Apis::AppengineV1::SslSettings]
|
||||
attr_accessor :ssl_settings
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@resource_records = args[:resource_records] if args.key?(:resource_records)
|
||||
@ssl_settings = args[:ssl_settings] if args.key?(:ssl_settings)
|
||||
end
|
||||
end
|
||||
|
||||
# A generic empty message that you can re-use to avoid defining duplicated empty
|
||||
# messages in your APIs. A typical example is to use it as the request or the
|
||||
# response type of an API method. For instance:
|
||||
# service Foo `
|
||||
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
||||
# `
|
||||
# The JSON representation for Empty is empty JSON object ``.
|
||||
class Empty
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
end
|
||||
end
|
||||
|
||||
# Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The
|
||||
# Endpoints API Service provides tooling for serving Open API and gRPC endpoints
|
||||
# via an NGINX proxy.The fields here refer to the name and configuration id of a
|
||||
|
@ -823,6 +1019,81 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Response message for AuthorizedCertificates.ListAuthorizedCertificates.
|
||||
class ListAuthorizedCertificatesResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The SSL certificates the user is authorized to administer.
|
||||
# Corresponds to the JSON property `certificates`
|
||||
# @return [Array<Google::Apis::AppengineV1::AuthorizedCertificate>]
|
||||
attr_accessor :certificates
|
||||
|
||||
# Continuation token for fetching the next page of results.
|
||||
# Corresponds to the JSON property `nextPageToken`
|
||||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@certificates = args[:certificates] if args.key?(:certificates)
|
||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||
end
|
||||
end
|
||||
|
||||
# Response message for AuthorizedDomains.ListAuthorizedDomains.
|
||||
class ListAuthorizedDomainsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The authorized domains belonging to the user.
|
||||
# Corresponds to the JSON property `domains`
|
||||
# @return [Array<Google::Apis::AppengineV1::AuthorizedDomain>]
|
||||
attr_accessor :domains
|
||||
|
||||
# Continuation token for fetching the next page of results.
|
||||
# Corresponds to the JSON property `nextPageToken`
|
||||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@domains = args[:domains] if args.key?(:domains)
|
||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||
end
|
||||
end
|
||||
|
||||
# Response message for DomainMappings.ListDomainMappings.
|
||||
class ListDomainMappingsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The domain mappings for the application.
|
||||
# Corresponds to the JSON property `domainMappings`
|
||||
# @return [Array<Google::Apis::AppengineV1::DomainMapping>]
|
||||
attr_accessor :domain_mappings
|
||||
|
||||
# Continuation token for fetching the next page of results.
|
||||
# Corresponds to the JSON property `nextPageToken`
|
||||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@domain_mappings = args[:domain_mappings] if args.key?(:domain_mappings)
|
||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||
end
|
||||
end
|
||||
|
||||
# Response message for Instances.ListInstances.
|
||||
class ListInstancesResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -1692,6 +1963,39 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# A DNS resource record.
|
||||
class ResourceRecord
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Relative name of the object affected by this record. Only applicable for CNAME
|
||||
# records. Example: 'www'.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Data for this record. Values vary by record type, as defined in RFC 1035 (
|
||||
# section 5) and RFC 1034 (section 3.6.1).
|
||||
# Corresponds to the JSON property `rrdata`
|
||||
# @return [String]
|
||||
attr_accessor :rrdata
|
||||
|
||||
# Resource record type. Example: AAAA.
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@rrdata = args[:rrdata] if args.key?(:rrdata)
|
||||
@type = args[:type] if args.key?(:type)
|
||||
end
|
||||
end
|
||||
|
||||
# Machine resources for a version.
|
||||
class Resources
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -1787,6 +2091,26 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# SSL configuration for a DomainMapping resource.
|
||||
class SslSettings
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# ID of the AuthorizedCertificate resource configuring SSL for the application.
|
||||
# Clearing this field will remove SSL support. Example: 12345.
|
||||
# Corresponds to the JSON property `certificateId`
|
||||
# @return [String]
|
||||
attr_accessor :certificate_id
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@certificate_id = args[:certificate_id] if args.key?(:certificate_id)
|
||||
end
|
||||
end
|
||||
|
||||
# Files served directly to the user for a given URL, such as images, CSS
|
||||
# stylesheets, or JavaScript source files. Static file handlers describe which
|
||||
# files in the application directory are static files, and which URLs serve them.
|
||||
|
|
|
@ -40,6 +40,18 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class AuthorizedCertificate
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class AuthorizedDomain
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class AutomaticScaling
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -52,6 +64,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class CertificateRawData
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ContainerInfo
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -82,6 +100,18 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class DomainMapping
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Empty
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class EndpointsApiService
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -130,6 +160,24 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ListAuthorizedCertificatesResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ListAuthorizedDomainsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ListDomainMappingsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ListInstancesResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -256,6 +304,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ResourceRecord
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Resources
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -274,6 +328,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class SslSettings
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class StaticFilesHandler
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -362,6 +422,29 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class AuthorizedCertificate
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :certificate_raw_data, as: 'certificateRawData', class: Google::Apis::AppengineV1::CertificateRawData, decorator: Google::Apis::AppengineV1::CertificateRawData::Representation
|
||||
|
||||
property :display_name, as: 'displayName'
|
||||
property :domain_mappings_count, as: 'domainMappingsCount'
|
||||
collection :domain_names, as: 'domainNames'
|
||||
property :expire_time, as: 'expireTime'
|
||||
property :id, as: 'id'
|
||||
property :name, as: 'name'
|
||||
collection :visible_domain_mappings, as: 'visibleDomainMappings'
|
||||
end
|
||||
end
|
||||
|
||||
class AuthorizedDomain
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :id, as: 'id'
|
||||
property :name, as: 'name'
|
||||
end
|
||||
end
|
||||
|
||||
class AutomaticScaling
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -392,6 +475,14 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class CertificateRawData
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :private_key, as: 'privateKey'
|
||||
property :public_certificate, as: 'publicCertificate'
|
||||
end
|
||||
end
|
||||
|
||||
class ContainerInfo
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -436,6 +527,24 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class DomainMapping
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :id, as: 'id'
|
||||
property :name, as: 'name'
|
||||
collection :resource_records, as: 'resourceRecords', class: Google::Apis::AppengineV1::ResourceRecord, decorator: Google::Apis::AppengineV1::ResourceRecord::Representation
|
||||
|
||||
property :ssl_settings, as: 'sslSettings', class: Google::Apis::AppengineV1::SslSettings, decorator: Google::Apis::AppengineV1::SslSettings::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class Empty
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
end
|
||||
end
|
||||
|
||||
class EndpointsApiService
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -522,6 +631,33 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class ListAuthorizedCertificatesResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :certificates, as: 'certificates', class: Google::Apis::AppengineV1::AuthorizedCertificate, decorator: Google::Apis::AppengineV1::AuthorizedCertificate::Representation
|
||||
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
end
|
||||
end
|
||||
|
||||
class ListAuthorizedDomainsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :domains, as: 'domains', class: Google::Apis::AppengineV1::AuthorizedDomain, decorator: Google::Apis::AppengineV1::AuthorizedDomain::Representation
|
||||
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
end
|
||||
end
|
||||
|
||||
class ListDomainMappingsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :domain_mappings, as: 'domainMappings', class: Google::Apis::AppengineV1::DomainMapping, decorator: Google::Apis::AppengineV1::DomainMapping::Representation
|
||||
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
end
|
||||
end
|
||||
|
||||
class ListInstancesResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -737,6 +873,15 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class ResourceRecord
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :name, as: 'name'
|
||||
property :rrdata, as: 'rrdata'
|
||||
property :type, as: 'type'
|
||||
end
|
||||
end
|
||||
|
||||
class Resources
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -765,6 +910,13 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class SslSettings
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :certificate_id, as: 'certificateId'
|
||||
end
|
||||
end
|
||||
|
||||
class StaticFilesHandler
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
|
@ -191,6 +191,412 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Uploads the specified SSL certificate.
|
||||
# @param [String] apps_id
|
||||
# Part of `parent`. Name of the parent Application resource. Example: apps/myapp.
|
||||
# @param [Google::Apis::AppengineV1::AuthorizedCertificate] authorized_certificate_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::AppengineV1::AuthorizedCertificate] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::AppengineV1::AuthorizedCertificate]
|
||||
#
|
||||
# @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_app_authorized_certificate(apps_id, authorized_certificate_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/apps/{appsId}/authorizedCertificates', options)
|
||||
command.request_representation = Google::Apis::AppengineV1::AuthorizedCertificate::Representation
|
||||
command.request_object = authorized_certificate_object
|
||||
command.response_representation = Google::Apis::AppengineV1::AuthorizedCertificate::Representation
|
||||
command.response_class = Google::Apis::AppengineV1::AuthorizedCertificate
|
||||
command.params['appsId'] = apps_id unless apps_id.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 the specified SSL certificate.
|
||||
# @param [String] apps_id
|
||||
# Part of `name`. Name of the resource to delete. Example: apps/myapp/
|
||||
# authorizedCertificates/12345.
|
||||
# @param [String] authorized_certificates_id
|
||||
# Part of `name`. See documentation of `appsId`.
|
||||
# @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::AppengineV1::Empty] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::AppengineV1::Empty]
|
||||
#
|
||||
# @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_app_authorized_certificate(apps_id, authorized_certificates_id, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:delete, 'v1/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}', options)
|
||||
command.response_representation = Google::Apis::AppengineV1::Empty::Representation
|
||||
command.response_class = Google::Apis::AppengineV1::Empty
|
||||
command.params['appsId'] = apps_id unless apps_id.nil?
|
||||
command.params['authorizedCertificatesId'] = authorized_certificates_id unless authorized_certificates_id.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 specified SSL certificate.
|
||||
# @param [String] apps_id
|
||||
# Part of `name`. Name of the resource requested. Example: apps/myapp/
|
||||
# authorizedCertificates/12345.
|
||||
# @param [String] authorized_certificates_id
|
||||
# Part of `name`. See documentation of `appsId`.
|
||||
# @param [String] view
|
||||
# Controls the set of fields returned in the GET response.
|
||||
# @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::AppengineV1::AuthorizedCertificate] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::AppengineV1::AuthorizedCertificate]
|
||||
#
|
||||
# @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_app_authorized_certificate(apps_id, authorized_certificates_id, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}', options)
|
||||
command.response_representation = Google::Apis::AppengineV1::AuthorizedCertificate::Representation
|
||||
command.response_class = Google::Apis::AppengineV1::AuthorizedCertificate
|
||||
command.params['appsId'] = apps_id unless apps_id.nil?
|
||||
command.params['authorizedCertificatesId'] = authorized_certificates_id unless authorized_certificates_id.nil?
|
||||
command.query['view'] = view unless view.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 SSL certificates the user is authorized to administer.
|
||||
# @param [String] apps_id
|
||||
# Part of `parent`. Name of the parent Application resource. Example: apps/myapp.
|
||||
# @param [Fixnum] page_size
|
||||
# Maximum results to return per page.
|
||||
# @param [String] page_token
|
||||
# Continuation token for fetching the next page of results.
|
||||
# @param [String] view
|
||||
# Controls the set of fields returned in the LIST response.
|
||||
# @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::AppengineV1::ListAuthorizedCertificatesResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::AppengineV1::ListAuthorizedCertificatesResponse]
|
||||
#
|
||||
# @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_app_authorized_certificates(apps_id, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/apps/{appsId}/authorizedCertificates', options)
|
||||
command.response_representation = Google::Apis::AppengineV1::ListAuthorizedCertificatesResponse::Representation
|
||||
command.response_class = Google::Apis::AppengineV1::ListAuthorizedCertificatesResponse
|
||||
command.params['appsId'] = apps_id unless apps_id.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['view'] = view unless view.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 the specified SSL certificate. To renew a certificate and maintain its
|
||||
# existing domain mappings, update certificate_data with a new certificate. The
|
||||
# new certificate must be applicable to the same domains as the original
|
||||
# certificate. The certificate display_name may also be updated.
|
||||
# @param [String] apps_id
|
||||
# Part of `name`. Name of the resource to update. Example: apps/myapp/
|
||||
# authorizedCertificates/12345.
|
||||
# @param [String] authorized_certificates_id
|
||||
# Part of `name`. See documentation of `appsId`.
|
||||
# @param [Google::Apis::AppengineV1::AuthorizedCertificate] authorized_certificate_object
|
||||
# @param [String] update_mask
|
||||
# Standard field mask for the set of fields to be updated. Updates are only
|
||||
# supported on the certificate_raw_data and display_name fields.
|
||||
# @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::AppengineV1::AuthorizedCertificate] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::AppengineV1::AuthorizedCertificate]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def patch_app_authorized_certificate(apps_id, authorized_certificates_id, authorized_certificate_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:patch, 'v1/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}', options)
|
||||
command.request_representation = Google::Apis::AppengineV1::AuthorizedCertificate::Representation
|
||||
command.request_object = authorized_certificate_object
|
||||
command.response_representation = Google::Apis::AppengineV1::AuthorizedCertificate::Representation
|
||||
command.response_class = Google::Apis::AppengineV1::AuthorizedCertificate
|
||||
command.params['appsId'] = apps_id unless apps_id.nil?
|
||||
command.params['authorizedCertificatesId'] = authorized_certificates_id unless authorized_certificates_id.nil?
|
||||
command.query['updateMask'] = update_mask unless update_mask.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Lists all domains the user is authorized to administer.
|
||||
# @param [String] apps_id
|
||||
# Part of `parent`. Name of the parent Application resource. Example: apps/myapp.
|
||||
# @param [Fixnum] page_size
|
||||
# Maximum results to return per page.
|
||||
# @param [String] page_token
|
||||
# Continuation token for fetching the next page of results.
|
||||
# @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::AppengineV1::ListAuthorizedDomainsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::AppengineV1::ListAuthorizedDomainsResponse]
|
||||
#
|
||||
# @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_app_authorized_domains(apps_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/apps/{appsId}/authorizedDomains', options)
|
||||
command.response_representation = Google::Apis::AppengineV1::ListAuthorizedDomainsResponse::Representation
|
||||
command.response_class = Google::Apis::AppengineV1::ListAuthorizedDomainsResponse
|
||||
command.params['appsId'] = apps_id unless apps_id.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Maps a domain to an application. A user must be authorized to administer a
|
||||
# domain in order to map it to an application. For a list of available
|
||||
# authorized domains, see AuthorizedDomains.ListAuthorizedDomains.
|
||||
# @param [String] apps_id
|
||||
# Part of `parent`. Name of the parent Application resource. Example: apps/myapp.
|
||||
# @param [Google::Apis::AppengineV1::DomainMapping] domain_mapping_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::AppengineV1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::AppengineV1::Operation]
|
||||
#
|
||||
# @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_app_domain_mapping(apps_id, domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/apps/{appsId}/domainMappings', options)
|
||||
command.request_representation = Google::Apis::AppengineV1::DomainMapping::Representation
|
||||
command.request_object = domain_mapping_object
|
||||
command.response_representation = Google::Apis::AppengineV1::Operation::Representation
|
||||
command.response_class = Google::Apis::AppengineV1::Operation
|
||||
command.params['appsId'] = apps_id unless apps_id.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 the specified domain mapping. A user must be authorized to administer
|
||||
# the associated domain in order to delete a DomainMapping resource.
|
||||
# @param [String] apps_id
|
||||
# Part of `name`. Name of the resource to delete. Example: apps/myapp/
|
||||
# domainMappings/example.com.
|
||||
# @param [String] domain_mappings_id
|
||||
# Part of `name`. See documentation of `appsId`.
|
||||
# @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::AppengineV1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::AppengineV1::Operation]
|
||||
#
|
||||
# @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_app_domain_mapping(apps_id, domain_mappings_id, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:delete, 'v1/apps/{appsId}/domainMappings/{domainMappingsId}', options)
|
||||
command.response_representation = Google::Apis::AppengineV1::Operation::Representation
|
||||
command.response_class = Google::Apis::AppengineV1::Operation
|
||||
command.params['appsId'] = apps_id unless apps_id.nil?
|
||||
command.params['domainMappingsId'] = domain_mappings_id unless domain_mappings_id.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 specified domain mapping.
|
||||
# @param [String] apps_id
|
||||
# Part of `name`. Name of the resource requested. Example: apps/myapp/
|
||||
# domainMappings/example.com.
|
||||
# @param [String] domain_mappings_id
|
||||
# Part of `name`. See documentation of `appsId`.
|
||||
# @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::AppengineV1::DomainMapping] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::AppengineV1::DomainMapping]
|
||||
#
|
||||
# @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_app_domain_mapping(apps_id, domain_mappings_id, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/apps/{appsId}/domainMappings/{domainMappingsId}', options)
|
||||
command.response_representation = Google::Apis::AppengineV1::DomainMapping::Representation
|
||||
command.response_class = Google::Apis::AppengineV1::DomainMapping
|
||||
command.params['appsId'] = apps_id unless apps_id.nil?
|
||||
command.params['domainMappingsId'] = domain_mappings_id unless domain_mappings_id.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 domain mappings on an application.
|
||||
# @param [String] apps_id
|
||||
# Part of `parent`. Name of the parent Application resource. Example: apps/myapp.
|
||||
# @param [Fixnum] page_size
|
||||
# Maximum results to return per page.
|
||||
# @param [String] page_token
|
||||
# Continuation token for fetching the next page of results.
|
||||
# @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::AppengineV1::ListDomainMappingsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::AppengineV1::ListDomainMappingsResponse]
|
||||
#
|
||||
# @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_app_domain_mappings(apps_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/apps/{appsId}/domainMappings', options)
|
||||
command.response_representation = Google::Apis::AppengineV1::ListDomainMappingsResponse::Representation
|
||||
command.response_class = Google::Apis::AppengineV1::ListDomainMappingsResponse
|
||||
command.params['appsId'] = apps_id unless apps_id.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Updates the specified domain mapping. To map an SSL certificate to a domain
|
||||
# mapping, update certificate_id to point to an AuthorizedCertificate resource.
|
||||
# A user must be authorized to administer the associated domain in order to
|
||||
# update a DomainMapping resource.
|
||||
# @param [String] apps_id
|
||||
# Part of `name`. Name of the resource to update. Example: apps/myapp/
|
||||
# domainMappings/example.com.
|
||||
# @param [String] domain_mappings_id
|
||||
# Part of `name`. See documentation of `appsId`.
|
||||
# @param [Google::Apis::AppengineV1::DomainMapping] domain_mapping_object
|
||||
# @param [String] update_mask
|
||||
# Standard field mask for the set of fields to be updated.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::AppengineV1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::AppengineV1::Operation]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def patch_app_domain_mapping(apps_id, domain_mappings_id, domain_mapping_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:patch, 'v1/apps/{appsId}/domainMappings/{domainMappingsId}', options)
|
||||
command.request_representation = Google::Apis::AppengineV1::DomainMapping::Representation
|
||||
command.request_object = domain_mapping_object
|
||||
command.response_representation = Google::Apis::AppengineV1::Operation::Representation
|
||||
command.response_class = Google::Apis::AppengineV1::Operation
|
||||
command.params['appsId'] = apps_id unless apps_id.nil?
|
||||
command.params['domainMappingsId'] = domain_mappings_id unless domain_mappings_id.nil?
|
||||
command.query['updateMask'] = update_mask unless update_mask.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Get information about a location.
|
||||
# @param [String] apps_id
|
||||
# Part of `name`. Resource name for the location.
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/appengine/docs/admin-api/
|
||||
module AppengineV1beta
|
||||
VERSION = 'V1beta'
|
||||
REVISION = '20170818'
|
||||
REVISION = '20170901'
|
||||
|
||||
# View and manage your applications deployed on Google App Engine
|
||||
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
||||
|
|
|
@ -236,6 +236,11 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :id
|
||||
|
||||
# A certificate managed by App Engine.
|
||||
# Corresponds to the JSON property `managedCertificate`
|
||||
# @return [Google::Apis::AppengineV1beta::ManagedCertificate]
|
||||
attr_accessor :managed_certificate
|
||||
|
||||
# Full path to the AuthorizedCertificate resource in the API. Example: apps/
|
||||
# myapp/authorizedCertificates/12345.@OutputOnly
|
||||
# Corresponds to the JSON property `name`
|
||||
|
@ -265,6 +270,7 @@ module Google
|
|||
@domain_names = args[:domain_names] if args.key?(:domain_names)
|
||||
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@managed_certificate = args[:managed_certificate] if args.key?(:managed_certificate)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@visible_domain_mappings = args[:visible_domain_mappings] if args.key?(:visible_domain_mappings)
|
||||
end
|
||||
|
@ -1488,6 +1494,34 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# A certificate managed by App Engine.
|
||||
class ManagedCertificate
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Time at which the certificate was last renewed. The renewal process is fully
|
||||
# managed. Certificate renewal will automatically occur before the certificate
|
||||
# expires. Renewal errors can be tracked via ManagementStatus.@OutputOnly
|
||||
# Corresponds to the JSON property `lastRenewalTime`
|
||||
# @return [String]
|
||||
attr_accessor :last_renewal_time
|
||||
|
||||
# Status of certificate management. Refers to the most recent certificate
|
||||
# acquisition or renewal attempt.@OutputOnly
|
||||
# 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)
|
||||
@last_renewal_time = args[:last_renewal_time] if args.key?(:last_renewal_time)
|
||||
@status = args[:status] if args.key?(:status)
|
||||
end
|
||||
end
|
||||
|
||||
# A service with manual scaling runs continuously, allowing you to perform
|
||||
# complex initialization and rely on the state of its memory over time.
|
||||
class ManualScaling
|
||||
|
@ -2239,11 +2273,33 @@ module Google
|
|||
include Google::Apis::Core::Hashable
|
||||
|
||||
# ID of the AuthorizedCertificate resource configuring SSL for the application.
|
||||
# Clearing this field will remove SSL support. Example: 12345.
|
||||
# Clearing this field will remove SSL support.By default, a managed certificate
|
||||
# is automatically created for every domain mapping. To omit SSL support or to
|
||||
# configure SSL manually, specify SslManagementType.MANUAL on a CREATE or UPDATE
|
||||
# request. You must be authorized to administer the AuthorizedCertificate
|
||||
# resource to manually map it to a DomainMapping resource. Example: 12345.
|
||||
# Corresponds to the JSON property `certificateId`
|
||||
# @return [String]
|
||||
attr_accessor :certificate_id
|
||||
|
||||
# ID of the managed AuthorizedCertificate resource currently being provisioned,
|
||||
# if applicable. Until the new managed certificate has been successfully
|
||||
# provisioned, the previous SSL state will be preserved. Once the provisioning
|
||||
# process completes, the certificate_id field will reflect the new managed
|
||||
# certificate and this field will be left empty. To remove SSL support while
|
||||
# there is still a pending managed certificate, clear the certificate_id field
|
||||
# with an UpdateDomainMappingRequest.@OutputOnly
|
||||
# Corresponds to the JSON property `pendingManagedCertificateId`
|
||||
# @return [String]
|
||||
attr_accessor :pending_managed_certificate_id
|
||||
|
||||
# SSL management type for this domain. If AUTOMATIC, a managed certificate is
|
||||
# automatically provisioned. If MANUAL, certificate_id must be manually
|
||||
# specified in order to configure SSL for this domain.
|
||||
# Corresponds to the JSON property `sslManagementType`
|
||||
# @return [String]
|
||||
attr_accessor :ssl_management_type
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -2251,6 +2307,8 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@certificate_id = args[:certificate_id] if args.key?(:certificate_id)
|
||||
@pending_managed_certificate_id = args[:pending_managed_certificate_id] if args.key?(:pending_managed_certificate_id)
|
||||
@ssl_management_type = args[:ssl_management_type] if args.key?(:ssl_management_type)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -256,6 +256,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ManagedCertificate
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ManualScaling
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -468,6 +474,8 @@ module Google
|
|||
collection :domain_names, as: 'domainNames'
|
||||
property :expire_time, as: 'expireTime'
|
||||
property :id, as: 'id'
|
||||
property :managed_certificate, as: 'managedCertificate', class: Google::Apis::AppengineV1beta::ManagedCertificate, decorator: Google::Apis::AppengineV1beta::ManagedCertificate::Representation
|
||||
|
||||
property :name, as: 'name'
|
||||
collection :visible_domain_mappings, as: 'visibleDomainMappings'
|
||||
end
|
||||
|
@ -816,6 +824,14 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class ManagedCertificate
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :last_renewal_time, as: 'lastRenewalTime'
|
||||
property :status, as: 'status'
|
||||
end
|
||||
end
|
||||
|
||||
class ManualScaling
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -996,6 +1012,8 @@ module Google
|
|||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :certificate_id, as: 'certificateId'
|
||||
property :pending_managed_certificate_id, as: 'pendingManagedCertificateId'
|
||||
property :ssl_management_type, as: 'sslManagementType'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/shopping-content
|
||||
module ContentV2sandbox
|
||||
VERSION = 'V2sandbox'
|
||||
REVISION = '20170725'
|
||||
REVISION = '20170830'
|
||||
|
||||
# Manage your product listings and accounts for Google Shopping
|
||||
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
|||
|
||||
def initialize
|
||||
super('https://www.googleapis.com/', 'deploymentmanager/v2/projects/')
|
||||
@batch_path = 'batch'
|
||||
@batch_path = 'batch/deploymentmanager/v2'
|
||||
end
|
||||
|
||||
# Cancels and removes the preview currently associated with the deployment.
|
||||
|
|
|
@ -51,7 +51,7 @@ module Google
|
|||
|
||||
def initialize
|
||||
super('https://www.googleapis.com/', 'discovery/v1/')
|
||||
@batch_path = 'batch'
|
||||
@batch_path = 'batch/discovery/v1'
|
||||
end
|
||||
|
||||
# Retrieve the description of a particular version of an api.
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/cloud-dns
|
||||
module DnsV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20170419'
|
||||
REVISION = '20170831'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
|||
|
||||
def initialize
|
||||
super('https://www.googleapis.com/', 'dns/v1/projects/')
|
||||
@batch_path = 'batch'
|
||||
@batch_path = 'batch/dns/v1'
|
||||
end
|
||||
|
||||
# Atomically update the ResourceRecordSet collection.
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/cloud-dns
|
||||
module DnsV2beta1
|
||||
VERSION = 'V2beta1'
|
||||
REVISION = '20170809'
|
||||
REVISION = '20170831'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/doubleclick-search/
|
||||
module DoubleclicksearchV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20170815'
|
||||
REVISION = '20170831'
|
||||
|
||||
# View and manage your advertising data in DoubleClick Search
|
||||
AUTH_DOUBLECLICKSEARCH = 'https://www.googleapis.com/auth/doubleclicksearch'
|
||||
|
|
|
@ -51,7 +51,7 @@ module Google
|
|||
|
||||
def initialize
|
||||
super('https://www.googleapis.com/', 'doubleclicksearch/v2/')
|
||||
@batch_path = 'batch'
|
||||
@batch_path = 'batch/doubleclicksearch/v2'
|
||||
end
|
||||
|
||||
# Retrieves a list of conversions from a DoubleClick Search engine account.
|
||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
|||
|
||||
def initialize
|
||||
super('https://www.googleapis.com/', 'fusiontables/v1/')
|
||||
@batch_path = 'batch'
|
||||
@batch_path = 'batch/fusiontables/v1'
|
||||
end
|
||||
|
||||
# Deletes the column.
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/games/services
|
||||
module GamesConfigurationV1configuration
|
||||
VERSION = 'V1configuration'
|
||||
REVISION = '20170420'
|
||||
REVISION = '20170831'
|
||||
|
||||
# View and manage your Google Play Developer account
|
||||
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/games/services/
|
||||
module GamesV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20170420'
|
||||
REVISION = '20170831'
|
||||
|
||||
# View and manage its own configuration data in your Google Drive
|
||||
AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/identity-toolkit/v3/
|
||||
module IdentitytoolkitV3
|
||||
VERSION = 'V3'
|
||||
REVISION = '20170817'
|
||||
REVISION = '20170828'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -1075,12 +1075,27 @@ module Google
|
|||
attr_accessor :allow_overwrite
|
||||
alias_method :allow_overwrite?, :allow_overwrite
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `blockSize`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :block_size
|
||||
|
||||
# The following 4 fields are for standard scrypt algorithm.
|
||||
# Corresponds to the JSON property `cpuMemCost`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :cpu_mem_cost
|
||||
|
||||
# GCP project number of the requesting delegated app. Currently only intended
|
||||
# for Firebase V1 migration.
|
||||
# Corresponds to the JSON property `delegatedProjectNumber`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :delegated_project_number
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `dkLen`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :dk_len
|
||||
|
||||
# The password hash algorithm.
|
||||
# Corresponds to the JSON property `hashAlgorithm`
|
||||
# @return [String]
|
||||
|
@ -1091,6 +1106,11 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :memory_cost
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `parallelization`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :parallelization
|
||||
|
||||
# Rounds for hash calculation. Used by scrypt and similar algorithms.
|
||||
# Corresponds to the JSON property `rounds`
|
||||
# @return [Fixnum]
|
||||
|
@ -1133,9 +1153,13 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@allow_overwrite = args[:allow_overwrite] if args.key?(:allow_overwrite)
|
||||
@block_size = args[:block_size] if args.key?(:block_size)
|
||||
@cpu_mem_cost = args[:cpu_mem_cost] if args.key?(:cpu_mem_cost)
|
||||
@delegated_project_number = args[:delegated_project_number] if args.key?(:delegated_project_number)
|
||||
@dk_len = args[:dk_len] if args.key?(:dk_len)
|
||||
@hash_algorithm = args[:hash_algorithm] if args.key?(:hash_algorithm)
|
||||
@memory_cost = args[:memory_cost] if args.key?(:memory_cost)
|
||||
@parallelization = args[:parallelization] if args.key?(:parallelization)
|
||||
@rounds = args[:rounds] if args.key?(:rounds)
|
||||
@salt_separator = args[:salt_separator] if args.key?(:salt_separator)
|
||||
@sanity_check = args[:sanity_check] if args.key?(:sanity_check)
|
||||
|
|
|
@ -527,9 +527,13 @@ module Google
|
|||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :allow_overwrite, as: 'allowOverwrite'
|
||||
property :block_size, as: 'blockSize'
|
||||
property :cpu_mem_cost, as: 'cpuMemCost'
|
||||
property :delegated_project_number, :numeric_string => true, as: 'delegatedProjectNumber'
|
||||
property :dk_len, as: 'dkLen'
|
||||
property :hash_algorithm, as: 'hashAlgorithm'
|
||||
property :memory_cost, as: 'memoryCost'
|
||||
property :parallelization, as: 'parallelization'
|
||||
property :rounds, as: 'rounds'
|
||||
property :salt_separator, :base64 => true, as: 'saltSeparator'
|
||||
property :sanity_check, as: 'sanityCheck'
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/natural-language/
|
||||
module LanguageV1beta2
|
||||
VERSION = 'V1beta2'
|
||||
REVISION = '20170809'
|
||||
REVISION = '20170905'
|
||||
|
||||
# Apply machine learning models to reveal the structure and meaning of text
|
||||
AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language'
|
||||
|
|
|
@ -286,6 +286,11 @@ module Google
|
|||
class AnnotateTextResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Categories identified in the input document.
|
||||
# Corresponds to the JSON property `categories`
|
||||
# @return [Array<Google::Apis::LanguageV1beta2::ClassificationCategory>]
|
||||
attr_accessor :categories
|
||||
|
||||
# Represents the feeling associated with the entire text or entities in
|
||||
# the text.
|
||||
# Corresponds to the JSON property `documentSentiment`
|
||||
|
@ -325,6 +330,7 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@categories = args[:categories] if args.key?(:categories)
|
||||
@document_sentiment = args[:document_sentiment] if args.key?(:document_sentiment)
|
||||
@entities = args[:entities] if args.key?(:entities)
|
||||
@language = args[:language] if args.key?(:language)
|
||||
|
@ -333,6 +339,71 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Represents a category returned from the text classifier.
|
||||
class ClassificationCategory
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The classifier's confidence of the category. Number represents how certain
|
||||
# the classifier is that this category represents the given text.
|
||||
# Corresponds to the JSON property `confidence`
|
||||
# @return [Float]
|
||||
attr_accessor :confidence
|
||||
|
||||
# The name of the category representing the document.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@confidence = args[:confidence] if args.key?(:confidence)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
end
|
||||
end
|
||||
|
||||
# The document classification request message.
|
||||
class ClassifyTextRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# ################################################################ #
|
||||
# Represents the input to API methods.
|
||||
# Corresponds to the JSON property `document`
|
||||
# @return [Google::Apis::LanguageV1beta2::Document]
|
||||
attr_accessor :document
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@document = args[:document] if args.key?(:document)
|
||||
end
|
||||
end
|
||||
|
||||
# The document classification response message.
|
||||
class ClassifyTextResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Categories representing the input document.
|
||||
# Corresponds to the JSON property `categories`
|
||||
# @return [Array<Google::Apis::LanguageV1beta2::ClassificationCategory>]
|
||||
attr_accessor :categories
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@categories = args[:categories] if args.key?(:categories)
|
||||
end
|
||||
end
|
||||
|
||||
# Represents dependency parse tree information for a token.
|
||||
class DependencyEdge
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -508,6 +579,12 @@ module Google
|
|||
class Features
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Classify the full document into categories.
|
||||
# Corresponds to the JSON property `classifyText`
|
||||
# @return [Boolean]
|
||||
attr_accessor :classify_text
|
||||
alias_method :classify_text?, :classify_text
|
||||
|
||||
# Extract document-level sentiment.
|
||||
# Corresponds to the JSON property `extractDocumentSentiment`
|
||||
# @return [Boolean]
|
||||
|
@ -538,6 +615,7 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@classify_text = args[:classify_text] if args.key?(:classify_text)
|
||||
@extract_document_sentiment = args[:extract_document_sentiment] if args.key?(:extract_document_sentiment)
|
||||
@extract_entities = args[:extract_entities] if args.key?(:extract_entities)
|
||||
@extract_entity_sentiment = args[:extract_entity_sentiment] if args.key?(:extract_entity_sentiment)
|
||||
|
|
|
@ -82,6 +82,24 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ClassificationCategory
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ClassifyTextRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ClassifyTextResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class DependencyEdge
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -238,6 +256,8 @@ module Google
|
|||
class AnnotateTextResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :categories, as: 'categories', class: Google::Apis::LanguageV1beta2::ClassificationCategory, decorator: Google::Apis::LanguageV1beta2::ClassificationCategory::Representation
|
||||
|
||||
property :document_sentiment, as: 'documentSentiment', class: Google::Apis::LanguageV1beta2::Sentiment, decorator: Google::Apis::LanguageV1beta2::Sentiment::Representation
|
||||
|
||||
collection :entities, as: 'entities', class: Google::Apis::LanguageV1beta2::Entity, decorator: Google::Apis::LanguageV1beta2::Entity::Representation
|
||||
|
@ -250,6 +270,30 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class ClassificationCategory
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :confidence, as: 'confidence'
|
||||
property :name, as: 'name'
|
||||
end
|
||||
end
|
||||
|
||||
class ClassifyTextRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :document, as: 'document', class: Google::Apis::LanguageV1beta2::Document, decorator: Google::Apis::LanguageV1beta2::Document::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class ClassifyTextResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :categories, as: 'categories', class: Google::Apis::LanguageV1beta2::ClassificationCategory, decorator: Google::Apis::LanguageV1beta2::ClassificationCategory::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class DependencyEdge
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -296,6 +340,7 @@ module Google
|
|||
class Features
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :classify_text, as: 'classifyText'
|
||||
property :extract_document_sentiment, as: 'extractDocumentSentiment'
|
||||
property :extract_entities, as: 'extractEntities'
|
||||
property :extract_entity_sentiment, as: 'extractEntitySentiment'
|
||||
|
|
|
@ -204,6 +204,36 @@ module Google
|
|||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Classifies a document into categories.
|
||||
# @param [Google::Apis::LanguageV1beta2::ClassifyTextRequest] classify_text_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::LanguageV1beta2::ClassifyTextResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::LanguageV1beta2::ClassifyTextResponse]
|
||||
#
|
||||
# @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 classify_document_text(classify_text_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1beta2/documents:classifyText', options)
|
||||
command.request_representation = Google::Apis::LanguageV1beta2::ClassifyTextRequest::Representation
|
||||
command.request_object = classify_text_request_object
|
||||
command.response_representation = Google::Apis::LanguageV1beta2::ClassifyTextResponse::Representation
|
||||
command.response_class = Google::Apis::LanguageV1beta2::ClassifyTextResponse
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
protected
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ module Google
|
|||
|
||||
def initialize
|
||||
super('https://www.googleapis.com/', 'pagespeedonline/v1/')
|
||||
@batch_path = 'batch'
|
||||
@batch_path = 'batch/pagespeedonline/v1'
|
||||
end
|
||||
|
||||
# Runs PageSpeed analysis on the page at the specified URL, and returns a
|
||||
|
|
|
@ -51,7 +51,7 @@ module Google
|
|||
|
||||
def initialize
|
||||
super('https://www.googleapis.com/', 'pagespeedonline/v2/')
|
||||
@batch_path = 'batch'
|
||||
@batch_path = 'batch/pagespeedonline/v2'
|
||||
end
|
||||
|
||||
# Runs PageSpeed analysis on the page at the specified URL, and returns
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/+/api/
|
||||
module PlusV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20170410'
|
||||
REVISION = '20170828'
|
||||
|
||||
# Know the list of people in your circles, your age range, and language
|
||||
AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login'
|
||||
|
|
|
@ -51,7 +51,7 @@ module Google
|
|||
|
||||
def initialize
|
||||
super('https://www.googleapis.com/', 'prediction/v1.6/projects/')
|
||||
@batch_path = 'batch'
|
||||
@batch_path = 'batch/prediction/v1.6'
|
||||
end
|
||||
|
||||
# Submit input and request an output against a hosted model.
|
||||
|
|
|
@ -51,7 +51,7 @@ module Google
|
|||
|
||||
def initialize
|
||||
super('https://www.googleapis.com/', 'replicapool/v1beta2/projects/')
|
||||
@batch_path = 'batch'
|
||||
@batch_path = 'batch/replicapool/v1beta2'
|
||||
end
|
||||
|
||||
# Removes the specified instances from the managed instance group, and from any
|
||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
|||
|
||||
def initialize
|
||||
super('https://www.googleapis.com/', 'apps/reseller/v1/')
|
||||
@batch_path = 'batch'
|
||||
@batch_path = 'batch/reseller/v1'
|
||||
end
|
||||
|
||||
# Get a customer account.
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/spanner/
|
||||
module SpannerV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20170726'
|
||||
REVISION = '20170825'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -22,148 +22,6 @@ module Google
|
|||
module Apis
|
||||
module SpannerV1
|
||||
|
||||
# Specifies the audit configuration for a service.
|
||||
# The configuration determines which permission types are logged, and what
|
||||
# identities, if any, are exempted from logging.
|
||||
# An AuditConfig must have one or more AuditLogConfigs.
|
||||
# If there are AuditConfigs for both `allServices` and a specific service,
|
||||
# the union of the two AuditConfigs is used for that service: the log_types
|
||||
# specified in each AuditConfig are enabled, and the exempted_members in each
|
||||
# AuditConfig are exempted.
|
||||
# Example Policy with multiple AuditConfigs:
|
||||
# `
|
||||
# "audit_configs": [
|
||||
# `
|
||||
# "service": "allServices"
|
||||
# "audit_log_configs": [
|
||||
# `
|
||||
# "log_type": "DATA_READ",
|
||||
# "exempted_members": [
|
||||
# "user:foo@gmail.com"
|
||||
# ]
|
||||
# `,
|
||||
# `
|
||||
# "log_type": "DATA_WRITE",
|
||||
# `,
|
||||
# `
|
||||
# "log_type": "ADMIN_READ",
|
||||
# `
|
||||
# ]
|
||||
# `,
|
||||
# `
|
||||
# "service": "fooservice.googleapis.com"
|
||||
# "audit_log_configs": [
|
||||
# `
|
||||
# "log_type": "DATA_READ",
|
||||
# `,
|
||||
# `
|
||||
# "log_type": "DATA_WRITE",
|
||||
# "exempted_members": [
|
||||
# "user:bar@gmail.com"
|
||||
# ]
|
||||
# `
|
||||
# ]
|
||||
# `
|
||||
# ]
|
||||
# `
|
||||
# For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
||||
# logging. It also exempts foo@gmail.com from DATA_READ logging, and
|
||||
# bar@gmail.com from DATA_WRITE logging.
|
||||
class AuditConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The configuration for logging of each type of permission.
|
||||
# Next ID: 4
|
||||
# Corresponds to the JSON property `auditLogConfigs`
|
||||
# @return [Array<Google::Apis::SpannerV1::AuditLogConfig>]
|
||||
attr_accessor :audit_log_configs
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `exemptedMembers`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :exempted_members
|
||||
|
||||
# Specifies a service that will be enabled for audit logging.
|
||||
# For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
|
||||
# `allServices` is a special value that covers all services.
|
||||
# Corresponds to the JSON property `service`
|
||||
# @return [String]
|
||||
attr_accessor :service
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
|
||||
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
||||
@service = args[:service] if args.key?(:service)
|
||||
end
|
||||
end
|
||||
|
||||
# Provides the configuration for logging a type of permissions.
|
||||
# Example:
|
||||
# `
|
||||
# "audit_log_configs": [
|
||||
# `
|
||||
# "log_type": "DATA_READ",
|
||||
# "exempted_members": [
|
||||
# "user:foo@gmail.com"
|
||||
# ]
|
||||
# `,
|
||||
# `
|
||||
# "log_type": "DATA_WRITE",
|
||||
# `
|
||||
# ]
|
||||
# `
|
||||
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
|
||||
# foo@gmail.com from DATA_READ logging.
|
||||
class AuditLogConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Specifies the identities that do not cause logging for this type of
|
||||
# permission.
|
||||
# Follows the same format of Binding.members.
|
||||
# Corresponds to the JSON property `exemptedMembers`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :exempted_members
|
||||
|
||||
# The log type that this config enables.
|
||||
# Corresponds to the JSON property `logType`
|
||||
# @return [String]
|
||||
attr_accessor :log_type
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
||||
@log_type = args[:log_type] if args.key?(:log_type)
|
||||
end
|
||||
end
|
||||
|
||||
# Authorization-related information used by Cloud Audit Logging.
|
||||
class AuthorizationLoggingOptions
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The type of the permission that was checked.
|
||||
# Corresponds to the JSON property `permissionType`
|
||||
# @return [String]
|
||||
attr_accessor :permission_type
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@permission_type = args[:permission_type] if args.key?(:permission_type)
|
||||
end
|
||||
end
|
||||
|
||||
# The request for BeginTransaction.
|
||||
class BeginTransactionRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -354,14 +212,6 @@ module Google
|
|||
class Binding
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Represents an expression text. Example:
|
||||
# title: "User account presence"
|
||||
# description: "Determines whether the request has a user account"
|
||||
# expression: "size(request.user) > 0"
|
||||
# Corresponds to the JSON property `condition`
|
||||
# @return [Google::Apis::SpannerV1::Expr]
|
||||
attr_accessor :condition
|
||||
|
||||
# Specifies the identities requesting access for a Cloud Platform resource.
|
||||
# `members` can have the following values:
|
||||
# * `allUsers`: A special identifier that represents anyone who is
|
||||
|
@ -393,7 +243,6 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@condition = args[:condition] if args.key?(:condition)
|
||||
@members = args[:members] if args.key?(:members)
|
||||
@role = args[:role] if args.key?(:role)
|
||||
end
|
||||
|
@ -441,31 +290,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Write a Cloud Audit log
|
||||
class CloudAuditOptions
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Authorization-related information used by Cloud Audit Logging.
|
||||
# Corresponds to the JSON property `authorizationLoggingOptions`
|
||||
# @return [Google::Apis::SpannerV1::AuthorizationLoggingOptions]
|
||||
attr_accessor :authorization_logging_options
|
||||
|
||||
# The log_name to populate in the Cloud Audit Record.
|
||||
# Corresponds to the JSON property `logName`
|
||||
# @return [String]
|
||||
attr_accessor :log_name
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@authorization_logging_options = args[:authorization_logging_options] if args.key?(:authorization_logging_options)
|
||||
@log_name = args[:log_name] if args.key?(:log_name)
|
||||
end
|
||||
end
|
||||
|
||||
# The request for Commit.
|
||||
class CommitRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -686,81 +510,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# A condition to be met.
|
||||
class Condition
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Trusted attributes supplied by the IAM system.
|
||||
# Corresponds to the JSON property `iam`
|
||||
# @return [String]
|
||||
attr_accessor :iam
|
||||
|
||||
# An operator to apply the subject with.
|
||||
# Corresponds to the JSON property `op`
|
||||
# @return [String]
|
||||
attr_accessor :op
|
||||
|
||||
# Trusted attributes discharged by the service.
|
||||
# Corresponds to the JSON property `svc`
|
||||
# @return [String]
|
||||
attr_accessor :svc
|
||||
|
||||
# Trusted attributes supplied by any service that owns resources and uses
|
||||
# the IAM system for access control.
|
||||
# Corresponds to the JSON property `sys`
|
||||
# @return [String]
|
||||
attr_accessor :sys
|
||||
|
||||
# DEPRECATED. Use 'values' instead.
|
||||
# Corresponds to the JSON property `value`
|
||||
# @return [String]
|
||||
attr_accessor :value
|
||||
|
||||
# The objects of the condition. This is mutually exclusive with 'value'.
|
||||
# Corresponds to the JSON property `values`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :values
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@iam = args[:iam] if args.key?(:iam)
|
||||
@op = args[:op] if args.key?(:op)
|
||||
@svc = args[:svc] if args.key?(:svc)
|
||||
@sys = args[:sys] if args.key?(:sys)
|
||||
@value = args[:value] if args.key?(:value)
|
||||
@values = args[:values] if args.key?(:values)
|
||||
end
|
||||
end
|
||||
|
||||
# Options for counters
|
||||
class CounterOptions
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The field value to attribute.
|
||||
# Corresponds to the JSON property `field`
|
||||
# @return [String]
|
||||
attr_accessor :field
|
||||
|
||||
# The metric to update.
|
||||
# Corresponds to the JSON property `metric`
|
||||
# @return [String]
|
||||
attr_accessor :metric
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@field = args[:field] if args.key?(:field)
|
||||
@metric = args[:metric] if args.key?(:metric)
|
||||
end
|
||||
end
|
||||
|
||||
# Metadata type for the operation returned by
|
||||
# CreateDatabase.
|
||||
class CreateDatabaseMetadata
|
||||
|
@ -882,19 +631,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Write a Data Access (Gin) log
|
||||
class DataAccessOptions
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
end
|
||||
end
|
||||
|
||||
# A Cloud Spanner database.
|
||||
class Database
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -1049,53 +785,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Represents an expression text. Example:
|
||||
# title: "User account presence"
|
||||
# description: "Determines whether the request has a user account"
|
||||
# expression: "size(request.user) > 0"
|
||||
class Expr
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# An optional description of the expression. This is a longer text which
|
||||
# describes the expression, e.g. when hovered over it in a UI.
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# Textual representation of an expression in
|
||||
# Common Expression Language syntax.
|
||||
# The application context of the containing message determines which
|
||||
# well-known feature set of CEL is supported.
|
||||
# Corresponds to the JSON property `expression`
|
||||
# @return [String]
|
||||
attr_accessor :expression
|
||||
|
||||
# An optional string indicating the location of the expression for error
|
||||
# reporting, e.g. a file name and a position in the file.
|
||||
# Corresponds to the JSON property `location`
|
||||
# @return [String]
|
||||
attr_accessor :location
|
||||
|
||||
# An optional title for the expression, i.e. a short string describing
|
||||
# its purpose. This can be used e.g. in UIs which allow to enter the
|
||||
# expression.
|
||||
# Corresponds to the JSON property `title`
|
||||
# @return [String]
|
||||
attr_accessor :title
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@expression = args[:expression] if args.key?(:expression)
|
||||
@location = args[:location] if args.key?(:location)
|
||||
@title = args[:title] if args.key?(:title)
|
||||
end
|
||||
end
|
||||
|
||||
# Message representing a single field of a struct.
|
||||
class Field
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -1526,54 +1215,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Specifies what kind of log the caller must write
|
||||
# Increment a streamz counter with the specified metric and field names.
|
||||
# Metric names should start with a '/', generally be lowercase-only,
|
||||
# and end in "_count". Field names should not contain an initial slash.
|
||||
# The actual exported metric names will have "/iam/policy" prepended.
|
||||
# Field names correspond to IAM request parameters and field values are
|
||||
# their respective values.
|
||||
# At present the only supported field names are
|
||||
# - "iam_principal", corresponding to IAMContext.principal;
|
||||
# - "" (empty string), resulting in one aggretated counter with no field.
|
||||
# Examples:
|
||||
# counter ` metric: "/debug_access_count" field: "iam_principal" `
|
||||
# ==> increment counter /iam/policy/backend_debug_access_count
|
||||
# `iam_principal=[value of IAMContext.principal]`
|
||||
# At this time we do not support:
|
||||
# * multiple field names (though this may be supported in the future)
|
||||
# * decrementing the counter
|
||||
# * incrementing it by anything other than 1
|
||||
class LogConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Write a Cloud Audit log
|
||||
# Corresponds to the JSON property `cloudAudit`
|
||||
# @return [Google::Apis::SpannerV1::CloudAuditOptions]
|
||||
attr_accessor :cloud_audit
|
||||
|
||||
# Options for counters
|
||||
# Corresponds to the JSON property `counter`
|
||||
# @return [Google::Apis::SpannerV1::CounterOptions]
|
||||
attr_accessor :counter
|
||||
|
||||
# Write a Data Access (Gin) log
|
||||
# Corresponds to the JSON property `dataAccess`
|
||||
# @return [Google::Apis::SpannerV1::DataAccessOptions]
|
||||
attr_accessor :data_access
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@cloud_audit = args[:cloud_audit] if args.key?(:cloud_audit)
|
||||
@counter = args[:counter] if args.key?(:counter)
|
||||
@data_access = args[:data_access] if args.key?(:data_access)
|
||||
end
|
||||
end
|
||||
|
||||
# A modification to one or more Cloud Spanner rows. Mutations can be
|
||||
# applied to a Cloud Spanner database by sending them in a
|
||||
# Commit call.
|
||||
|
@ -1929,11 +1570,6 @@ module Google
|
|||
class Policy
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Specifies cloud audit logging configuration for this policy.
|
||||
# Corresponds to the JSON property `auditConfigs`
|
||||
# @return [Array<Google::Apis::SpannerV1::AuditConfig>]
|
||||
attr_accessor :audit_configs
|
||||
|
||||
# Associates a list of `members` to a `role`.
|
||||
# `bindings` with no members will result in an error.
|
||||
# Corresponds to the JSON property `bindings`
|
||||
|
@ -1954,25 +1590,6 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :etag
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `iamOwned`
|
||||
# @return [Boolean]
|
||||
attr_accessor :iam_owned
|
||||
alias_method :iam_owned?, :iam_owned
|
||||
|
||||
# If more than one rule is specified, the rules are applied in the following
|
||||
# manner:
|
||||
# - All matching LOG rules are always applied.
|
||||
# - If any DENY/DENY_WITH_LOG rule matches, permission is denied.
|
||||
# Logging will be applied if one or more matching rule requires logging.
|
||||
# - Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is
|
||||
# granted.
|
||||
# Logging will be applied if one or more matching rule requires logging.
|
||||
# - Otherwise, if no rule applies, permission is denied.
|
||||
# Corresponds to the JSON property `rules`
|
||||
# @return [Array<Google::Apis::SpannerV1::Rule>]
|
||||
attr_accessor :rules
|
||||
|
||||
# Version of the `Policy`. The default version is 0.
|
||||
# Corresponds to the JSON property `version`
|
||||
# @return [Fixnum]
|
||||
|
@ -1984,11 +1601,8 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@audit_configs = args[:audit_configs] if args.key?(:audit_configs)
|
||||
@bindings = args[:bindings] if args.key?(:bindings)
|
||||
@etag = args[:etag] if args.key?(:etag)
|
||||
@iam_owned = args[:iam_owned] if args.key?(:iam_owned)
|
||||
@rules = args[:rules] if args.key?(:rules)
|
||||
@version = args[:version] if args.key?(:version)
|
||||
end
|
||||
end
|
||||
|
@ -2298,68 +1912,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# A rule to be applied in a Policy.
|
||||
class Rule
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Required
|
||||
# Corresponds to the JSON property `action`
|
||||
# @return [String]
|
||||
attr_accessor :action
|
||||
|
||||
# Additional restrictions that must be met
|
||||
# Corresponds to the JSON property `conditions`
|
||||
# @return [Array<Google::Apis::SpannerV1::Condition>]
|
||||
attr_accessor :conditions
|
||||
|
||||
# Human-readable description of the rule.
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# If one or more 'in' clauses are specified, the rule matches if
|
||||
# the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.
|
||||
# Corresponds to the JSON property `in`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :in
|
||||
|
||||
# The config returned to callers of tech.iam.IAM.CheckPolicy for any entries
|
||||
# that match the LOG action.
|
||||
# Corresponds to the JSON property `logConfig`
|
||||
# @return [Array<Google::Apis::SpannerV1::LogConfig>]
|
||||
attr_accessor :log_config
|
||||
|
||||
# If one or more 'not_in' clauses are specified, the rule matches
|
||||
# if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.
|
||||
# The format for in and not_in entries is the same as for members in a
|
||||
# Binding (see google/iam/v1/policy.proto).
|
||||
# Corresponds to the JSON property `notIn`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :not_in
|
||||
|
||||
# A permission is a string of form '<service>.<resource type>.<verb>'
|
||||
# (e.g., 'storage.buckets.list'). A value of '*' matches all permissions,
|
||||
# and a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.
|
||||
# Corresponds to the JSON property `permissions`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :permissions
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@action = args[:action] if args.key?(:action)
|
||||
@conditions = args[:conditions] if args.key?(:conditions)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@in = args[:in] if args.key?(:in)
|
||||
@log_config = args[:log_config] if args.key?(:log_config)
|
||||
@not_in = args[:not_in] if args.key?(:not_in)
|
||||
@permissions = args[:permissions] if args.key?(:permissions)
|
||||
end
|
||||
end
|
||||
|
||||
# A session in the Cloud Spanner API.
|
||||
class Session
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -2413,15 +1965,6 @@ module Google
|
|||
# @return [Google::Apis::SpannerV1::Policy]
|
||||
attr_accessor :policy
|
||||
|
||||
# OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
|
||||
# the fields in the mask will be modified. If no mask is provided, the
|
||||
# following default mask is used:
|
||||
# paths: "bindings, etag"
|
||||
# This field is only used by Cloud IAM.
|
||||
# Corresponds to the JSON property `updateMask`
|
||||
# @return [String]
|
||||
attr_accessor :update_mask
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -2429,7 +1972,6 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@policy = args[:policy] if args.key?(:policy)
|
||||
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -22,24 +22,6 @@ module Google
|
|||
module Apis
|
||||
module SpannerV1
|
||||
|
||||
class AuditConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class AuditLogConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class AuthorizationLoggingOptions
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class BeginTransactionRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -58,12 +40,6 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class CloudAuditOptions
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class CommitRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -76,18 +52,6 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Condition
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class CounterOptions
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class CreateDatabaseMetadata
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -112,12 +76,6 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class DataAccessOptions
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Database
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -142,12 +100,6 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Expr
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Field
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -214,12 +166,6 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class LogConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Mutation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -298,12 +244,6 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Rule
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Session
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -400,31 +340,6 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class AuditConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::SpannerV1::AuditLogConfig, decorator: Google::Apis::SpannerV1::AuditLogConfig::Representation
|
||||
|
||||
collection :exempted_members, as: 'exemptedMembers'
|
||||
property :service, as: 'service'
|
||||
end
|
||||
end
|
||||
|
||||
class AuditLogConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :exempted_members, as: 'exemptedMembers'
|
||||
property :log_type, as: 'logType'
|
||||
end
|
||||
end
|
||||
|
||||
class AuthorizationLoggingOptions
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :permission_type, as: 'permissionType'
|
||||
end
|
||||
end
|
||||
|
||||
class BeginTransactionRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -436,8 +351,6 @@ module Google
|
|||
class Binding
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :condition, as: 'condition', class: Google::Apis::SpannerV1::Expr, decorator: Google::Apis::SpannerV1::Expr::Representation
|
||||
|
||||
collection :members, as: 'members'
|
||||
property :role, as: 'role'
|
||||
end
|
||||
|
@ -452,15 +365,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class CloudAuditOptions
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :authorization_logging_options, as: 'authorizationLoggingOptions', class: Google::Apis::SpannerV1::AuthorizationLoggingOptions, decorator: Google::Apis::SpannerV1::AuthorizationLoggingOptions::Representation
|
||||
|
||||
property :log_name, as: 'logName'
|
||||
end
|
||||
end
|
||||
|
||||
class CommitRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -479,26 +383,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class Condition
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :iam, as: 'iam'
|
||||
property :op, as: 'op'
|
||||
property :svc, as: 'svc'
|
||||
property :sys, as: 'sys'
|
||||
property :value, as: 'value'
|
||||
collection :values, as: 'values'
|
||||
end
|
||||
end
|
||||
|
||||
class CounterOptions
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :field, as: 'field'
|
||||
property :metric, as: 'metric'
|
||||
end
|
||||
end
|
||||
|
||||
class CreateDatabaseMetadata
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -534,12 +418,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class DataAccessOptions
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
end
|
||||
end
|
||||
|
||||
class Database
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -577,16 +455,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class Expr
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :description, as: 'description'
|
||||
property :expression, as: 'expression'
|
||||
property :location, as: 'location'
|
||||
property :title, as: 'title'
|
||||
end
|
||||
end
|
||||
|
||||
class Field
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -689,18 +557,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class LogConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :cloud_audit, as: 'cloudAudit', class: Google::Apis::SpannerV1::CloudAuditOptions, decorator: Google::Apis::SpannerV1::CloudAuditOptions::Representation
|
||||
|
||||
property :counter, as: 'counter', class: Google::Apis::SpannerV1::CounterOptions, decorator: Google::Apis::SpannerV1::CounterOptions::Representation
|
||||
|
||||
property :data_access, as: 'dataAccess', class: Google::Apis::SpannerV1::DataAccessOptions, decorator: Google::Apis::SpannerV1::DataAccessOptions::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class Mutation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -760,14 +616,9 @@ module Google
|
|||
class Policy
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :audit_configs, as: 'auditConfigs', class: Google::Apis::SpannerV1::AuditConfig, decorator: Google::Apis::SpannerV1::AuditConfig::Representation
|
||||
|
||||
collection :bindings, as: 'bindings', class: Google::Apis::SpannerV1::Binding, decorator: Google::Apis::SpannerV1::Binding::Representation
|
||||
|
||||
property :etag, :base64 => true, as: 'etag'
|
||||
property :iam_owned, as: 'iamOwned'
|
||||
collection :rules, as: 'rules', class: Google::Apis::SpannerV1::Rule, decorator: Google::Apis::SpannerV1::Rule::Representation
|
||||
|
||||
property :version, as: 'version'
|
||||
end
|
||||
end
|
||||
|
@ -854,21 +705,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class Rule
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :action, as: 'action'
|
||||
collection :conditions, as: 'conditions', class: Google::Apis::SpannerV1::Condition, decorator: Google::Apis::SpannerV1::Condition::Representation
|
||||
|
||||
property :description, as: 'description'
|
||||
collection :in, as: 'in'
|
||||
collection :log_config, as: 'logConfig', class: Google::Apis::SpannerV1::LogConfig, decorator: Google::Apis::SpannerV1::LogConfig::Representation
|
||||
|
||||
collection :not_in, as: 'notIn'
|
||||
collection :permissions, as: 'permissions'
|
||||
end
|
||||
end
|
||||
|
||||
class Session
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -881,7 +717,6 @@ module Google
|
|||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :policy, as: 'policy', class: Google::Apis::SpannerV1::Policy, decorator: Google::Apis::SpannerV1::Policy::Representation
|
||||
|
||||
property :update_mask, as: 'updateMask'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
|||
|
||||
def initialize
|
||||
super('https://www.googleapis.com/', 'storage/v1beta1/')
|
||||
@batch_path = 'batch'
|
||||
@batch_path = 'batch/storage/v1beta1'
|
||||
end
|
||||
|
||||
# Deletes the ACL entry for the specified entity on the specified bucket.
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/storage/docs/json_api/
|
||||
module StorageV1beta2
|
||||
VERSION = 'V1beta2'
|
||||
REVISION = '20170329'
|
||||
REVISION = '20170816'
|
||||
|
||||
# Manage your data and permissions in Google Cloud Storage
|
||||
AUTH_DEVSTORAGE_FULL_CONTROL = 'https://www.googleapis.com/auth/devstorage.full_control'
|
||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
|||
|
||||
def initialize
|
||||
super('https://www.googleapis.com/', 'taskqueue/v1beta1/projects/')
|
||||
@batch_path = 'batch'
|
||||
@batch_path = 'batch/taskqueue/v1beta1'
|
||||
end
|
||||
|
||||
# Get detailed information about a TaskQueue.
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://firebase.google.com/docs/test-lab/
|
||||
module ToolresultsV1beta3
|
||||
VERSION = 'V1beta3'
|
||||
REVISION = '20170829'
|
||||
REVISION = '20170831'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
|||
|
||||
def initialize
|
||||
super('https://www.googleapis.com/', 'toolresults/v1beta3/projects/')
|
||||
@batch_path = 'batch'
|
||||
@batch_path = 'batch/toolresults/v1beta3'
|
||||
end
|
||||
|
||||
# Gets the Tool Results settings for a project.
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://firebase.google.com/docs/test-lab/
|
||||
module ToolresultsV1beta3firstparty
|
||||
VERSION = 'V1beta3firstparty'
|
||||
REVISION = '20170829'
|
||||
REVISION = '20170831'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
|||
|
||||
def initialize
|
||||
super('https://www.googleapis.com/', 'toolresults/v1beta3firstparty/projects/')
|
||||
@batch_path = 'batch'
|
||||
@batch_path = 'batch/toolresults/v1beta3firstparty'
|
||||
end
|
||||
|
||||
# Gets the Tool Results settings for a project.
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see http://developers.google.com/youtube/analytics/
|
||||
module YoutubeAnalyticsV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20170425'
|
||||
REVISION = '20170905'
|
||||
|
||||
# Manage your YouTube account
|
||||
AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see http://developers.google.com/youtube/analytics/
|
||||
module YoutubeAnalyticsV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20170425'
|
||||
REVISION = '20170905'
|
||||
|
||||
# Manage your YouTube account
|
||||
AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'
|
||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
|||
|
||||
def initialize
|
||||
super('https://www.googleapis.com/', 'youtube/analytics/v1beta1/')
|
||||
@batch_path = 'batch'
|
||||
@batch_path = 'batch/youtubeAnalytics/v1beta1'
|
||||
end
|
||||
|
||||
# Removes an item from a group.
|
||||
|
|
Loading…
Reference in New Issue