Autogenerated update (2020-07-22)
Update: - apigee_v1 - books_v1 - chromeuxreport_v1 - cloudbuild_v1 - cloudbuild_v1alpha1 - cloudbuild_v1alpha2 - dialogflow_v2 - dialogflow_v2beta1 - fcm_v1 - firebase_v1beta1 - testing_v1
This commit is contained in:
parent
33bbd8c955
commit
07590a65ff
|
@ -9808,6 +9808,7 @@
|
||||||
"/apigee:v1/GoogleCloudApigeeV1IngressConfig/environmentGroups": environment_groups
|
"/apigee:v1/GoogleCloudApigeeV1IngressConfig/environmentGroups": environment_groups
|
||||||
"/apigee:v1/GoogleCloudApigeeV1IngressConfig/environmentGroups/environment_group": environment_group
|
"/apigee:v1/GoogleCloudApigeeV1IngressConfig/environmentGroups/environment_group": environment_group
|
||||||
"/apigee:v1/GoogleCloudApigeeV1IngressConfig/name": name
|
"/apigee:v1/GoogleCloudApigeeV1IngressConfig/name": name
|
||||||
|
"/apigee:v1/GoogleCloudApigeeV1IngressConfig/revisionCreateTime": revision_create_time
|
||||||
"/apigee:v1/GoogleCloudApigeeV1IngressConfig/revisionId": revision_id
|
"/apigee:v1/GoogleCloudApigeeV1IngressConfig/revisionId": revision_id
|
||||||
"/apigee:v1/GoogleCloudApigeeV1IngressConfig/sequenceNumber": sequence_number
|
"/apigee:v1/GoogleCloudApigeeV1IngressConfig/sequenceNumber": sequence_number
|
||||||
"/apigee:v1/GoogleCloudApigeeV1IngressConfig/uid": uid
|
"/apigee:v1/GoogleCloudApigeeV1IngressConfig/uid": uid
|
||||||
|
@ -10454,6 +10455,7 @@
|
||||||
"/apigee:v1/apigee.organizations.environments.apis.revisions.deployments.generateUndeployChangeReport": generate_organization_environment_api_revision_deployment_undeploy_change_report
|
"/apigee:v1/apigee.organizations.environments.apis.revisions.deployments.generateUndeployChangeReport": generate_organization_environment_api_revision_deployment_undeploy_change_report
|
||||||
"/apigee:v1/apigee.organizations.environments.apis.revisions.deployments.generateUndeployChangeReport/name": name
|
"/apigee:v1/apigee.organizations.environments.apis.revisions.deployments.generateUndeployChangeReport/name": name
|
||||||
"/apigee:v1/apigee.organizations.environments.apis.revisions.deployments/name": name
|
"/apigee:v1/apigee.organizations.environments.apis.revisions.deployments/name": name
|
||||||
|
"/apigee:v1/apigee.organizations.environments.apis.revisions.deployments/sequencedRollout": sequenced_rollout
|
||||||
"/apigee:v1/apigee.organizations.environments.apis.revisions.getDeployments": get_organization_environment_api_revision_deployments
|
"/apigee:v1/apigee.organizations.environments.apis.revisions.getDeployments": get_organization_environment_api_revision_deployments
|
||||||
"/apigee:v1/apigee.organizations.environments.apis.revisions.getDeployments/name": name
|
"/apigee:v1/apigee.organizations.environments.apis.revisions.getDeployments/name": name
|
||||||
"/apigee:v1/apigee.organizations.environments.caches.delete": delete_organization_environment_cach
|
"/apigee:v1/apigee.organizations.environments.caches.delete": delete_organization_environment_cach
|
||||||
|
@ -17705,6 +17707,7 @@
|
||||||
"/chromeuxreport:v1/Bin/end": end
|
"/chromeuxreport:v1/Bin/end": end
|
||||||
"/chromeuxreport:v1/Bin/start": start
|
"/chromeuxreport:v1/Bin/start": start
|
||||||
"/chromeuxreport:v1/Key": key
|
"/chromeuxreport:v1/Key": key
|
||||||
|
"/chromeuxreport:v1/Key/effectiveConnectionType": effective_connection_type
|
||||||
"/chromeuxreport:v1/Key/formFactor": form_factor
|
"/chromeuxreport:v1/Key/formFactor": form_factor
|
||||||
"/chromeuxreport:v1/Key/origin": origin
|
"/chromeuxreport:v1/Key/origin": origin
|
||||||
"/chromeuxreport:v1/Key/url": url
|
"/chromeuxreport:v1/Key/url": url
|
||||||
|
@ -17715,6 +17718,7 @@
|
||||||
"/chromeuxreport:v1/Percentiles": percentiles
|
"/chromeuxreport:v1/Percentiles": percentiles
|
||||||
"/chromeuxreport:v1/Percentiles/p75": p75
|
"/chromeuxreport:v1/Percentiles/p75": p75
|
||||||
"/chromeuxreport:v1/QueryRequest": query_request
|
"/chromeuxreport:v1/QueryRequest": query_request
|
||||||
|
"/chromeuxreport:v1/QueryRequest/effectiveConnectionType": effective_connection_type
|
||||||
"/chromeuxreport:v1/QueryRequest/formFactor": form_factor
|
"/chromeuxreport:v1/QueryRequest/formFactor": form_factor
|
||||||
"/chromeuxreport:v1/QueryRequest/metrics": metrics
|
"/chromeuxreport:v1/QueryRequest/metrics": metrics
|
||||||
"/chromeuxreport:v1/QueryRequest/metrics/metric": metric
|
"/chromeuxreport:v1/QueryRequest/metrics/metric": metric
|
||||||
|
@ -19212,6 +19216,148 @@
|
||||||
"/cloudasset:v1p4beta1/fields": fields
|
"/cloudasset:v1p4beta1/fields": fields
|
||||||
"/cloudasset:v1p4beta1/key": key
|
"/cloudasset:v1p4beta1/key": key
|
||||||
"/cloudasset:v1p4beta1/quotaUser": quota_user
|
"/cloudasset:v1p4beta1/quotaUser": quota_user
|
||||||
|
"/cloudasset:v1p5beta1/Asset": asset
|
||||||
|
"/cloudasset:v1p5beta1/Asset/accessLevel": access_level
|
||||||
|
"/cloudasset:v1p5beta1/Asset/accessPolicy": access_policy
|
||||||
|
"/cloudasset:v1p5beta1/Asset/ancestors": ancestors
|
||||||
|
"/cloudasset:v1p5beta1/Asset/ancestors/ancestor": ancestor
|
||||||
|
"/cloudasset:v1p5beta1/Asset/assetType": asset_type
|
||||||
|
"/cloudasset:v1p5beta1/Asset/iamPolicy": iam_policy
|
||||||
|
"/cloudasset:v1p5beta1/Asset/name": name
|
||||||
|
"/cloudasset:v1p5beta1/Asset/orgPolicy": org_policy
|
||||||
|
"/cloudasset:v1p5beta1/Asset/orgPolicy/org_policy": org_policy
|
||||||
|
"/cloudasset:v1p5beta1/Asset/resource": resource
|
||||||
|
"/cloudasset:v1p5beta1/Asset/servicePerimeter": service_perimeter
|
||||||
|
"/cloudasset:v1p5beta1/AuditConfig": audit_config
|
||||||
|
"/cloudasset:v1p5beta1/AuditConfig/auditLogConfigs": audit_log_configs
|
||||||
|
"/cloudasset:v1p5beta1/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config
|
||||||
|
"/cloudasset:v1p5beta1/AuditConfig/service": service
|
||||||
|
"/cloudasset:v1p5beta1/AuditLogConfig": audit_log_config
|
||||||
|
"/cloudasset:v1p5beta1/AuditLogConfig/exemptedMembers": exempted_members
|
||||||
|
"/cloudasset:v1p5beta1/AuditLogConfig/exemptedMembers/exempted_member": exempted_member
|
||||||
|
"/cloudasset:v1p5beta1/AuditLogConfig/logType": log_type
|
||||||
|
"/cloudasset:v1p5beta1/Binding": binding
|
||||||
|
"/cloudasset:v1p5beta1/Binding/condition": condition
|
||||||
|
"/cloudasset:v1p5beta1/Binding/members": members
|
||||||
|
"/cloudasset:v1p5beta1/Binding/members/member": member
|
||||||
|
"/cloudasset:v1p5beta1/Binding/role": role
|
||||||
|
"/cloudasset:v1p5beta1/Expr": expr
|
||||||
|
"/cloudasset:v1p5beta1/Expr/description": description
|
||||||
|
"/cloudasset:v1p5beta1/Expr/expression": expression
|
||||||
|
"/cloudasset:v1p5beta1/Expr/location": location
|
||||||
|
"/cloudasset:v1p5beta1/Expr/title": title
|
||||||
|
"/cloudasset:v1p5beta1/GoogleCloudOrgpolicyV1BooleanPolicy": google_cloud_orgpolicy_v1_boolean_policy
|
||||||
|
"/cloudasset:v1p5beta1/GoogleCloudOrgpolicyV1BooleanPolicy/enforced": enforced
|
||||||
|
"/cloudasset:v1p5beta1/GoogleCloudOrgpolicyV1ListPolicy": google_cloud_orgpolicy_v1_list_policy
|
||||||
|
"/cloudasset:v1p5beta1/GoogleCloudOrgpolicyV1ListPolicy/allValues": all_values
|
||||||
|
"/cloudasset:v1p5beta1/GoogleCloudOrgpolicyV1ListPolicy/allowedValues": allowed_values
|
||||||
|
"/cloudasset:v1p5beta1/GoogleCloudOrgpolicyV1ListPolicy/allowedValues/allowed_value": allowed_value
|
||||||
|
"/cloudasset:v1p5beta1/GoogleCloudOrgpolicyV1ListPolicy/deniedValues": denied_values
|
||||||
|
"/cloudasset:v1p5beta1/GoogleCloudOrgpolicyV1ListPolicy/deniedValues/denied_value": denied_value
|
||||||
|
"/cloudasset:v1p5beta1/GoogleCloudOrgpolicyV1ListPolicy/inheritFromParent": inherit_from_parent
|
||||||
|
"/cloudasset:v1p5beta1/GoogleCloudOrgpolicyV1ListPolicy/suggestedValue": suggested_value
|
||||||
|
"/cloudasset:v1p5beta1/GoogleCloudOrgpolicyV1Policy": google_cloud_orgpolicy_v1_policy
|
||||||
|
"/cloudasset:v1p5beta1/GoogleCloudOrgpolicyV1Policy/booleanPolicy": boolean_policy
|
||||||
|
"/cloudasset:v1p5beta1/GoogleCloudOrgpolicyV1Policy/constraint": constraint
|
||||||
|
"/cloudasset:v1p5beta1/GoogleCloudOrgpolicyV1Policy/etag": etag
|
||||||
|
"/cloudasset:v1p5beta1/GoogleCloudOrgpolicyV1Policy/listPolicy": list_policy
|
||||||
|
"/cloudasset:v1p5beta1/GoogleCloudOrgpolicyV1Policy/restoreDefault": restore_default
|
||||||
|
"/cloudasset:v1p5beta1/GoogleCloudOrgpolicyV1Policy/updateTime": update_time
|
||||||
|
"/cloudasset:v1p5beta1/GoogleCloudOrgpolicyV1Policy/version": version
|
||||||
|
"/cloudasset:v1p5beta1/GoogleCloudOrgpolicyV1RestoreDefault": google_cloud_orgpolicy_v1_restore_default
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1AccessLevel": google_identity_accesscontextmanager_v1_access_level
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1AccessLevel/basic": basic
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1AccessLevel/custom": custom
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1AccessLevel/description": description
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1AccessLevel/name": name
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1AccessLevel/title": title
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1AccessPolicy": google_identity_accesscontextmanager_v1_access_policy
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1AccessPolicy/etag": etag
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1AccessPolicy/name": name
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1AccessPolicy/parent": parent
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1AccessPolicy/title": title
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1BasicLevel": google_identity_accesscontextmanager_v1_basic_level
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1BasicLevel/combiningFunction": combining_function
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1BasicLevel/conditions": conditions
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1BasicLevel/conditions/condition": condition
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1Condition": google_identity_accesscontextmanager_v1_condition
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1Condition/devicePolicy": device_policy
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1Condition/ipSubnetworks": ip_subnetworks
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1Condition/ipSubnetworks/ip_subnetwork": ip_subnetwork
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1Condition/members": members
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1Condition/members/member": member
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1Condition/negate": negate
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1Condition/regions": regions
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1Condition/regions/region": region
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1Condition/requiredAccessLevels": required_access_levels
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1Condition/requiredAccessLevels/required_access_level": required_access_level
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1CustomLevel": google_identity_accesscontextmanager_v1_custom_level
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1CustomLevel/expr": expr
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1DevicePolicy": google_identity_accesscontextmanager_v1_device_policy
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1DevicePolicy/allowedDeviceManagementLevels": allowed_device_management_levels
|
||||||
|
? "/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1DevicePolicy/allowedDeviceManagementLevels/allowed_device_management_level"
|
||||||
|
: allowed_device_management_level
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1DevicePolicy/allowedEncryptionStatuses": allowed_encryption_statuses
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1DevicePolicy/allowedEncryptionStatuses/allowed_encryption_status": allowed_encryption_status
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1DevicePolicy/osConstraints": os_constraints
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1DevicePolicy/osConstraints/os_constraint": os_constraint
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1DevicePolicy/requireAdminApproval": require_admin_approval
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1DevicePolicy/requireCorpOwned": require_corp_owned
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1DevicePolicy/requireScreenlock": require_screenlock
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1OsConstraint": google_identity_accesscontextmanager_v1_os_constraint
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1OsConstraint/minimumVersion": minimum_version
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1OsConstraint/osType": os_type
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1OsConstraint/requireVerifiedChromeOs": require_verified_chrome_os
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1ServicePerimeter": google_identity_accesscontextmanager_v1_service_perimeter
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1ServicePerimeter/description": description
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1ServicePerimeter/name": name
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1ServicePerimeter/perimeterType": perimeter_type
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1ServicePerimeter/spec": spec
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1ServicePerimeter/status": status
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1ServicePerimeter/title": title
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1ServicePerimeter/useExplicitDryRunSpec": use_explicit_dry_run_spec
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig": google_identity_accesscontextmanager_v1_service_perimeter_config
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig/accessLevels": access_levels
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig/accessLevels/access_level": access_level
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig/resources": resources
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig/resources/resource": resource
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig/restrictedServices": restricted_services
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig/restrictedServices/restricted_service": restricted_service
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig/vpcAccessibleServices": vpc_accessible_services
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices": google_identity_accesscontextmanager_v1_vpc_accessible_services
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices/allowedServices": allowed_services
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices/allowedServices/allowed_service": allowed_service
|
||||||
|
"/cloudasset:v1p5beta1/GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices/enableRestriction": enable_restriction
|
||||||
|
"/cloudasset:v1p5beta1/ListAssetsResponse": list_assets_response
|
||||||
|
"/cloudasset:v1p5beta1/ListAssetsResponse/assets": assets
|
||||||
|
"/cloudasset:v1p5beta1/ListAssetsResponse/assets/asset": asset
|
||||||
|
"/cloudasset:v1p5beta1/ListAssetsResponse/nextPageToken": next_page_token
|
||||||
|
"/cloudasset:v1p5beta1/ListAssetsResponse/readTime": read_time
|
||||||
|
"/cloudasset:v1p5beta1/Policy": policy
|
||||||
|
"/cloudasset:v1p5beta1/Policy/auditConfigs": audit_configs
|
||||||
|
"/cloudasset:v1p5beta1/Policy/auditConfigs/audit_config": audit_config
|
||||||
|
"/cloudasset:v1p5beta1/Policy/bindings": bindings
|
||||||
|
"/cloudasset:v1p5beta1/Policy/bindings/binding": binding
|
||||||
|
"/cloudasset:v1p5beta1/Policy/etag": etag
|
||||||
|
"/cloudasset:v1p5beta1/Policy/version": version
|
||||||
|
"/cloudasset:v1p5beta1/Resource": resource
|
||||||
|
"/cloudasset:v1p5beta1/Resource/data": data
|
||||||
|
"/cloudasset:v1p5beta1/Resource/data/datum": datum
|
||||||
|
"/cloudasset:v1p5beta1/Resource/discoveryDocumentUri": discovery_document_uri
|
||||||
|
"/cloudasset:v1p5beta1/Resource/discoveryName": discovery_name
|
||||||
|
"/cloudasset:v1p5beta1/Resource/parent": parent
|
||||||
|
"/cloudasset:v1p5beta1/Resource/resourceUrl": resource_url
|
||||||
|
"/cloudasset:v1p5beta1/Resource/version": version
|
||||||
|
"/cloudasset:v1p5beta1/cloudasset.assets.list": list_assets
|
||||||
|
"/cloudasset:v1p5beta1/cloudasset.assets.list/assetTypes": asset_types
|
||||||
|
"/cloudasset:v1p5beta1/cloudasset.assets.list/contentType": content_type
|
||||||
|
"/cloudasset:v1p5beta1/cloudasset.assets.list/pageSize": page_size
|
||||||
|
"/cloudasset:v1p5beta1/cloudasset.assets.list/pageToken": page_token
|
||||||
|
"/cloudasset:v1p5beta1/cloudasset.assets.list/parent": parent
|
||||||
|
"/cloudasset:v1p5beta1/cloudasset.assets.list/readTime": read_time
|
||||||
|
"/cloudasset:v1p5beta1/fields": fields
|
||||||
|
"/cloudasset:v1p5beta1/key": key
|
||||||
|
"/cloudasset:v1p5beta1/quotaUser": quota_user
|
||||||
"/cloudbilling:v1/AggregationInfo": aggregation_info
|
"/cloudbilling:v1/AggregationInfo": aggregation_info
|
||||||
"/cloudbilling:v1/AggregationInfo/aggregationCount": aggregation_count
|
"/cloudbilling:v1/AggregationInfo/aggregationCount": aggregation_count
|
||||||
"/cloudbilling:v1/AggregationInfo/aggregationInterval": aggregation_interval
|
"/cloudbilling:v1/AggregationInfo/aggregationInterval": aggregation_interval
|
||||||
|
@ -80852,6 +80998,10 @@
|
||||||
"/dialogflow:v2/GoogleCloudDialogflowV2beta1AnnotatedConversationDataset/exampleCount": example_count
|
"/dialogflow:v2/GoogleCloudDialogflowV2beta1AnnotatedConversationDataset/exampleCount": example_count
|
||||||
"/dialogflow:v2/GoogleCloudDialogflowV2beta1AnnotatedConversationDataset/name": name
|
"/dialogflow:v2/GoogleCloudDialogflowV2beta1AnnotatedConversationDataset/name": name
|
||||||
"/dialogflow:v2/GoogleCloudDialogflowV2beta1AnnotatedConversationDataset/questionTypeName": question_type_name
|
"/dialogflow:v2/GoogleCloudDialogflowV2beta1AnnotatedConversationDataset/questionTypeName": question_type_name
|
||||||
|
"/dialogflow:v2/GoogleCloudDialogflowV2beta1AutoApproveSmartMessagingEntriesResponse": google_cloud_dialogflow_v2beta1_auto_approve_smart_messaging_entries_response
|
||||||
|
"/dialogflow:v2/GoogleCloudDialogflowV2beta1AutoApproveSmartMessagingEntriesResponse/disabledCount": disabled_count
|
||||||
|
"/dialogflow:v2/GoogleCloudDialogflowV2beta1AutoApproveSmartMessagingEntriesResponse/enabledCount": enabled_count
|
||||||
|
"/dialogflow:v2/GoogleCloudDialogflowV2beta1AutoApproveSmartMessagingEntriesResponse/unreviewedCount": unreviewed_count
|
||||||
"/dialogflow:v2/GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse": google_cloud_dialogflow_v2beta1_batch_update_entity_types_response
|
"/dialogflow:v2/GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse": google_cloud_dialogflow_v2beta1_batch_update_entity_types_response
|
||||||
"/dialogflow:v2/GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse/entityTypes": entity_types
|
"/dialogflow:v2/GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse/entityTypes": entity_types
|
||||||
"/dialogflow:v2/GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse/entityTypes/entity_type": entity_type
|
"/dialogflow:v2/GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse/entityTypes/entity_type": entity_type
|
||||||
|
@ -81902,6 +82052,10 @@
|
||||||
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1AnnotatedConversationDataset/questionTypeName": question_type_name
|
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1AnnotatedConversationDataset/questionTypeName": question_type_name
|
||||||
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1ArticleSuggestionConfig": google_cloud_dialogflow_v2beta1_article_suggestion_config
|
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1ArticleSuggestionConfig": google_cloud_dialogflow_v2beta1_article_suggestion_config
|
||||||
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1ArticleSuggestionConfig/knowledgeBaseName": knowledge_base_name
|
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1ArticleSuggestionConfig/knowledgeBaseName": knowledge_base_name
|
||||||
|
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1AutoApproveSmartMessagingEntriesResponse": google_cloud_dialogflow_v2beta1_auto_approve_smart_messaging_entries_response
|
||||||
|
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1AutoApproveSmartMessagingEntriesResponse/disabledCount": disabled_count
|
||||||
|
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1AutoApproveSmartMessagingEntriesResponse/enabledCount": enabled_count
|
||||||
|
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1AutoApproveSmartMessagingEntriesResponse/unreviewedCount": unreviewed_count
|
||||||
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1AutomatedAgentConfig": google_cloud_dialogflow_v2beta1_automated_agent_config
|
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1AutomatedAgentConfig": google_cloud_dialogflow_v2beta1_automated_agent_config
|
||||||
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1AutomatedAgentConfig/agent": agent
|
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1AutomatedAgentConfig/agent": agent
|
||||||
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1AutomatedAgentReply": google_cloud_dialogflow_v2beta1_automated_agent_reply
|
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1AutomatedAgentReply": google_cloud_dialogflow_v2beta1_automated_agent_reply
|
||||||
|
@ -133118,6 +133272,13 @@
|
||||||
"/testing:v1/DeviceFile": device_file
|
"/testing:v1/DeviceFile": device_file
|
||||||
"/testing:v1/DeviceFile/obbFile": obb_file
|
"/testing:v1/DeviceFile/obbFile": obb_file
|
||||||
"/testing:v1/DeviceFile/regularFile": regular_file
|
"/testing:v1/DeviceFile/regularFile": regular_file
|
||||||
|
"/testing:v1/DeviceIpBlock": device_ip_block
|
||||||
|
"/testing:v1/DeviceIpBlock/addedDate": added_date
|
||||||
|
"/testing:v1/DeviceIpBlock/block": block
|
||||||
|
"/testing:v1/DeviceIpBlock/form": form
|
||||||
|
"/testing:v1/DeviceIpBlockCatalog": device_ip_block_catalog
|
||||||
|
"/testing:v1/DeviceIpBlockCatalog/ipBlocks": ip_blocks
|
||||||
|
"/testing:v1/DeviceIpBlockCatalog/ipBlocks/ip_block": ip_block
|
||||||
"/testing:v1/Distribution": distribution
|
"/testing:v1/Distribution": distribution
|
||||||
"/testing:v1/Distribution/marketShare": market_share
|
"/testing:v1/Distribution/marketShare": market_share
|
||||||
"/testing:v1/Distribution/measurementTime": measurement_time
|
"/testing:v1/Distribution/measurementTime": measurement_time
|
||||||
|
@ -133263,6 +133424,7 @@
|
||||||
"/testing:v1/TestDetails/videoRecordingDisabled": video_recording_disabled
|
"/testing:v1/TestDetails/videoRecordingDisabled": video_recording_disabled
|
||||||
"/testing:v1/TestEnvironmentCatalog": test_environment_catalog
|
"/testing:v1/TestEnvironmentCatalog": test_environment_catalog
|
||||||
"/testing:v1/TestEnvironmentCatalog/androidDeviceCatalog": android_device_catalog
|
"/testing:v1/TestEnvironmentCatalog/androidDeviceCatalog": android_device_catalog
|
||||||
|
"/testing:v1/TestEnvironmentCatalog/deviceIpBlockCatalog": device_ip_block_catalog
|
||||||
"/testing:v1/TestEnvironmentCatalog/iosDeviceCatalog": ios_device_catalog
|
"/testing:v1/TestEnvironmentCatalog/iosDeviceCatalog": ios_device_catalog
|
||||||
"/testing:v1/TestEnvironmentCatalog/networkConfigurationCatalog": network_configuration_catalog
|
"/testing:v1/TestEnvironmentCatalog/networkConfigurationCatalog": network_configuration_catalog
|
||||||
"/testing:v1/TestEnvironmentCatalog/softwareCatalog": software_catalog
|
"/testing:v1/TestEnvironmentCatalog/softwareCatalog": software_catalog
|
||||||
|
|
|
@ -31,7 +31,7 @@ module Google
|
||||||
# @see https://cloud.google.com/apigee-api-management/
|
# @see https://cloud.google.com/apigee-api-management/
|
||||||
module ApigeeV1
|
module ApigeeV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20200710'
|
REVISION = '20200720'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -2828,11 +2828,6 @@ module Google
|
||||||
class GoogleCloudApigeeV1IngressConfig
|
class GoogleCloudApigeeV1IngressConfig
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Time at which the IngressConfig was created.
|
|
||||||
# Corresponds to the JSON property `createTime`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :create_time
|
|
||||||
|
|
||||||
# List of environment groups in the organization.
|
# List of environment groups in the organization.
|
||||||
# Corresponds to the JSON property `environmentGroups`
|
# Corresponds to the JSON property `environmentGroups`
|
||||||
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupConfig>]
|
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupConfig>]
|
||||||
|
@ -2844,6 +2839,11 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :name
|
attr_accessor :name
|
||||||
|
|
||||||
|
# Time at which the IngressConfig revision was created.
|
||||||
|
# Corresponds to the JSON property `revisionCreateTime`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :revision_create_time
|
||||||
|
|
||||||
# Revision id that defines the ordering on IngressConfig resources.
|
# Revision id that defines the ordering on IngressConfig resources.
|
||||||
# The higher the revision, the more recently the configuration
|
# The higher the revision, the more recently the configuration
|
||||||
# was deployed.
|
# was deployed.
|
||||||
|
@ -2851,11 +2851,6 @@ module Google
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :revision_id
|
attr_accessor :revision_id
|
||||||
|
|
||||||
# DEPRECATED: Use revision_id
|
|
||||||
# Corresponds to the JSON property `sequenceNumber`
|
|
||||||
# @return [Fixnum]
|
|
||||||
attr_accessor :sequence_number
|
|
||||||
|
|
||||||
# A unique id for the ingress config that will only change if the
|
# A unique id for the ingress config that will only change if the
|
||||||
# organization is deleted and recreated.
|
# organization is deleted and recreated.
|
||||||
# Corresponds to the JSON property `uid`
|
# Corresponds to the JSON property `uid`
|
||||||
|
@ -2868,11 +2863,10 @@ module Google
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@create_time = args[:create_time] if args.key?(:create_time)
|
|
||||||
@environment_groups = args[:environment_groups] if args.key?(:environment_groups)
|
@environment_groups = args[:environment_groups] if args.key?(:environment_groups)
|
||||||
@name = args[:name] if args.key?(:name)
|
@name = args[:name] if args.key?(:name)
|
||||||
|
@revision_create_time = args[:revision_create_time] if args.key?(:revision_create_time)
|
||||||
@revision_id = args[:revision_id] if args.key?(:revision_id)
|
@revision_id = args[:revision_id] if args.key?(:revision_id)
|
||||||
@sequence_number = args[:sequence_number] if args.key?(:sequence_number)
|
|
||||||
@uid = args[:uid] if args.key?(:uid)
|
@uid = args[:uid] if args.key?(:uid)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -1524,12 +1524,11 @@ module Google
|
||||||
class GoogleCloudApigeeV1IngressConfig
|
class GoogleCloudApigeeV1IngressConfig
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :create_time, as: 'createTime'
|
|
||||||
collection :environment_groups, as: 'environmentGroups', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupConfig::Representation
|
collection :environment_groups, as: 'environmentGroups', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupConfig::Representation
|
||||||
|
|
||||||
property :name, as: 'name'
|
property :name, as: 'name'
|
||||||
|
property :revision_create_time, as: 'revisionCreateTime'
|
||||||
property :revision_id, :numeric_string => true, as: 'revisionId'
|
property :revision_id, :numeric_string => true, as: 'revisionId'
|
||||||
property :sequence_number, :numeric_string => true, as: 'sequenceNumber'
|
|
||||||
property :uid, as: 'uid'
|
property :uid, as: 'uid'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -161,7 +161,8 @@ module Google
|
||||||
|
|
||||||
# Gets the deployed ingress configuration for an organization.
|
# Gets the deployed ingress configuration for an organization.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Name of the deployed configuration for the organization in the following
|
# Required. Name of the deployed configuration for the organization in the
|
||||||
|
# following
|
||||||
# format: 'organizations/`org`/deployedIngressConfig'.
|
# format: 'organizations/`org`/deployedIngressConfig'.
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -3766,6 +3767,16 @@ module Google
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Required. Name of the API proxy revision deployment in the following format:
|
# Required. Name of the API proxy revision deployment in the following format:
|
||||||
# `organizations/`org`/environments/`env`/apis/`api`/revisions/`rev``
|
# `organizations/`org`/environments/`env`/apis/`api`/revisions/`rev``
|
||||||
|
# @param [Boolean] sequenced_rollout
|
||||||
|
# If true, a best-effort attempt will be made to remove the environment group
|
||||||
|
# routing rules corresponding to this deployment before removing the
|
||||||
|
# deployment from the runtime. This is likely to be a rare use case; it is
|
||||||
|
# only needed when the intended effect of undeploying this proxy is to cause
|
||||||
|
# the traffic it currently handles to be rerouted to some other existing
|
||||||
|
# proxy in the environment group. The GenerateUndeployChangeReport API may be
|
||||||
|
# used to examine routing changes before issuing the undeployment request,
|
||||||
|
# and its response will indicate if a sequenced rollout is recommended for
|
||||||
|
# the undeployment.
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -3783,11 +3794,12 @@ module Google
|
||||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
# @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::ClientError] The request is invalid and should not be retried without modification
|
||||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
def deployments_organization_environment_api_revision(name, fields: nil, quota_user: nil, options: nil, &block)
|
def deployments_organization_environment_api_revision(name, sequenced_rollout: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
command = make_simple_command(:delete, 'v1/{+name}/deployments', options)
|
command = make_simple_command(:delete, 'v1/{+name}/deployments', options)
|
||||||
command.response_representation = Google::Apis::ApigeeV1::GoogleProtobufEmpty::Representation
|
command.response_representation = Google::Apis::ApigeeV1::GoogleProtobufEmpty::Representation
|
||||||
command.response_class = Google::Apis::ApigeeV1::GoogleProtobufEmpty
|
command.response_class = Google::Apis::ApigeeV1::GoogleProtobufEmpty
|
||||||
command.params['name'] = name unless name.nil?
|
command.params['name'] = name unless name.nil?
|
||||||
|
command.query['sequencedRollout'] = sequenced_rollout unless sequenced_rollout.nil?
|
||||||
command.query['fields'] = fields unless fields.nil?
|
command.query['fields'] = fields unless fields.nil?
|
||||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
|
@ -5688,7 +5700,7 @@ module Google
|
||||||
# requests and the runtime data is deleted.
|
# requests and the runtime data is deleted.
|
||||||
# **Note:** Not supported for Apigee hybrid.
|
# **Note:** Not supported for Apigee hybrid.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Name of the instance. Use the following structure in your request:
|
# Required. Name of the instance. Use the following structure in your request:
|
||||||
# `organizations/`org`/instance/`instance``.
|
# `organizations/`org`/instance/`instance``.
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -5720,7 +5732,7 @@ module Google
|
||||||
# Gets the details for an Apigee runtime instance.
|
# Gets the details for an Apigee runtime instance.
|
||||||
# **Note:** Not supported for Apigee hybrid.
|
# **Note:** Not supported for Apigee hybrid.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Name of the instance. Use the following structure in your request:
|
# Required. Name of the instance. Use the following structure in your request:
|
||||||
# `organizations/`org`/instances/`instance``.
|
# `organizations/`org`/instances/`instance``.
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -5752,7 +5764,8 @@ module Google
|
||||||
# Lists all Apigee runtime instances for the organization.
|
# Lists all Apigee runtime instances for the organization.
|
||||||
# **Note:** Not supported for Apigee hybrid.
|
# **Note:** Not supported for Apigee hybrid.
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# Name of the organization. Use the following structure in your request:
|
# Required. Name of the organization. Use the following structure in your
|
||||||
|
# request:
|
||||||
# `organizations/`org``.
|
# `organizations/`org``.
|
||||||
# @param [Fixnum] page_size
|
# @param [Fixnum] page_size
|
||||||
# Maximum number of instances to return. Defaults to 25.
|
# Maximum number of instances to return. Defaults to 25.
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://code.google.com/apis/books/docs/v1/getting_started.html
|
# @see https://code.google.com/apis/books/docs/v1/getting_started.html
|
||||||
module BooksV1
|
module BooksV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20200617'
|
REVISION = '20200717'
|
||||||
|
|
||||||
# Manage your books
|
# Manage your books
|
||||||
AUTH_BOOKS = 'https://www.googleapis.com/auth/books'
|
AUTH_BOOKS = 'https://www.googleapis.com/auth/books'
|
||||||
|
|
|
@ -26,14 +26,14 @@ module Google
|
||||||
class Annotation
|
class Annotation
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Anchor text after excerpt. For requests, if the user bookmarked a screen
|
# Anchor text after excerpt. For requests, if the user bookmarked a screen that
|
||||||
# that has no flowing text on it, then this field should be empty.
|
# has no flowing text on it, then this field should be empty.
|
||||||
# Corresponds to the JSON property `afterSelectedText`
|
# Corresponds to the JSON property `afterSelectedText`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :after_selected_text
|
attr_accessor :after_selected_text
|
||||||
|
|
||||||
# Anchor text before excerpt. For requests, if the user bookmarked a screen
|
# Anchor text before excerpt. For requests, if the user bookmarked a screen that
|
||||||
# that has no flowing text on it, then this field should be empty.
|
# has no flowing text on it, then this field should be empty.
|
||||||
# Corresponds to the JSON property `beforeSelectedText`
|
# Corresponds to the JSON property `beforeSelectedText`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :before_selected_text
|
attr_accessor :before_selected_text
|
||||||
|
@ -229,8 +229,7 @@ module Google
|
||||||
class LayerSummary
|
class LayerSummary
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Maximum allowed characters on this layer, especially for the "copy"
|
# Maximum allowed characters on this layer, especially for the "copy" layer.
|
||||||
# layer.
|
|
||||||
# Corresponds to the JSON property `allowedCharacterCount`
|
# Corresponds to the JSON property `allowedCharacterCount`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :allowed_character_count
|
attr_accessor :allowed_character_count
|
||||||
|
@ -241,8 +240,7 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :limit_type
|
attr_accessor :limit_type
|
||||||
|
|
||||||
# Remaining allowed characters on this layer, especially for the "copy"
|
# Remaining allowed characters on this layer, especially for the "copy" layer.
|
||||||
# layer.
|
|
||||||
# Corresponds to the JSON property `remainingCharacterCount`
|
# Corresponds to the JSON property `remainingCharacterCount`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :remaining_character_count
|
attr_accessor :remaining_character_count
|
||||||
|
@ -274,8 +272,8 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :kind
|
attr_accessor :kind
|
||||||
|
|
||||||
# Token to pass in for pagination for the next page. This will not be present
|
# Token to pass in for pagination for the next page. This will not be present if
|
||||||
# if this request does not have more results.
|
# this request does not have more results.
|
||||||
# Corresponds to the JSON property `nextPageToken`
|
# Corresponds to the JSON property `nextPageToken`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :next_page_token
|
attr_accessor :next_page_token
|
||||||
|
@ -381,8 +379,8 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :kind
|
attr_accessor :kind
|
||||||
|
|
||||||
# Token to pass in for pagination for the next page. This will not be present
|
# Token to pass in for pagination for the next page. This will not be present if
|
||||||
# if this request does not have more results.
|
# this request does not have more results.
|
||||||
# Corresponds to the JSON property `nextPageToken`
|
# Corresponds to the JSON property `nextPageToken`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :next_page_token
|
attr_accessor :next_page_token
|
||||||
|
@ -538,8 +536,8 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :title
|
attr_accessor :title
|
||||||
|
|
||||||
# Last modified time of this bookshelf (formatted UTC timestamp with
|
# Last modified time of this bookshelf (formatted UTC timestamp with millisecond
|
||||||
# millisecond resolution).
|
# resolution).
|
||||||
# Corresponds to the JSON property `updated`
|
# Corresponds to the JSON property `updated`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :updated
|
attr_accessor :updated
|
||||||
|
@ -701,8 +699,8 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :signature
|
attr_accessor :signature
|
||||||
|
|
||||||
# Client app identifier for verification. Download access and
|
# Client app identifier for verification. Download access and client-validation
|
||||||
# client-validation only.
|
# only.
|
||||||
# Corresponds to the JSON property `source`
|
# Corresponds to the JSON property `source`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :source
|
attr_accessor :source
|
||||||
|
@ -746,9 +744,8 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :annotation_type
|
attr_accessor :annotation_type
|
||||||
|
|
||||||
# JSON encoded data for this dictionary annotation data.
|
# JSON encoded data for this dictionary annotation data. Emitted with name 'data'
|
||||||
# Emitted with name 'data' in JSON output. Either this or geo_data will
|
# in JSON output. Either this or geo_data will be populated.
|
||||||
# be populated.
|
|
||||||
# Corresponds to the JSON property `data`
|
# Corresponds to the JSON property `data`
|
||||||
# @return [Google::Apis::BooksV1::DictLayerData]
|
# @return [Google::Apis::BooksV1::DictLayerData]
|
||||||
attr_accessor :data
|
attr_accessor :data
|
||||||
|
@ -842,8 +839,8 @@ module Google
|
||||||
class Common
|
class Common
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# The display title and localized canonical name to use when searching for
|
# The display title and localized canonical name to use when searching for this
|
||||||
# this entity on Google search.
|
# entity on Google search.
|
||||||
# Corresponds to the JSON property `title`
|
# Corresponds to the JSON property `title`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :title
|
attr_accessor :title
|
||||||
|
@ -926,8 +923,8 @@ module Google
|
||||||
# @return [Array<Google::Apis::BooksV1::DictLayerData::Dict::Word::Sense>]
|
# @return [Array<Google::Apis::BooksV1::DictLayerData::Dict::Word::Sense>]
|
||||||
attr_accessor :senses
|
attr_accessor :senses
|
||||||
|
|
||||||
# The words with different meanings but not related words, e.g. "go"
|
# The words with different meanings but not related words, e.g. "go" (game) and "
|
||||||
# (game) and "go" (verb).
|
# go" (verb).
|
||||||
# Corresponds to the JSON property `source`
|
# Corresponds to the JSON property `source`
|
||||||
# @return [Google::Apis::BooksV1::DictLayerData::Dict::Word::Source]
|
# @return [Google::Apis::BooksV1::DictLayerData::Dict::Word::Source]
|
||||||
attr_accessor :source
|
attr_accessor :source
|
||||||
|
@ -1280,8 +1277,8 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# The words with different meanings but not related words, e.g. "go"
|
# The words with different meanings but not related words, e.g. "go" (game) and "
|
||||||
# (game) and "go" (verb).
|
# go" (verb).
|
||||||
class Source
|
class Source
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -1448,8 +1445,8 @@ module Google
|
||||||
attr_accessor :device_allowed
|
attr_accessor :device_allowed
|
||||||
alias_method :device_allowed?, :device_allowed
|
alias_method :device_allowed?, :device_allowed
|
||||||
|
|
||||||
# If restricted, the number of content download licenses already acquired
|
# If restricted, the number of content download licenses already acquired (
|
||||||
# (including the requesting client, if licensed).
|
# including the requesting client, if licensed).
|
||||||
# Corresponds to the JSON property `downloadsAcquired`
|
# Corresponds to the JSON property `downloadsAcquired`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :downloads_acquired
|
attr_accessor :downloads_acquired
|
||||||
|
@ -1465,8 +1462,7 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :kind
|
attr_accessor :kind
|
||||||
|
|
||||||
# If restricted, the maximum number of content download licenses for this
|
# If restricted, the maximum number of content download licenses for this volume.
|
||||||
# volume.
|
|
||||||
# Corresponds to the JSON property `maxDownloadDevices`
|
# Corresponds to the JSON property `maxDownloadDevices`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :max_download_devices
|
attr_accessor :max_download_devices
|
||||||
|
@ -1481,8 +1477,8 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :nonce
|
attr_accessor :nonce
|
||||||
|
|
||||||
# Error/warning reason code. Additional codes may be added in the future. 0
|
# Error/warning reason code. Additional codes may be added in the future. 0 OK
|
||||||
# OK 100 ACCESS_DENIED_PUBLISHER_LIMIT 101 ACCESS_DENIED_LIMIT 200
|
# 100 ACCESS_DENIED_PUBLISHER_LIMIT 101 ACCESS_DENIED_LIMIT 200
|
||||||
# WARNING_USED_LAST_ACCESS
|
# WARNING_USED_LAST_ACCESS
|
||||||
# Corresponds to the JSON property `reasonCode`
|
# Corresponds to the JSON property `reasonCode`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -1499,8 +1495,8 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :signature
|
attr_accessor :signature
|
||||||
|
|
||||||
# Client app identifier for verification. Download access and
|
# Client app identifier for verification. Download access and client-validation
|
||||||
# client-validation only.
|
# only.
|
||||||
# Corresponds to the JSON property `source`
|
# Corresponds to the JSON property `source`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :source
|
attr_accessor :source
|
||||||
|
@ -1556,13 +1552,11 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# A generic empty message that you can re-use to avoid defining duplicated
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
||||||
# empty messages in your APIs. A typical example is to use it as the request
|
# messages in your APIs. A typical example is to use it as the request or the
|
||||||
# or the response type of an API method. For instance:
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
||||||
# service Foo `
|
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
|
||||||
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
# `Empty` is empty JSON object ````.
|
||||||
# `
|
|
||||||
# The JSON representation for `Empty` is empty JSON object ````.
|
|
||||||
class Empty
|
class Empty
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -1653,9 +1647,8 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :annotation_type
|
attr_accessor :annotation_type
|
||||||
|
|
||||||
# JSON encoded data for this geo annotation data.
|
# JSON encoded data for this geo annotation data. Emitted with name 'data' in
|
||||||
# Emitted with name 'data' in JSON output. Either this or dict_data will
|
# JSON output. Either this or dict_data will be populated.
|
||||||
# be populated.
|
|
||||||
# Corresponds to the JSON property `data`
|
# Corresponds to the JSON property `data`
|
||||||
# @return [Google::Apis::BooksV1::GeoLayerData]
|
# @return [Google::Apis::BooksV1::GeoLayerData]
|
||||||
attr_accessor :data
|
attr_accessor :data
|
||||||
|
@ -1769,8 +1762,8 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :snippet_url
|
attr_accessor :snippet_url
|
||||||
|
|
||||||
# The display title and localized canonical name to use when searching for
|
# The display title and localized canonical name to use when searching for this
|
||||||
# this entity on Google search.
|
# entity on Google search.
|
||||||
# Corresponds to the JSON property `title`
|
# Corresponds to the JSON property `title`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :title
|
attr_accessor :title
|
||||||
|
@ -1793,14 +1786,13 @@ module Google
|
||||||
class Geo
|
class Geo
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# The boundary of the location as a set of loops containing pairs of
|
# The boundary of the location as a set of loops containing pairs of latitude,
|
||||||
# latitude, longitude coordinates.
|
# longitude coordinates.
|
||||||
# Corresponds to the JSON property `boundary`
|
# Corresponds to the JSON property `boundary`
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
attr_accessor :boundary
|
attr_accessor :boundary
|
||||||
|
|
||||||
# The cache policy active for this data. EX: UNRESTRICTED, RESTRICTED,
|
# The cache policy active for this data. EX: UNRESTRICTED, RESTRICTED, NEVER
|
||||||
# NEVER
|
|
||||||
# Corresponds to the JSON property `cachePolicy`
|
# Corresponds to the JSON property `cachePolicy`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :cache_policy
|
attr_accessor :cache_policy
|
||||||
|
@ -1820,8 +1812,8 @@ module Google
|
||||||
# @return [Float]
|
# @return [Float]
|
||||||
attr_accessor :longitude
|
attr_accessor :longitude
|
||||||
|
|
||||||
# The type of map that should be used for this location. EX: HYBRID,
|
# The type of map that should be used for this location. EX: HYBRID, ROADMAP,
|
||||||
# ROADMAP, SATELLITE, TERRAIN
|
# SATELLITE, TERRAIN
|
||||||
# Corresponds to the JSON property `mapType`
|
# Corresponds to the JSON property `mapType`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :map_type
|
attr_accessor :map_type
|
||||||
|
@ -1834,8 +1826,8 @@ module Google
|
||||||
|
|
||||||
# The Zoom level to use for the map. Zoom levels between 0 (the lowest zoom
|
# The Zoom level to use for the map. Zoom levels between 0 (the lowest zoom
|
||||||
# level, in which the entire world can be seen on one map) to 21+ (down to
|
# level, in which the entire world can be seen on one map) to 21+ (down to
|
||||||
# individual buildings). See: https:
|
# individual buildings). See: https: //developers.google.com/maps/documentation/
|
||||||
# //developers.google.com/maps/documentation/staticmaps/#Zoomlevels
|
# staticmaps/#Zoomlevels
|
||||||
# Corresponds to the JSON property `zoom`
|
# Corresponds to the JSON property `zoom`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :zoom
|
attr_accessor :zoom
|
||||||
|
@ -2019,15 +2011,15 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :self_link
|
attr_accessor :self_link
|
||||||
|
|
||||||
# Timestamp for the last time an item in this layer was updated. (RFC 3339
|
# Timestamp for the last time an item in this layer was updated. (RFC 3339 UTC
|
||||||
# UTC date-time format).
|
# date-time format).
|
||||||
# Corresponds to the JSON property `updated`
|
# Corresponds to the JSON property `updated`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :updated
|
attr_accessor :updated
|
||||||
|
|
||||||
# The current version of this layer's volume annotations. Note that this
|
# The current version of this layer's volume annotations. Note that this version
|
||||||
# version applies only to the data in the books.layers.volumeAnnotations.*
|
# applies only to the data in the books.layers.volumeAnnotations.* responses.
|
||||||
# responses. The actual annotation data is versioned separately.
|
# The actual annotation data is versioned separately.
|
||||||
# Corresponds to the JSON property `volumeAnnotationsVersion`
|
# Corresponds to the JSON property `volumeAnnotationsVersion`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :volume_annotations_version
|
attr_accessor :volume_annotations_version
|
||||||
|
@ -2379,8 +2371,8 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :pdf_position
|
attr_accessor :pdf_position
|
||||||
|
|
||||||
# Timestamp when this reading position was last updated (formatted UTC
|
# Timestamp when this reading position was last updated (formatted UTC timestamp
|
||||||
# timestamp with millisecond resolution).
|
# with millisecond resolution).
|
||||||
# Corresponds to the JSON property `updated`
|
# Corresponds to the JSON property `updated`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :updated
|
attr_accessor :updated
|
||||||
|
@ -2466,14 +2458,14 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :kind
|
attr_accessor :kind
|
||||||
|
|
||||||
# Star rating for this review. Possible values are ONE, TWO, THREE, FOUR,
|
# Star rating for this review. Possible values are ONE, TWO, THREE, FOUR, FIVE
|
||||||
# FIVE or NOT_RATED.
|
# or NOT_RATED.
|
||||||
# Corresponds to the JSON property `rating`
|
# Corresponds to the JSON property `rating`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :rating
|
attr_accessor :rating
|
||||||
|
|
||||||
# Information regarding the source of this review, when the review is not
|
# Information regarding the source of this review, when the review is not from a
|
||||||
# from a Google Books user.
|
# Google Books user.
|
||||||
# Corresponds to the JSON property `source`
|
# Corresponds to the JSON property `source`
|
||||||
# @return [Google::Apis::BooksV1::Review::Source]
|
# @return [Google::Apis::BooksV1::Review::Source]
|
||||||
attr_accessor :source
|
attr_accessor :source
|
||||||
|
@ -2531,8 +2523,8 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Information regarding the source of this review, when the review is not
|
# Information regarding the source of this review, when the review is not from a
|
||||||
# from a Google Books user.
|
# Google Books user.
|
||||||
class Source
|
class Source
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -3039,9 +3031,8 @@ module Google
|
||||||
attr_accessor :recommended_info
|
attr_accessor :recommended_info
|
||||||
|
|
||||||
# Any information about a volume related to the eBookstore and/or
|
# Any information about a volume related to the eBookstore and/or
|
||||||
# purchaseability. This information can depend on the country where the
|
# purchaseability. This information can depend on the country where the request
|
||||||
# request originates from (i.e. books may not be for sale in certain
|
# originates from (i.e. books may not be for sale in certain countries).
|
||||||
# countries).
|
|
||||||
# Corresponds to the JSON property `saleInfo`
|
# Corresponds to the JSON property `saleInfo`
|
||||||
# @return [Google::Apis::BooksV1::Volume::SaleInfo]
|
# @return [Google::Apis::BooksV1::Volume::SaleInfo]
|
||||||
attr_accessor :sale_info
|
attr_accessor :sale_info
|
||||||
|
@ -3092,15 +3083,15 @@ module Google
|
||||||
class AccessInfo
|
class AccessInfo
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Combines the access and viewability of this volume into a single status
|
# Combines the access and viewability of this volume into a single status field
|
||||||
# field for this user. Values can be FULL_PURCHASED, FULL_PUBLIC_DOMAIN,
|
# for this user. Values can be FULL_PURCHASED, FULL_PUBLIC_DOMAIN, SAMPLE or
|
||||||
# SAMPLE or NONE. (In LITE projection.)
|
# NONE. (In LITE projection.)
|
||||||
# Corresponds to the JSON property `accessViewStatus`
|
# Corresponds to the JSON property `accessViewStatus`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :access_view_status
|
attr_accessor :access_view_status
|
||||||
|
|
||||||
# The two-letter ISO_3166-1 country code for which this access information
|
# The two-letter ISO_3166-1 country code for which this access information is
|
||||||
# is valid. (In LITE projection.)
|
# valid. (In LITE projection.)
|
||||||
# Corresponds to the JSON property `country`
|
# Corresponds to the JSON property `country`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :country
|
attr_accessor :country
|
||||||
|
@ -3116,8 +3107,8 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :drive_imported_content_link
|
attr_accessor :drive_imported_content_link
|
||||||
|
|
||||||
# Whether this volume can be embedded in a viewport using the Embedded
|
# Whether this volume can be embedded in a viewport using the Embedded Viewer
|
||||||
# Viewer API.
|
# API.
|
||||||
# Corresponds to the JSON property `embeddable`
|
# Corresponds to the JSON property `embeddable`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :embeddable
|
attr_accessor :embeddable
|
||||||
|
@ -3153,30 +3144,29 @@ module Google
|
||||||
attr_accessor :quote_sharing_allowed
|
attr_accessor :quote_sharing_allowed
|
||||||
alias_method :quote_sharing_allowed?, :quote_sharing_allowed
|
alias_method :quote_sharing_allowed?, :quote_sharing_allowed
|
||||||
|
|
||||||
# Whether text-to-speech is permitted for this volume. Values can be
|
# Whether text-to-speech is permitted for this volume. Values can be ALLOWED,
|
||||||
# ALLOWED, ALLOWED_FOR_ACCESSIBILITY, or NOT_ALLOWED.
|
# ALLOWED_FOR_ACCESSIBILITY, or NOT_ALLOWED.
|
||||||
# Corresponds to the JSON property `textToSpeechPermission`
|
# Corresponds to the JSON property `textToSpeechPermission`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :text_to_speech_permission
|
attr_accessor :text_to_speech_permission
|
||||||
|
|
||||||
# For ordered but not yet processed orders, we give a URL that can be used
|
# For ordered but not yet processed orders, we give a URL that can be used to go
|
||||||
# to go to the appropriate Google Wallet page.
|
# to the appropriate Google Wallet page.
|
||||||
# Corresponds to the JSON property `viewOrderUrl`
|
# Corresponds to the JSON property `viewOrderUrl`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :view_order_url
|
attr_accessor :view_order_url
|
||||||
|
|
||||||
# The read access of a volume. Possible values are PARTIAL, ALL_PAGES,
|
# The read access of a volume. Possible values are PARTIAL, ALL_PAGES, NO_PAGES
|
||||||
# NO_PAGES or UNKNOWN. This value depends on the country listed above. A
|
# or UNKNOWN. This value depends on the country listed above. A value of PARTIAL
|
||||||
# value of PARTIAL means that the publisher has allowed some portion of the
|
# means that the publisher has allowed some portion of the volume to be viewed
|
||||||
# volume to be viewed publicly, without purchase. This can apply to eBooks
|
# publicly, without purchase. This can apply to eBooks as well as non-eBooks.
|
||||||
# as well as non-eBooks. Public domain books will always have a value of
|
# Public domain books will always have a value of ALL_PAGES.
|
||||||
# ALL_PAGES.
|
|
||||||
# Corresponds to the JSON property `viewability`
|
# Corresponds to the JSON property `viewability`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :viewability
|
attr_accessor :viewability
|
||||||
|
|
||||||
# URL to read this volume on the Google Books site. Link will not allow
|
# URL to read this volume on the Google Books site. Link will not allow users to
|
||||||
# users to read non-viewable volumes.
|
# read non-viewable volumes.
|
||||||
# Corresponds to the JSON property `webReaderLink`
|
# Corresponds to the JSON property `webReaderLink`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :web_reader_link
|
attr_accessor :web_reader_link
|
||||||
|
@ -3217,8 +3207,8 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :download_link
|
attr_accessor :download_link
|
||||||
|
|
||||||
# Is a flowing text epub available either as public domain or for
|
# Is a flowing text epub available either as public domain or for purchase. (In
|
||||||
# purchase. (In LITE projection.)
|
# LITE projection.)
|
||||||
# Corresponds to the JSON property `isAvailable`
|
# Corresponds to the JSON property `isAvailable`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :is_available
|
attr_accessor :is_available
|
||||||
|
@ -3250,8 +3240,8 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :download_link
|
attr_accessor :download_link
|
||||||
|
|
||||||
# Is a scanned image pdf available either as public domain or for
|
# Is a scanned image pdf available either as public domain or for purchase. (In
|
||||||
# purchase. (In LITE projection.)
|
# LITE projection.)
|
||||||
# Corresponds to the JSON property `isAvailable`
|
# Corresponds to the JSON property `isAvailable`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :is_available
|
attr_accessor :is_available
|
||||||
|
@ -3297,10 +3287,9 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :layer_id
|
attr_accessor :layer_id
|
||||||
|
|
||||||
# The current version of this layer's volume annotations. Note that this
|
# The current version of this layer's volume annotations. Note that this version
|
||||||
# version applies only to the data in the
|
# applies only to the data in the books.layers.volumeAnnotations.* responses.
|
||||||
# books.layers.volumeAnnotations.* responses. The actual annotation data
|
# The actual annotation data is versioned separately.
|
||||||
# is versioned separately.
|
|
||||||
# Corresponds to the JSON property `volumeAnnotationsVersion`
|
# Corresponds to the JSON property `volumeAnnotationsVersion`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :volume_annotations_version
|
attr_accessor :volume_annotations_version
|
||||||
|
@ -3337,14 +3326,12 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
# Any information about a volume related to the eBookstore and/or
|
# Any information about a volume related to the eBookstore and/or
|
||||||
# purchaseability. This information can depend on the country where the
|
# purchaseability. This information can depend on the country where the request
|
||||||
# request originates from (i.e. books may not be for sale in certain
|
# originates from (i.e. books may not be for sale in certain countries).
|
||||||
# countries).
|
|
||||||
class SaleInfo
|
class SaleInfo
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# URL to purchase this volume on the Google Books site. (In LITE
|
# URL to purchase this volume on the Google Books site. (In LITE projection)
|
||||||
# projection)
|
|
||||||
# Corresponds to the JSON property `buyLink`
|
# Corresponds to the JSON property `buyLink`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :buy_link
|
attr_accessor :buy_link
|
||||||
|
@ -3355,8 +3342,7 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :country
|
attr_accessor :country
|
||||||
|
|
||||||
# Whether or not this volume is an eBook (can be added to the My eBooks
|
# Whether or not this volume is an eBook (can be added to the My eBooks shelf).
|
||||||
# shelf).
|
|
||||||
# Corresponds to the JSON property `isEbook`
|
# Corresponds to the JSON property `isEbook`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :is_ebook
|
attr_accessor :is_ebook
|
||||||
|
@ -3377,17 +3363,16 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :on_sale_date
|
attr_accessor :on_sale_date
|
||||||
|
|
||||||
# The actual selling price of the book. This is the same as the suggested
|
# The actual selling price of the book. This is the same as the suggested retail
|
||||||
# retail or list price unless there are offers or discounts on this volume.
|
# or list price unless there are offers or discounts on this volume. (In LITE
|
||||||
# (In LITE projection.)
|
# projection.)
|
||||||
# Corresponds to the JSON property `retailPrice`
|
# Corresponds to the JSON property `retailPrice`
|
||||||
# @return [Google::Apis::BooksV1::Volume::SaleInfo::RetailPrice]
|
# @return [Google::Apis::BooksV1::Volume::SaleInfo::RetailPrice]
|
||||||
attr_accessor :retail_price
|
attr_accessor :retail_price
|
||||||
|
|
||||||
# Whether or not this book is available for sale or offered for free in the
|
# Whether or not this book is available for sale or offered for free in the
|
||||||
# Google eBookstore for the country listed above. Possible values are
|
# Google eBookstore for the country listed above. Possible values are FOR_SALE,
|
||||||
# FOR_SALE, FOR_RENTAL_ONLY, FOR_SALE_AND_RENTAL, FREE, NOT_FOR_SALE, or
|
# FOR_RENTAL_ONLY, FOR_SALE_AND_RENTAL, FREE, NOT_FOR_SALE, or FOR_PREORDER.
|
||||||
# FOR_PREORDER.
|
|
||||||
# Corresponds to the JSON property `saleability`
|
# Corresponds to the JSON property `saleability`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :saleability
|
attr_accessor :saleability
|
||||||
|
@ -3552,9 +3537,9 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# The actual selling price of the book. This is the same as the suggested
|
# The actual selling price of the book. This is the same as the suggested retail
|
||||||
# retail or list price unless there are offers or discounts on this volume.
|
# or list price unless there are offers or discounts on this volume. (In LITE
|
||||||
# (In LITE projection.)
|
# projection.)
|
||||||
class RetailPrice
|
class RetailPrice
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -3604,9 +3589,9 @@ module Google
|
||||||
class UserInfo
|
class UserInfo
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Timestamp when this volume was acquired by the user. (RFC 3339 UTC
|
# Timestamp when this volume was acquired by the user. (RFC 3339 UTC date-time
|
||||||
# date-time format) Acquiring includes purchase, user upload, receiving
|
# format) Acquiring includes purchase, user upload, receiving family sharing,
|
||||||
# family sharing, etc.
|
# etc.
|
||||||
# Corresponds to the JSON property `acquiredTime`
|
# Corresponds to the JSON property `acquiredTime`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :acquired_time
|
attr_accessor :acquired_time
|
||||||
|
@ -3661,15 +3646,15 @@ module Google
|
||||||
attr_accessor :is_in_my_books
|
attr_accessor :is_in_my_books
|
||||||
alias_method :is_in_my_books?, :is_in_my_books
|
alias_method :is_in_my_books?, :is_in_my_books
|
||||||
|
|
||||||
# Whether or not this volume was pre-ordered by the authenticated user
|
# Whether or not this volume was pre-ordered by the authenticated user making
|
||||||
# making the request. (In LITE projection.)
|
# the request. (In LITE projection.)
|
||||||
# Corresponds to the JSON property `isPreordered`
|
# Corresponds to the JSON property `isPreordered`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :is_preordered
|
attr_accessor :is_preordered
|
||||||
alias_method :is_preordered?, :is_preordered
|
alias_method :is_preordered?, :is_preordered
|
||||||
|
|
||||||
# Whether or not this volume was purchased by the authenticated user making
|
# Whether or not this volume was purchased by the authenticated user making the
|
||||||
# the request. (In LITE projection.)
|
# request. (In LITE projection.)
|
||||||
# Corresponds to the JSON property `isPurchased`
|
# Corresponds to the JSON property `isPurchased`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :is_purchased
|
attr_accessor :is_purchased
|
||||||
|
@ -3681,8 +3666,8 @@ module Google
|
||||||
attr_accessor :is_uploaded
|
attr_accessor :is_uploaded
|
||||||
alias_method :is_uploaded?, :is_uploaded
|
alias_method :is_uploaded?, :is_uploaded
|
||||||
|
|
||||||
# The user's current reading position in the volume, if one is available.
|
# The user's current reading position in the volume, if one is available. (In
|
||||||
# (In LITE projection.)
|
# LITE projection.)
|
||||||
# Corresponds to the JSON property `readingPosition`
|
# Corresponds to the JSON property `readingPosition`
|
||||||
# @return [Google::Apis::BooksV1::ReadingPosition]
|
# @return [Google::Apis::BooksV1::ReadingPosition]
|
||||||
attr_accessor :reading_position
|
attr_accessor :reading_position
|
||||||
|
@ -3703,8 +3688,8 @@ module Google
|
||||||
attr_accessor :review
|
attr_accessor :review
|
||||||
|
|
||||||
# Timestamp when this volume was last modified by a user action, such as a
|
# Timestamp when this volume was last modified by a user action, such as a
|
||||||
# reading position update, volume purchase or writing a review. (RFC 3339
|
# reading position update, volume purchase or writing a review. (RFC 3339 UTC
|
||||||
# UTC date-time format).
|
# date-time format).
|
||||||
# Corresponds to the JSON property `updated`
|
# Corresponds to the JSON property `updated`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :updated
|
attr_accessor :updated
|
||||||
|
@ -3787,16 +3772,16 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :family_role
|
attr_accessor :family_role
|
||||||
|
|
||||||
# Whether or not this volume can be shared with the family by the user.
|
# Whether or not this volume can be shared with the family by the user. This
|
||||||
# This includes sharing eligibility of both the volume and the user. If
|
# includes sharing eligibility of both the volume and the user. If the value is
|
||||||
# the value is true, the user can initiate a family sharing action.
|
# true, the user can initiate a family sharing action.
|
||||||
# Corresponds to the JSON property `isSharingAllowed`
|
# Corresponds to the JSON property `isSharingAllowed`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :is_sharing_allowed
|
attr_accessor :is_sharing_allowed
|
||||||
alias_method :is_sharing_allowed?, :is_sharing_allowed
|
alias_method :is_sharing_allowed?, :is_sharing_allowed
|
||||||
|
|
||||||
# Whether or not sharing this volume is temporarily disabled due to
|
# Whether or not sharing this volume is temporarily disabled due to issues with
|
||||||
# issues with the Family Wallet.
|
# the Family Wallet.
|
||||||
# Corresponds to the JSON property `isSharingDisabledByFop`
|
# Corresponds to the JSON property `isSharingDisabledByFop`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :is_sharing_disabled_by_fop
|
attr_accessor :is_sharing_disabled_by_fop
|
||||||
|
@ -3869,8 +3854,7 @@ module Google
|
||||||
attr_accessor :allow_anon_logging
|
attr_accessor :allow_anon_logging
|
||||||
alias_method :allow_anon_logging?, :allow_anon_logging
|
alias_method :allow_anon_logging?, :allow_anon_logging
|
||||||
|
|
||||||
# The names of the authors and/or editors for this volume. (In LITE
|
# The names of the authors and/or editors for this volume. (In LITE projection)
|
||||||
# projection)
|
|
||||||
# Corresponds to the JSON property `authors`
|
# Corresponds to the JSON property `authors`
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
attr_accessor :authors
|
attr_accessor :authors
|
||||||
|
@ -3896,15 +3880,15 @@ module Google
|
||||||
attr_accessor :comics_content
|
attr_accessor :comics_content
|
||||||
alias_method :comics_content?, :comics_content
|
alias_method :comics_content?, :comics_content
|
||||||
|
|
||||||
# An identifier for the version of the volume content (text & images). (In
|
# An identifier for the version of the volume content (text & images). (In LITE
|
||||||
# LITE projection)
|
# projection)
|
||||||
# Corresponds to the JSON property `contentVersion`
|
# Corresponds to the JSON property `contentVersion`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :content_version
|
attr_accessor :content_version
|
||||||
|
|
||||||
# A synopsis of the volume. The text of the description is formatted in
|
# A synopsis of the volume. The text of the description is formatted in HTML and
|
||||||
# HTML and includes simple formatting elements, such as b, i, and br tags.
|
# includes simple formatting elements, such as b, i, and br tags. (In LITE
|
||||||
# (In LITE projection.)
|
# projection.)
|
||||||
# Corresponds to the JSON property `description`
|
# Corresponds to the JSON property `description`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :description
|
attr_accessor :description
|
||||||
|
@ -3925,20 +3909,20 @@ module Google
|
||||||
# @return [Array<Google::Apis::BooksV1::Volume::VolumeInfo::IndustryIdentifier>]
|
# @return [Array<Google::Apis::BooksV1::Volume::VolumeInfo::IndustryIdentifier>]
|
||||||
attr_accessor :industry_identifiers
|
attr_accessor :industry_identifiers
|
||||||
|
|
||||||
# URL to view information about this volume on the Google Books site. (In
|
# URL to view information about this volume on the Google Books site. (In LITE
|
||||||
# LITE projection)
|
# projection)
|
||||||
# Corresponds to the JSON property `infoLink`
|
# Corresponds to the JSON property `infoLink`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :info_link
|
attr_accessor :info_link
|
||||||
|
|
||||||
# Best language for this volume (based on content). It is the two-letter
|
# Best language for this volume (based on content). It is the two-letter ISO 639-
|
||||||
# ISO 639-1 code such as 'fr', 'en', etc.
|
# 1 code such as 'fr', 'en', etc.
|
||||||
# Corresponds to the JSON property `language`
|
# Corresponds to the JSON property `language`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :language
|
attr_accessor :language
|
||||||
|
|
||||||
# The main category to which this volume belongs. It will be the category
|
# The main category to which this volume belongs. It will be the category from
|
||||||
# from the categories list returned below that has the highest weight.
|
# the categories list returned below that has the highest weight.
|
||||||
# Corresponds to the JSON property `mainCategory`
|
# Corresponds to the JSON property `mainCategory`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :main_category
|
attr_accessor :main_category
|
||||||
|
@ -4085,8 +4069,7 @@ module Google
|
||||||
class ImageLinks
|
class ImageLinks
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Image link for extra large size (width of ~1280 pixels). (In LITE
|
# Image link for extra large size (width of ~1280 pixels). (In LITE projection)
|
||||||
# projection)
|
|
||||||
# Corresponds to the JSON property `extraLarge`
|
# Corresponds to the JSON property `extraLarge`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :extra_large
|
attr_accessor :extra_large
|
||||||
|
@ -4106,14 +4089,12 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :small
|
attr_accessor :small
|
||||||
|
|
||||||
# Image link for small thumbnail size (width of ~80 pixels). (In LITE
|
# Image link for small thumbnail size (width of ~80 pixels). (In LITE projection)
|
||||||
# projection)
|
|
||||||
# Corresponds to the JSON property `smallThumbnail`
|
# Corresponds to the JSON property `smallThumbnail`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :small_thumbnail
|
attr_accessor :small_thumbnail
|
||||||
|
|
||||||
# Image link for thumbnail size (width of ~128 pixels). (In LITE
|
# Image link for thumbnail size (width of ~128 pixels). (In LITE projection)
|
||||||
# projection)
|
|
||||||
# Corresponds to the JSON property `thumbnail`
|
# Corresponds to the JSON property `thumbnail`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :thumbnail
|
attr_accessor :thumbnail
|
||||||
|
@ -4322,8 +4303,8 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :self_link
|
attr_accessor :self_link
|
||||||
|
|
||||||
# Timestamp for the last time this anntoation was updated. (RFC 3339 UTC
|
# Timestamp for the last time this anntoation was updated. (RFC 3339 UTC date-
|
||||||
# date-time format).
|
# time format).
|
||||||
# Corresponds to the JSON property `updated`
|
# Corresponds to the JSON property `updated`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :updated
|
attr_accessor :updated
|
||||||
|
@ -4407,8 +4388,8 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :kind
|
attr_accessor :kind
|
||||||
|
|
||||||
# Token to pass in for pagination for the next page. This will not be present
|
# Token to pass in for pagination for the next page. This will not be present if
|
||||||
# if this request does not have more results.
|
# this request does not have more results.
|
||||||
# Corresponds to the JSON property `nextPageToken`
|
# Corresponds to the JSON property `nextPageToken`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :next_page_token
|
attr_accessor :next_page_token
|
||||||
|
@ -4418,10 +4399,10 @@ module Google
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :total_items
|
attr_accessor :total_items
|
||||||
|
|
||||||
# The version string for all of the volume annotations in this layer (not
|
# The version string for all of the volume annotations in this layer (not just
|
||||||
# just the ones in this response). Note: the version string
|
# the ones in this response). Note: the version string doesn't apply to the
|
||||||
# doesn't apply to the annotation data, just the information in this response
|
# annotation data, just the information in this response (e.g. the location of
|
||||||
# (e.g. the location of annotations in the book).
|
# annotations in the book).
|
||||||
# Corresponds to the JSON property `version`
|
# Corresponds to the JSON property `version`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :version
|
attr_accessor :version
|
||||||
|
@ -4476,8 +4457,8 @@ module Google
|
||||||
class Volumeseriesinfo
|
class Volumeseriesinfo
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# The display number string. This should be used only for display purposes
|
# The display number string. This should be used only for display purposes and
|
||||||
# and the actual sequence should be inferred from the below orderNumber.
|
# the actual sequence should be inferred from the below orderNumber.
|
||||||
# Corresponds to the JSON property `bookDisplayNumber`
|
# Corresponds to the JSON property `bookDisplayNumber`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :book_display_number
|
attr_accessor :book_display_number
|
||||||
|
@ -4523,8 +4504,8 @@ module Google
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :order_number
|
attr_accessor :order_number
|
||||||
|
|
||||||
# The book type in the context of series. Examples - Single Issue,
|
# The book type in the context of series. Examples - Single Issue, Collection
|
||||||
# Collection Edition, etc.
|
# Edition, etc.
|
||||||
# Corresponds to the JSON property `seriesBookType`
|
# Corresponds to the JSON property `seriesBookType`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :series_book_type
|
attr_accessor :series_book_type
|
||||||
|
|
|
@ -357,8 +357,8 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Initiates revoking content that has already been shared with the user's
|
# Initiates revoking content that has already been shared with the user's family.
|
||||||
# family. Empty response indicates success.
|
# Empty response indicates success.
|
||||||
# @param [String] doc_id
|
# @param [String] doc_id
|
||||||
# The docid to unshare.
|
# The docid to unshare.
|
||||||
# @param [String] source
|
# @param [String] source
|
||||||
|
@ -490,8 +490,8 @@ module Google
|
||||||
# The requested pixel height for any images. If height is provided width must
|
# The requested pixel height for any images. If height is provided width must
|
||||||
# also be provided.
|
# also be provided.
|
||||||
# @param [String] locale
|
# @param [String] locale
|
||||||
# The locale information for the data. ISO-639-1 language and ISO-3166-1
|
# The locale information for the data. ISO-639-1 language and ISO-3166-1 country
|
||||||
# country code. Ex: 'en_US'.
|
# code. Ex: 'en_US'.
|
||||||
# @param [Fixnum] scale
|
# @param [Fixnum] scale
|
||||||
# The requested scale for the image.
|
# The requested scale for the image.
|
||||||
# @param [String] source
|
# @param [String] source
|
||||||
|
@ -541,16 +541,16 @@ module Google
|
||||||
# @param [String] layer_id
|
# @param [String] layer_id
|
||||||
# The ID for the layer to get the annotation data.
|
# The ID for the layer to get the annotation data.
|
||||||
# @param [Array<String>, String] annotation_data_id
|
# @param [Array<String>, String] annotation_data_id
|
||||||
# The list of Annotation Data Ids to retrieve. Pagination is ignored if this
|
# The list of Annotation Data Ids to retrieve. Pagination is ignored if this is
|
||||||
# is set.
|
# set.
|
||||||
# @param [String] content_version
|
# @param [String] content_version
|
||||||
# The content version for the requested volume.
|
# The content version for the requested volume.
|
||||||
# @param [Fixnum] h
|
# @param [Fixnum] h
|
||||||
# The requested pixel height for any images. If height is provided width must
|
# The requested pixel height for any images. If height is provided width must
|
||||||
# also be provided.
|
# also be provided.
|
||||||
# @param [String] locale
|
# @param [String] locale
|
||||||
# The locale information for the data. ISO-639-1 language and ISO-3166-1
|
# The locale information for the data. ISO-639-1 language and ISO-3166-1 country
|
||||||
# country code. Ex: 'en_US'.
|
# code. Ex: 'en_US'.
|
||||||
# @param [Fixnum] max_results
|
# @param [Fixnum] max_results
|
||||||
# Maximum number of results to return
|
# Maximum number of results to return
|
||||||
# @param [String] page_token
|
# @param [String] page_token
|
||||||
|
@ -560,11 +560,11 @@ module Google
|
||||||
# @param [String] source
|
# @param [String] source
|
||||||
# String to identify the originator of this request.
|
# String to identify the originator of this request.
|
||||||
# @param [String] updated_max
|
# @param [String] updated_max
|
||||||
# RFC 3339 timestamp to restrict to items updated prior to this timestamp
|
# RFC 3339 timestamp to restrict to items updated prior to this timestamp (
|
||||||
# (exclusive).
|
# exclusive).
|
||||||
# @param [String] updated_min
|
# @param [String] updated_min
|
||||||
# RFC 3339 timestamp to restrict to items updated since this timestamp
|
# RFC 3339 timestamp to restrict to items updated since this timestamp (
|
||||||
# (inclusive).
|
# inclusive).
|
||||||
# @param [Fixnum] w
|
# @param [Fixnum] w
|
||||||
# The requested pixel width for any images. If width is provided height must
|
# The requested pixel width for any images. If width is provided height must
|
||||||
# also be provided.
|
# also be provided.
|
||||||
|
@ -615,8 +615,8 @@ module Google
|
||||||
# @param [String] annotation_id
|
# @param [String] annotation_id
|
||||||
# The ID of the volume annotation to retrieve.
|
# The ID of the volume annotation to retrieve.
|
||||||
# @param [String] locale
|
# @param [String] locale
|
||||||
# The locale information for the data. ISO-639-1 language and ISO-3166-1
|
# The locale information for the data. ISO-639-1 language and ISO-3166-1 country
|
||||||
# country code. Ex: 'en_US'.
|
# code. Ex: 'en_US'.
|
||||||
# @param [String] source
|
# @param [String] source
|
||||||
# String to identify the originator of this request.
|
# String to identify the originator of this request.
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
|
@ -662,15 +662,15 @@ module Google
|
||||||
# @param [String] end_position
|
# @param [String] end_position
|
||||||
# The end position to end retrieving data from.
|
# The end position to end retrieving data from.
|
||||||
# @param [String] locale
|
# @param [String] locale
|
||||||
# The locale information for the data. ISO-639-1 language and ISO-3166-1
|
# The locale information for the data. ISO-639-1 language and ISO-3166-1 country
|
||||||
# country code. Ex: 'en_US'.
|
# code. Ex: 'en_US'.
|
||||||
# @param [Fixnum] max_results
|
# @param [Fixnum] max_results
|
||||||
# Maximum number of results to return
|
# Maximum number of results to return
|
||||||
# @param [String] page_token
|
# @param [String] page_token
|
||||||
# The value of the nextToken from the previous page.
|
# The value of the nextToken from the previous page.
|
||||||
# @param [Boolean] show_deleted
|
# @param [Boolean] show_deleted
|
||||||
# Set to true to return deleted annotations. updatedMin must be in the
|
# Set to true to return deleted annotations. updatedMin must be in the request
|
||||||
# request to use this. Defaults to false.
|
# to use this. Defaults to false.
|
||||||
# @param [String] source
|
# @param [String] source
|
||||||
# String to identify the originator of this request.
|
# String to identify the originator of this request.
|
||||||
# @param [String] start_offset
|
# @param [String] start_offset
|
||||||
|
@ -678,11 +678,11 @@ module Google
|
||||||
# @param [String] start_position
|
# @param [String] start_position
|
||||||
# The start position to start retrieving data from.
|
# The start position to start retrieving data from.
|
||||||
# @param [String] updated_max
|
# @param [String] updated_max
|
||||||
# RFC 3339 timestamp to restrict to items updated prior to this timestamp
|
# RFC 3339 timestamp to restrict to items updated prior to this timestamp (
|
||||||
# (exclusive).
|
# exclusive).
|
||||||
# @param [String] updated_min
|
# @param [String] updated_min
|
||||||
# RFC 3339 timestamp to restrict to items updated since this timestamp
|
# RFC 3339 timestamp to restrict to items updated since this timestamp (
|
||||||
# (inclusive).
|
# inclusive).
|
||||||
# @param [String] volume_annotations_version
|
# @param [String] volume_annotations_version
|
||||||
# The version of the volume annotations that you are requesting.
|
# The version of the volume annotations that you are requesting.
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
|
@ -799,8 +799,7 @@ module Google
|
||||||
# @param [String] cpksver
|
# @param [String] cpksver
|
||||||
# The device/version ID from which to request the restrictions.
|
# The device/version ID from which to request the restrictions.
|
||||||
# @param [String] license_types
|
# @param [String] license_types
|
||||||
# The type of access license to request. If not specified, the default is
|
# The type of access license to request. If not specified, the default is BOTH.
|
||||||
# BOTH.
|
|
||||||
# @param [String] locale
|
# @param [String] locale
|
||||||
# ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.
|
# ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.
|
||||||
# @param [String] nonce
|
# @param [String] nonce
|
||||||
|
@ -841,8 +840,7 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Request downloaded content access for specified volumes on the My eBooks
|
# Request downloaded content access for specified volumes on the My eBooks shelf.
|
||||||
# shelf.
|
|
||||||
# @param [String] cpksver
|
# @param [String] cpksver
|
||||||
# The device/version ID from which to release the restriction.
|
# The device/version ID from which to release the restriction.
|
||||||
# @param [Array<String>, String] features
|
# @param [Array<String>, String] features
|
||||||
|
@ -894,8 +892,8 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
# Sets the settings for the user. If a sub-object is specified, it will
|
# Sets the settings for the user. If a sub-object is specified, it will
|
||||||
# overwrite the existing sub-object stored in the server. Unspecified
|
# overwrite the existing sub-object stored in the server. Unspecified sub-
|
||||||
# sub-objects will retain the existing value.
|
# objects will retain the existing value.
|
||||||
# @param [Google::Apis::BooksV1::UserSettings] user_settings_object
|
# @param [Google::Apis::BooksV1::UserSettings] user_settings_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -1013,16 +1011,16 @@ module Google
|
||||||
# @param [String] page_token
|
# @param [String] page_token
|
||||||
# The value of the nextToken from the previous page.
|
# The value of the nextToken from the previous page.
|
||||||
# @param [Boolean] show_deleted
|
# @param [Boolean] show_deleted
|
||||||
# Set to true to return deleted annotations. updatedMin must be in the
|
# Set to true to return deleted annotations. updatedMin must be in the request
|
||||||
# request to use this. Defaults to false.
|
# to use this. Defaults to false.
|
||||||
# @param [String] source
|
# @param [String] source
|
||||||
# String to identify the originator of this request.
|
# String to identify the originator of this request.
|
||||||
# @param [String] updated_max
|
# @param [String] updated_max
|
||||||
# RFC 3339 timestamp to restrict to items updated prior to this timestamp
|
# RFC 3339 timestamp to restrict to items updated prior to this timestamp (
|
||||||
# (exclusive).
|
# exclusive).
|
||||||
# @param [String] updated_min
|
# @param [String] updated_min
|
||||||
# RFC 3339 timestamp to restrict to items updated since this timestamp
|
# RFC 3339 timestamp to restrict to items updated since this timestamp (
|
||||||
# (inclusive).
|
# inclusive).
|
||||||
# @param [String] volume_id
|
# @param [String] volume_id
|
||||||
# The volume to restrict annotations to.
|
# The volume to restrict annotations to.
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
|
@ -1274,8 +1272,8 @@ module Google
|
||||||
# @param [String] volume_id
|
# @param [String] volume_id
|
||||||
# ID of volume to move.
|
# ID of volume to move.
|
||||||
# @param [Fixnum] volume_position
|
# @param [Fixnum] volume_position
|
||||||
# Position on shelf to move the item (0 puts the item before the current
|
# Position on shelf to move the item (0 puts the item before the current first
|
||||||
# first item, 1 puts it between the first and the second and so on.)
|
# item, 1 puts it between the first and the second and so on.)
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -1553,8 +1551,8 @@ module Google
|
||||||
# @param [String] locale
|
# @param [String] locale
|
||||||
# ISO-639-1 language and ISO-3166-1 country code. Default is en-US if unset.
|
# ISO-639-1 language and ISO-3166-1 country code. Default is en-US if unset.
|
||||||
# @param [String] max_allowed_maturity_rating
|
# @param [String] max_allowed_maturity_rating
|
||||||
# The maximum allowed maturity rating of returned volumes. Books with a
|
# The maximum allowed maturity rating of returned volumes. Books with a higher
|
||||||
# higher maturity rating are filtered out.
|
# maturity rating are filtered out.
|
||||||
# @param [Fixnum] page_size
|
# @param [Fixnum] page_size
|
||||||
# Number of maximum results per page to be included in the response.
|
# Number of maximum results per page to be included in the response.
|
||||||
# @param [String] page_token
|
# @param [String] page_token
|
||||||
|
@ -1595,8 +1593,8 @@ module Google
|
||||||
# ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for
|
# ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for
|
||||||
# generating recommendations.
|
# generating recommendations.
|
||||||
# @param [String] max_allowed_maturity_rating
|
# @param [String] max_allowed_maturity_rating
|
||||||
# The maximum allowed maturity rating of returned recommendations. Books with
|
# The maximum allowed maturity rating of returned recommendations. Books with a
|
||||||
# a higher maturity rating are filtered out.
|
# higher maturity rating are filtered out.
|
||||||
# @param [String] source
|
# @param [String] source
|
||||||
# String to identify the originator of this request.
|
# String to identify the originator of this request.
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
|
@ -1894,8 +1892,8 @@ module Google
|
||||||
# @param [String] library_restrict
|
# @param [String] library_restrict
|
||||||
# Restrict search to this user's library.
|
# Restrict search to this user's library.
|
||||||
# @param [String] max_allowed_maturity_rating
|
# @param [String] max_allowed_maturity_rating
|
||||||
# The maximum allowed maturity rating of returned recommendations. Books with
|
# The maximum allowed maturity rating of returned recommendations. Books with a
|
||||||
# a higher maturity rating are filtered out.
|
# higher maturity rating are filtered out.
|
||||||
# @param [Fixnum] max_results
|
# @param [Fixnum] max_results
|
||||||
# Maximum number of results to return.
|
# Maximum number of results to return.
|
||||||
# @param [String] order_by
|
# @param [String] order_by
|
||||||
|
@ -1963,8 +1961,8 @@ module Google
|
||||||
# ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for
|
# ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for
|
||||||
# generating recommendations.
|
# generating recommendations.
|
||||||
# @param [String] max_allowed_maturity_rating
|
# @param [String] max_allowed_maturity_rating
|
||||||
# The maximum allowed maturity rating of returned recommendations. Books with
|
# The maximum allowed maturity rating of returned recommendations. Books with a
|
||||||
# a higher maturity rating are filtered out.
|
# higher maturity rating are filtered out.
|
||||||
# @param [String] source
|
# @param [String] source
|
||||||
# String to identify the originator of this request.
|
# String to identify the originator of this request.
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
|
@ -2009,8 +2007,8 @@ module Google
|
||||||
# @param [Fixnum] max_results
|
# @param [Fixnum] max_results
|
||||||
# Maximum number of results to return.
|
# Maximum number of results to return.
|
||||||
# @param [Array<String>, String] processing_state
|
# @param [Array<String>, String] processing_state
|
||||||
# The processing state of the user uploaded volumes to be returned.
|
# The processing state of the user uploaded volumes to be returned. Applicable
|
||||||
# Applicable only if the UPLOADED is specified in the acquireMethod.
|
# only if the UPLOADED is specified in the acquireMethod.
|
||||||
# @param [String] source
|
# @param [String] source
|
||||||
# String to identify the originator of this request.
|
# String to identify the originator of this request.
|
||||||
# @param [Fixnum] start_index
|
# @param [Fixnum] start_index
|
||||||
|
@ -2053,8 +2051,8 @@ module Google
|
||||||
# ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for
|
# ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for
|
||||||
# generating recommendations.
|
# generating recommendations.
|
||||||
# @param [String] max_allowed_maturity_rating
|
# @param [String] max_allowed_maturity_rating
|
||||||
# The maximum allowed maturity rating of returned recommendations. Books with
|
# The maximum allowed maturity rating of returned recommendations. Books with a
|
||||||
# a higher maturity rating are filtered out.
|
# higher maturity rating are filtered out.
|
||||||
# @param [String] source
|
# @param [String] source
|
||||||
# String to identify the originator of this request.
|
# String to identify the originator of this request.
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://developers.google.com/web/tools/chrome-user-experience-report/api/reference
|
# @see https://developers.google.com/web/tools/chrome-user-experience-report/api/reference
|
||||||
module ChromeuxreportV1
|
module ChromeuxreportV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20200528'
|
REVISION = '20200720'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -66,6 +66,16 @@ module Google
|
||||||
class Key
|
class Key
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The effective connection type is the general connection class that all
|
||||||
|
# users experienced for this record. This field uses the values ["offline",
|
||||||
|
# "slow-2G", "2G", "3G", "4G"] as specified in:
|
||||||
|
# https://wicg.github.io/netinfo/#effective-connection-types
|
||||||
|
# If the effective connection type is unspecified, then aggregated data
|
||||||
|
# over all effective connection types will be returned.
|
||||||
|
# Corresponds to the JSON property `effectiveConnectionType`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :effective_connection_type
|
||||||
|
|
||||||
# The form factor is the device class that all users used to access the
|
# The form factor is the device class that all users used to access the
|
||||||
# site for this record.
|
# site for this record.
|
||||||
# If the form factor is unspecified, then aggregated data over all form
|
# If the form factor is unspecified, then aggregated data over all form
|
||||||
|
@ -94,6 +104,7 @@ module Google
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
|
@effective_connection_type = args[:effective_connection_type] if args.key?(:effective_connection_type)
|
||||||
@form_factor = args[:form_factor] if args.key?(:form_factor)
|
@form_factor = args[:form_factor] if args.key?(:form_factor)
|
||||||
@origin = args[:origin] if args.key?(:origin)
|
@origin = args[:origin] if args.key?(:origin)
|
||||||
@url = args[:url] if args.key?(:url)
|
@url = args[:url] if args.key?(:url)
|
||||||
|
@ -157,6 +168,16 @@ module Google
|
||||||
class QueryRequest
|
class QueryRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The effective connection type is a query dimension that specifies the
|
||||||
|
# effective network class that the record's data should belong to. This field
|
||||||
|
# uses the values ["offline", "slow-2G", "2G", "3G", "4G"] as specified in:
|
||||||
|
# https://wicg.github.io/netinfo/#effective-connection-types
|
||||||
|
# Note: If no effective connection type is specified, then a special record
|
||||||
|
# with aggregated data over all effective connection types will be returned.
|
||||||
|
# Corresponds to the JSON property `effectiveConnectionType`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :effective_connection_type
|
||||||
|
|
||||||
# The form factor is a query dimension that specifies the device class that
|
# The form factor is a query dimension that specifies the device class that
|
||||||
# the record's data should belong to.
|
# the record's data should belong to.
|
||||||
# Note: If no form factor is specified, then a special record with
|
# Note: If no form factor is specified, then a special record with
|
||||||
|
@ -194,6 +215,7 @@ module Google
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
|
@effective_connection_type = args[:effective_connection_type] if args.key?(:effective_connection_type)
|
||||||
@form_factor = args[:form_factor] if args.key?(:form_factor)
|
@form_factor = args[:form_factor] if args.key?(:form_factor)
|
||||||
@metrics = args[:metrics] if args.key?(:metrics)
|
@metrics = args[:metrics] if args.key?(:metrics)
|
||||||
@origin = args[:origin] if args.key?(:origin)
|
@origin = args[:origin] if args.key?(:origin)
|
||||||
|
|
|
@ -82,6 +82,7 @@ module Google
|
||||||
class Key
|
class Key
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :effective_connection_type, as: 'effectiveConnectionType'
|
||||||
property :form_factor, as: 'formFactor'
|
property :form_factor, as: 'formFactor'
|
||||||
property :origin, as: 'origin'
|
property :origin, as: 'origin'
|
||||||
property :url, as: 'url'
|
property :url, as: 'url'
|
||||||
|
@ -108,6 +109,7 @@ module Google
|
||||||
class QueryRequest
|
class QueryRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :effective_connection_type, as: 'effectiveConnectionType'
|
||||||
property :form_factor, as: 'formFactor'
|
property :form_factor, as: 'formFactor'
|
||||||
collection :metrics, as: 'metrics'
|
collection :metrics, as: 'metrics'
|
||||||
property :origin, as: 'origin'
|
property :origin, as: 'origin'
|
||||||
|
|
|
@ -0,0 +1,34 @@
|
||||||
|
# Copyright 2015 Google Inc.
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
require 'google/apis/cloudasset_v1p5beta1/service.rb'
|
||||||
|
require 'google/apis/cloudasset_v1p5beta1/classes.rb'
|
||||||
|
require 'google/apis/cloudasset_v1p5beta1/representations.rb'
|
||||||
|
|
||||||
|
module Google
|
||||||
|
module Apis
|
||||||
|
# Cloud Asset API
|
||||||
|
#
|
||||||
|
# The cloud asset API manages the history and inventory of cloud resources.
|
||||||
|
#
|
||||||
|
# @see https://cloud.google.com/asset-inventory/docs/quickstart
|
||||||
|
module CloudassetV1p5beta1
|
||||||
|
VERSION = 'V1p5beta1'
|
||||||
|
REVISION = '20200717'
|
||||||
|
|
||||||
|
# View and manage your data across Google Cloud Platform services
|
||||||
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,399 @@
|
||||||
|
# Copyright 2015 Google Inc.
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
require 'date'
|
||||||
|
require 'google/apis/core/base_service'
|
||||||
|
require 'google/apis/core/json_representation'
|
||||||
|
require 'google/apis/core/hashable'
|
||||||
|
require 'google/apis/errors'
|
||||||
|
|
||||||
|
module Google
|
||||||
|
module Apis
|
||||||
|
module CloudassetV1p5beta1
|
||||||
|
|
||||||
|
class Asset
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
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 Binding
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class Expr
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleCloudOrgpolicyV1BooleanPolicy
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleCloudOrgpolicyV1ListPolicy
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleCloudOrgpolicyV1Policy
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleCloudOrgpolicyV1RestoreDefault
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleIdentityAccesscontextmanagerV1AccessLevel
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleIdentityAccesscontextmanagerV1AccessPolicy
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleIdentityAccesscontextmanagerV1BasicLevel
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleIdentityAccesscontextmanagerV1Condition
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleIdentityAccesscontextmanagerV1CustomLevel
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleIdentityAccesscontextmanagerV1DevicePolicy
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleIdentityAccesscontextmanagerV1OsConstraint
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleIdentityAccesscontextmanagerV1ServicePerimeter
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class ListAssetsResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class Policy
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class Resource
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class Asset
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :access_level, as: 'accessLevel', class: Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1AccessLevel, decorator: Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1AccessLevel::Representation
|
||||||
|
|
||||||
|
property :access_policy, as: 'accessPolicy', class: Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1AccessPolicy, decorator: Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1AccessPolicy::Representation
|
||||||
|
|
||||||
|
collection :ancestors, as: 'ancestors'
|
||||||
|
property :asset_type, as: 'assetType'
|
||||||
|
property :iam_policy, as: 'iamPolicy', class: Google::Apis::CloudassetV1p5beta1::Policy, decorator: Google::Apis::CloudassetV1p5beta1::Policy::Representation
|
||||||
|
|
||||||
|
property :name, as: 'name'
|
||||||
|
collection :org_policy, as: 'orgPolicy', class: Google::Apis::CloudassetV1p5beta1::GoogleCloudOrgpolicyV1Policy, decorator: Google::Apis::CloudassetV1p5beta1::GoogleCloudOrgpolicyV1Policy::Representation
|
||||||
|
|
||||||
|
property :resource, as: 'resource', class: Google::Apis::CloudassetV1p5beta1::Resource, decorator: Google::Apis::CloudassetV1p5beta1::Resource::Representation
|
||||||
|
|
||||||
|
property :service_perimeter, as: 'servicePerimeter', class: Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1ServicePerimeter, decorator: Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1ServicePerimeter::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class AuditConfig
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::CloudassetV1p5beta1::AuditLogConfig, decorator: Google::Apis::CloudassetV1p5beta1::AuditLogConfig::Representation
|
||||||
|
|
||||||
|
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 Binding
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :condition, as: 'condition', class: Google::Apis::CloudassetV1p5beta1::Expr, decorator: Google::Apis::CloudassetV1p5beta1::Expr::Representation
|
||||||
|
|
||||||
|
collection :members, as: 'members'
|
||||||
|
property :role, as: 'role'
|
||||||
|
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 GoogleCloudOrgpolicyV1BooleanPolicy
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :enforced, as: 'enforced'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleCloudOrgpolicyV1ListPolicy
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :all_values, as: 'allValues'
|
||||||
|
collection :allowed_values, as: 'allowedValues'
|
||||||
|
collection :denied_values, as: 'deniedValues'
|
||||||
|
property :inherit_from_parent, as: 'inheritFromParent'
|
||||||
|
property :suggested_value, as: 'suggestedValue'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleCloudOrgpolicyV1Policy
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :boolean_policy, as: 'booleanPolicy', class: Google::Apis::CloudassetV1p5beta1::GoogleCloudOrgpolicyV1BooleanPolicy, decorator: Google::Apis::CloudassetV1p5beta1::GoogleCloudOrgpolicyV1BooleanPolicy::Representation
|
||||||
|
|
||||||
|
property :constraint, as: 'constraint'
|
||||||
|
property :etag, :base64 => true, as: 'etag'
|
||||||
|
property :list_policy, as: 'listPolicy', class: Google::Apis::CloudassetV1p5beta1::GoogleCloudOrgpolicyV1ListPolicy, decorator: Google::Apis::CloudassetV1p5beta1::GoogleCloudOrgpolicyV1ListPolicy::Representation
|
||||||
|
|
||||||
|
property :restore_default, as: 'restoreDefault', class: Google::Apis::CloudassetV1p5beta1::GoogleCloudOrgpolicyV1RestoreDefault, decorator: Google::Apis::CloudassetV1p5beta1::GoogleCloudOrgpolicyV1RestoreDefault::Representation
|
||||||
|
|
||||||
|
property :update_time, as: 'updateTime'
|
||||||
|
property :version, as: 'version'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleCloudOrgpolicyV1RestoreDefault
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleIdentityAccesscontextmanagerV1AccessLevel
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :basic, as: 'basic', class: Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1BasicLevel, decorator: Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1BasicLevel::Representation
|
||||||
|
|
||||||
|
property :custom, as: 'custom', class: Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1CustomLevel, decorator: Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1CustomLevel::Representation
|
||||||
|
|
||||||
|
property :description, as: 'description'
|
||||||
|
property :name, as: 'name'
|
||||||
|
property :title, as: 'title'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleIdentityAccesscontextmanagerV1AccessPolicy
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :etag, as: 'etag'
|
||||||
|
property :name, as: 'name'
|
||||||
|
property :parent, as: 'parent'
|
||||||
|
property :title, as: 'title'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleIdentityAccesscontextmanagerV1BasicLevel
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :combining_function, as: 'combiningFunction'
|
||||||
|
collection :conditions, as: 'conditions', class: Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1Condition, decorator: Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1Condition::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleIdentityAccesscontextmanagerV1Condition
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :device_policy, as: 'devicePolicy', class: Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1DevicePolicy, decorator: Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1DevicePolicy::Representation
|
||||||
|
|
||||||
|
collection :ip_subnetworks, as: 'ipSubnetworks'
|
||||||
|
collection :members, as: 'members'
|
||||||
|
property :negate, as: 'negate'
|
||||||
|
collection :regions, as: 'regions'
|
||||||
|
collection :required_access_levels, as: 'requiredAccessLevels'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleIdentityAccesscontextmanagerV1CustomLevel
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :expr, as: 'expr', class: Google::Apis::CloudassetV1p5beta1::Expr, decorator: Google::Apis::CloudassetV1p5beta1::Expr::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleIdentityAccesscontextmanagerV1DevicePolicy
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :allowed_device_management_levels, as: 'allowedDeviceManagementLevels'
|
||||||
|
collection :allowed_encryption_statuses, as: 'allowedEncryptionStatuses'
|
||||||
|
collection :os_constraints, as: 'osConstraints', class: Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1OsConstraint, decorator: Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1OsConstraint::Representation
|
||||||
|
|
||||||
|
property :require_admin_approval, as: 'requireAdminApproval'
|
||||||
|
property :require_corp_owned, as: 'requireCorpOwned'
|
||||||
|
property :require_screenlock, as: 'requireScreenlock'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleIdentityAccesscontextmanagerV1OsConstraint
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :minimum_version, as: 'minimumVersion'
|
||||||
|
property :os_type, as: 'osType'
|
||||||
|
property :require_verified_chrome_os, as: 'requireVerifiedChromeOs'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleIdentityAccesscontextmanagerV1ServicePerimeter
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :description, as: 'description'
|
||||||
|
property :name, as: 'name'
|
||||||
|
property :perimeter_type, as: 'perimeterType'
|
||||||
|
property :spec, as: 'spec', class: Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig, decorator: Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig::Representation
|
||||||
|
|
||||||
|
property :status, as: 'status', class: Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig, decorator: Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig::Representation
|
||||||
|
|
||||||
|
property :title, as: 'title'
|
||||||
|
property :use_explicit_dry_run_spec, as: 'useExplicitDryRunSpec'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :access_levels, as: 'accessLevels'
|
||||||
|
collection :resources, as: 'resources'
|
||||||
|
collection :restricted_services, as: 'restrictedServices'
|
||||||
|
property :vpc_accessible_services, as: 'vpcAccessibleServices', class: Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices, decorator: Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :allowed_services, as: 'allowedServices'
|
||||||
|
property :enable_restriction, as: 'enableRestriction'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class ListAssetsResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :assets, as: 'assets', class: Google::Apis::CloudassetV1p5beta1::Asset, decorator: Google::Apis::CloudassetV1p5beta1::Asset::Representation
|
||||||
|
|
||||||
|
property :next_page_token, as: 'nextPageToken'
|
||||||
|
property :read_time, as: 'readTime'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class Policy
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :audit_configs, as: 'auditConfigs', class: Google::Apis::CloudassetV1p5beta1::AuditConfig, decorator: Google::Apis::CloudassetV1p5beta1::AuditConfig::Representation
|
||||||
|
|
||||||
|
collection :bindings, as: 'bindings', class: Google::Apis::CloudassetV1p5beta1::Binding, decorator: Google::Apis::CloudassetV1p5beta1::Binding::Representation
|
||||||
|
|
||||||
|
property :etag, :base64 => true, as: 'etag'
|
||||||
|
property :version, as: 'version'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class Resource
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
hash :data, as: 'data'
|
||||||
|
property :discovery_document_uri, as: 'discoveryDocumentUri'
|
||||||
|
property :discovery_name, as: 'discoveryName'
|
||||||
|
property :parent, as: 'parent'
|
||||||
|
property :resource_url, as: 'resourceUrl'
|
||||||
|
property :version, as: 'version'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
|
@ -0,0 +1,129 @@
|
||||||
|
# Copyright 2015 Google Inc.
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
require 'google/apis/core/base_service'
|
||||||
|
require 'google/apis/core/json_representation'
|
||||||
|
require 'google/apis/core/hashable'
|
||||||
|
require 'google/apis/errors'
|
||||||
|
|
||||||
|
module Google
|
||||||
|
module Apis
|
||||||
|
module CloudassetV1p5beta1
|
||||||
|
# Cloud Asset API
|
||||||
|
#
|
||||||
|
# The cloud asset API manages the history and inventory of cloud resources.
|
||||||
|
#
|
||||||
|
# @example
|
||||||
|
# require 'google/apis/cloudasset_v1p5beta1'
|
||||||
|
#
|
||||||
|
# Cloudasset = Google::Apis::CloudassetV1p5beta1 # Alias the module
|
||||||
|
# service = Cloudasset::CloudAssetService.new
|
||||||
|
#
|
||||||
|
# @see https://cloud.google.com/asset-inventory/docs/quickstart
|
||||||
|
class CloudAssetService < Google::Apis::Core::BaseService
|
||||||
|
# @return [String]
|
||||||
|
# API key. Your API key identifies your project and provides you with API access,
|
||||||
|
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
||||||
|
attr_accessor :key
|
||||||
|
|
||||||
|
# @return [String]
|
||||||
|
# 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.
|
||||||
|
attr_accessor :quota_user
|
||||||
|
|
||||||
|
def initialize
|
||||||
|
super('https://cloudasset.googleapis.com/', '')
|
||||||
|
@batch_path = 'batch'
|
||||||
|
end
|
||||||
|
|
||||||
|
# Lists assets with time and resource types and returns paged results in
|
||||||
|
# response.
|
||||||
|
# @param [String] parent
|
||||||
|
# Required. Name of the organization or project the assets belong to. Format:
|
||||||
|
# "organizations/[organization-number]" (such as "organizations/123"),
|
||||||
|
# "projects/[project-number]" (such as "projects/my-project-id"), or
|
||||||
|
# "projects/[project-id]" (such as "projects/12345").
|
||||||
|
# @param [Array<String>, String] asset_types
|
||||||
|
# A list of asset types to take a snapshot for. For example:
|
||||||
|
# "compute.googleapis.com/Disk".
|
||||||
|
# Regular expression is also supported. For example:
|
||||||
|
# * "compute.googleapis.com.*" snapshots resources whose asset type starts
|
||||||
|
# with "compute.googleapis.com".
|
||||||
|
# * ".*Instance" snapshots resources whose asset type ends with "Instance".
|
||||||
|
# * ".*Instance.*" snapshots resources whose asset type contains "Instance".
|
||||||
|
# See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported
|
||||||
|
# regular expression syntax. If the regular expression does not match any
|
||||||
|
# supported asset type, an INVALID_ARGUMENT error will be returned.
|
||||||
|
# If specified, only matching assets will be returned, otherwise, it will
|
||||||
|
# snapshot all asset types. See [Introduction to Cloud Asset
|
||||||
|
# Inventory](https://cloud.google.com/asset-inventory/docs/overview)
|
||||||
|
# for all supported asset types.
|
||||||
|
# @param [String] content_type
|
||||||
|
# Asset content type. If not specified, no content but the asset name will
|
||||||
|
# be returned.
|
||||||
|
# @param [Fixnum] page_size
|
||||||
|
# The maximum number of assets to be returned in a single response. Default
|
||||||
|
# is 100, minimum is 1, and maximum is 1000.
|
||||||
|
# @param [String] page_token
|
||||||
|
# The `next_page_token` returned from the previous `ListAssetsResponse`, or
|
||||||
|
# unspecified for the first `ListAssetsRequest`. It is a continuation of a
|
||||||
|
# prior `ListAssets` call, and the API should return the next page of assets.
|
||||||
|
# @param [String] read_time
|
||||||
|
# Timestamp to take an asset snapshot. This can only be set to a timestamp
|
||||||
|
# between the current time and the current time minus 35 days (inclusive).
|
||||||
|
# If not specified, the current time will be used. Due to delays in resource
|
||||||
|
# data collection and indexing, there is a volatile window during which
|
||||||
|
# running the same query may get different 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::CloudassetV1p5beta1::ListAssetsResponse] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::CloudassetV1p5beta1::ListAssetsResponse]
|
||||||
|
#
|
||||||
|
# @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_assets(parent, asset_types: nil, content_type: nil, page_size: nil, page_token: nil, read_time: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, 'v1p5beta1/{+parent}/assets', options)
|
||||||
|
command.response_representation = Google::Apis::CloudassetV1p5beta1::ListAssetsResponse::Representation
|
||||||
|
command.response_class = Google::Apis::CloudassetV1p5beta1::ListAssetsResponse
|
||||||
|
command.params['parent'] = parent unless parent.nil?
|
||||||
|
command.query['assetTypes'] = asset_types unless asset_types.nil?
|
||||||
|
command.query['contentType'] = content_type unless content_type.nil?
|
||||||
|
command.query['pageSize'] = page_size unless page_size.nil?
|
||||||
|
command.query['pageToken'] = page_token unless page_token.nil?
|
||||||
|
command.query['readTime'] = read_time unless read_time.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
protected
|
||||||
|
|
||||||
|
def apply_command_defaults(command)
|
||||||
|
command.query['key'] = key unless key.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/cloud-build/docs/
|
# @see https://cloud.google.com/cloud-build/docs/
|
||||||
module CloudbuildV1
|
module CloudbuildV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20200715'
|
REVISION = '20200720'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/cloud-build/docs/
|
# @see https://cloud.google.com/cloud-build/docs/
|
||||||
module CloudbuildV1alpha1
|
module CloudbuildV1alpha1
|
||||||
VERSION = 'V1alpha1'
|
VERSION = 'V1alpha1'
|
||||||
REVISION = '20200626'
|
REVISION = '20200720'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/cloud-build/docs/
|
# @see https://cloud.google.com/cloud-build/docs/
|
||||||
module CloudbuildV1alpha2
|
module CloudbuildV1alpha2
|
||||||
VERSION = 'V1alpha2'
|
VERSION = 'V1alpha2'
|
||||||
REVISION = '20200626'
|
REVISION = '20200720'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/dialogflow/
|
# @see https://cloud.google.com/dialogflow/
|
||||||
module DialogflowV2
|
module DialogflowV2
|
||||||
VERSION = 'V2'
|
VERSION = 'V2'
|
||||||
REVISION = '20200627'
|
REVISION = '20200719'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -778,8 +778,7 @@ module Google
|
||||||
# understand. You design and build a Dialogflow agent to handle the types of
|
# understand. You design and build a Dialogflow agent to handle the types of
|
||||||
# conversations required for your system.
|
# conversations required for your system.
|
||||||
# For more information about agents, see the
|
# For more information about agents, see the
|
||||||
# [Agents
|
# [Agent guide](https://cloud.google.com/dialogflow/docs/agents-overview).
|
||||||
# documentation](https://cloud.google.com/dialogflow/docs/agents-overview).
|
|
||||||
class GoogleCloudDialogflowV2Agent
|
class GoogleCloudDialogflowV2Agent
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -1203,7 +1202,19 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Represents a context.
|
# Dialogflow contexts are similar to natural language context. If a person says
|
||||||
|
# to you "they are orange", you need context in order to understand what "they"
|
||||||
|
# is referring to. Similarly, for Dialogflow to handle an end-user expression
|
||||||
|
# like that, it needs to be provided with context in order to correctly match
|
||||||
|
# an intent.
|
||||||
|
# Using contexts, you can control the flow of a conversation. You can configure
|
||||||
|
# contexts for an intent by setting input and output contexts, which are
|
||||||
|
# identified by string names. When an intent is matched, any configured output
|
||||||
|
# contexts for that intent become active. While any contexts are active,
|
||||||
|
# Dialogflow is more likely to match intents that are configured with input
|
||||||
|
# contexts that correspond to the currently active contexts.
|
||||||
|
# For more information about context, see the
|
||||||
|
# [Contexts guide](https://cloud.google.com/dialogflow/docs/contexts-overview).
|
||||||
class GoogleCloudDialogflowV2Context
|
class GoogleCloudDialogflowV2Context
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -1261,7 +1272,7 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Represents a notification sent to Cloud Pub/Sub subscribers for conversation
|
# Represents a notification sent to Pub/Sub subscribers for conversation
|
||||||
# lifecycle events.
|
# lifecycle events.
|
||||||
class GoogleCloudDialogflowV2ConversationEvent
|
class GoogleCloudDialogflowV2ConversationEvent
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -1422,9 +1433,16 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Represents an entity type.
|
# Each intent parameter has a type, called the entity type, which dictates
|
||||||
# Entity types serve as a tool for extracting parameter values from natural
|
# exactly how data from an end-user expression is extracted.
|
||||||
# language queries.
|
# Dialogflow provides predefined system entities that can match many common
|
||||||
|
# types of data. For example, there are system entities for matching dates,
|
||||||
|
# times, colors, email addresses, and so on. You can also create your own
|
||||||
|
# custom entities for matching custom data. For example, you could define a
|
||||||
|
# vegetable entity that can match the types of vegetables available for
|
||||||
|
# purchase with a grocery store agent.
|
||||||
|
# For more information, see the
|
||||||
|
# [Entity guide](https://cloud.google.com/dialogflow/docs/entities-overview).
|
||||||
class GoogleCloudDialogflowV2EntityType
|
class GoogleCloudDialogflowV2EntityType
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -1533,7 +1551,20 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Represents an agent environment.
|
# You can create multiple versions of your agent and publish them to separate
|
||||||
|
# environments.
|
||||||
|
# When you edit an agent, you are editing the draft agent. At any point, you
|
||||||
|
# can save the draft agent as an agent version, which is an immutable snapshot
|
||||||
|
# of your agent.
|
||||||
|
# When you save the draft agent, it is published to the default environment.
|
||||||
|
# When you create agent versions, you can publish them to custom environments.
|
||||||
|
# You can create a variety of custom environments for:
|
||||||
|
# - testing
|
||||||
|
# - development
|
||||||
|
# - production
|
||||||
|
# - etc.
|
||||||
|
# For more information, see the [versions and environments
|
||||||
|
# guide](https://cloud.google.com/dialogflow/docs/agents-versions).
|
||||||
class GoogleCloudDialogflowV2Environment
|
class GoogleCloudDialogflowV2Environment
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -1683,7 +1714,15 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Represents a fulfillment.
|
# By default, your agent responds to a matched intent with a static response.
|
||||||
|
# As an alternative, you can provide a more dynamic response by using
|
||||||
|
# fulfillment. When you enable fulfillment for an intent, Dialogflow responds
|
||||||
|
# to that intent by calling a service that you define. For example, if an
|
||||||
|
# end-user wants to schedule a haircut on Friday, your service can check your
|
||||||
|
# database and respond to the end-user with availability information for
|
||||||
|
# Friday.
|
||||||
|
# For more information, see the [fulfillment
|
||||||
|
# guide](https://cloud.google.com/dialogflow/docs/fulfillment-overview).
|
||||||
class GoogleCloudDialogflowV2Fulfillment
|
class GoogleCloudDialogflowV2Fulfillment
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -1943,9 +1982,14 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Represents an intent.
|
# An intent categorizes an end-user's intention for one conversation turn. For
|
||||||
# Intents convert a number of user expressions or patterns into an action. An
|
# each agent, you define many intents, where your combined intents can handle a
|
||||||
# action is an extraction of a user command or sentence semantics.
|
# complete conversation. When an end-user writes or says something, referred to
|
||||||
|
# as an end-user expression or end-user input, Dialogflow matches the end-user
|
||||||
|
# input to the best intent in your agent. Matching an intent is also known as
|
||||||
|
# intent classification.
|
||||||
|
# For more information, see the [intent
|
||||||
|
# guide](https://cloud.google.com/dialogflow/docs/intents-overview).
|
||||||
class GoogleCloudDialogflowV2Intent
|
class GoogleCloudDialogflowV2Intent
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -3672,9 +3716,14 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :fulfillment_text
|
attr_accessor :fulfillment_text
|
||||||
|
|
||||||
# Represents an intent.
|
# An intent categorizes an end-user's intention for one conversation turn. For
|
||||||
# Intents convert a number of user expressions or patterns into an action. An
|
# each agent, you define many intents, where your combined intents can handle a
|
||||||
# action is an extraction of a user command or sentence semantics.
|
# complete conversation. When an end-user writes or says something, referred to
|
||||||
|
# as an end-user expression or end-user input, Dialogflow matches the end-user
|
||||||
|
# input to the best intent in your agent. Matching an intent is also known as
|
||||||
|
# intent classification.
|
||||||
|
# For more information, see the [intent
|
||||||
|
# guide](https://cloud.google.com/dialogflow/docs/intents-overview).
|
||||||
# Corresponds to the JSON property `intent`
|
# Corresponds to the JSON property `intent`
|
||||||
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Intent]
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Intent]
|
||||||
attr_accessor :intent
|
attr_accessor :intent
|
||||||
|
@ -3931,11 +3980,13 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Represents a session entity type.
|
# A session represents a conversation between a Dialogflow agent and an
|
||||||
# Extends or replaces a custom entity type at the user session level (we
|
# end-user. You can create special entities, called session entities, during a
|
||||||
# refer to the entity types defined at the agent level as "custom entity
|
# session. Session entities can extend or replace custom entity types and only
|
||||||
# types").
|
# exist during the session that they were created for. All session data,
|
||||||
# Note: session entity types apply to all queries, regardless of the language.
|
# including session entities, is stored by Dialogflow for 20 minutes.
|
||||||
|
# For more information, see the [session entity
|
||||||
|
# guide](https://cloud.google.com/dialogflow/docs/entities-session).
|
||||||
class GoogleCloudDialogflowV2SessionEntityType
|
class GoogleCloudDialogflowV2SessionEntityType
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -4413,6 +4464,37 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Response message for [Documents.AutoApproveSmartMessagingEntries].
|
||||||
|
class GoogleCloudDialogflowV2beta1AutoApproveSmartMessagingEntriesResponse
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Number of smart messaging entries disabled.
|
||||||
|
# Corresponds to the JSON property `disabledCount`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :disabled_count
|
||||||
|
|
||||||
|
# Number of smart messaging entries enabled.
|
||||||
|
# Corresponds to the JSON property `enabledCount`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :enabled_count
|
||||||
|
|
||||||
|
# Number of smart messaging entries unreviewed.
|
||||||
|
# Corresponds to the JSON property `unreviewedCount`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :unreviewed_count
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@disabled_count = args[:disabled_count] if args.key?(:disabled_count)
|
||||||
|
@enabled_count = args[:enabled_count] if args.key?(:enabled_count)
|
||||||
|
@unreviewed_count = args[:unreviewed_count] if args.key?(:unreviewed_count)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# The response message for EntityTypes.BatchUpdateEntityTypes.
|
# The response message for EntityTypes.BatchUpdateEntityTypes.
|
||||||
class GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse
|
class GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -4451,7 +4533,19 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Represents a context.
|
# Dialogflow contexts are similar to natural language context. If a person says
|
||||||
|
# to you "they are orange", you need context in order to understand what "they"
|
||||||
|
# is referring to. Similarly, for Dialogflow to handle an end-user expression
|
||||||
|
# like that, it needs to be provided with context in order to correctly match
|
||||||
|
# an intent.
|
||||||
|
# Using contexts, you can control the flow of a conversation. You can configure
|
||||||
|
# contexts for an intent by setting input and output contexts, which are
|
||||||
|
# identified by string names. When an intent is matched, any configured output
|
||||||
|
# contexts for that intent become active. While any contexts are active,
|
||||||
|
# Dialogflow is more likely to match intents that are configured with input
|
||||||
|
# contexts that correspond to the currently active contexts.
|
||||||
|
# For more information about context, see the
|
||||||
|
# [Contexts guide](https://cloud.google.com/dialogflow/docs/contexts-overview).
|
||||||
class GoogleCloudDialogflowV2beta1Context
|
class GoogleCloudDialogflowV2beta1Context
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -4509,9 +4603,16 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Represents an entity type.
|
# Each intent parameter has a type, called the entity type, which dictates
|
||||||
# Entity types serve as a tool for extracting parameter values from natural
|
# exactly how data from an end-user expression is extracted.
|
||||||
# language queries.
|
# Dialogflow provides predefined system entities that can match many common
|
||||||
|
# types of data. For example, there are system entities for matching dates,
|
||||||
|
# times, colors, email addresses, and so on. You can also create your own
|
||||||
|
# custom entities for matching custom data. For example, you could define a
|
||||||
|
# vegetable entity that can match the types of vegetables available for
|
||||||
|
# purchase with a grocery store agent.
|
||||||
|
# For more information, see the
|
||||||
|
# [Entity guide](https://cloud.google.com/dialogflow/docs/entities-overview).
|
||||||
class GoogleCloudDialogflowV2beta1EntityType
|
class GoogleCloudDialogflowV2beta1EntityType
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -4678,9 +4779,14 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Represents an intent.
|
# An intent categorizes an end-user's intention for one conversation turn. For
|
||||||
# Intents convert a number of user expressions or patterns into an action. An
|
# each agent, you define many intents, where your combined intents can handle a
|
||||||
# action is an extraction of a user command or sentence semantics.
|
# complete conversation. When an end-user writes or says something, referred to
|
||||||
|
# as an end-user expression or end-user input, Dialogflow matches the end-user
|
||||||
|
# input to the best intent in your agent. Matching an intent is also known as
|
||||||
|
# intent classification.
|
||||||
|
# For more information, see the [intent
|
||||||
|
# guide](https://cloud.google.com/dialogflow/docs/intents-overview).
|
||||||
class GoogleCloudDialogflowV2beta1Intent
|
class GoogleCloudDialogflowV2beta1Intent
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -6654,9 +6760,14 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :fulfillment_text
|
attr_accessor :fulfillment_text
|
||||||
|
|
||||||
# Represents an intent.
|
# An intent categorizes an end-user's intention for one conversation turn. For
|
||||||
# Intents convert a number of user expressions or patterns into an action. An
|
# each agent, you define many intents, where your combined intents can handle a
|
||||||
# action is an extraction of a user command or sentence semantics.
|
# complete conversation. When an end-user writes or says something, referred to
|
||||||
|
# as an end-user expression or end-user input, Dialogflow matches the end-user
|
||||||
|
# input to the best intent in your agent. Matching an intent is also known as
|
||||||
|
# intent classification.
|
||||||
|
# For more information, see the [intent
|
||||||
|
# guide](https://cloud.google.com/dialogflow/docs/intents-overview).
|
||||||
# Corresponds to the JSON property `intent`
|
# Corresponds to the JSON property `intent`
|
||||||
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1Intent]
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1Intent]
|
||||||
attr_accessor :intent
|
attr_accessor :intent
|
||||||
|
@ -6843,11 +6954,13 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Represents a session entity type.
|
# A session represents a conversation between a Dialogflow agent and an
|
||||||
# Extends or replaces a custom entity type at the user session level (we
|
# end-user. You can create special entities, called session entities, during a
|
||||||
# refer to the entity types defined at the agent level as "custom entity
|
# session. Session entities can extend or replace custom entity types and only
|
||||||
# types").
|
# exist during the session that they were created for. All session data,
|
||||||
# Note: session entity types apply to all queries, regardless of the language.
|
# including session entities, is stored by Dialogflow for 20 minutes.
|
||||||
|
# For more information, see the [session entity
|
||||||
|
# guide](https://cloud.google.com/dialogflow/docs/entities-session).
|
||||||
class GoogleCloudDialogflowV2beta1SessionEntityType
|
class GoogleCloudDialogflowV2beta1SessionEntityType
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
|
|
@ -682,6 +682,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GoogleCloudDialogflowV2beta1AutoApproveSmartMessagingEntriesResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse
|
class GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -2244,6 +2250,15 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GoogleCloudDialogflowV2beta1AutoApproveSmartMessagingEntriesResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :disabled_count, as: 'disabledCount'
|
||||||
|
property :enabled_count, as: 'enabledCount'
|
||||||
|
property :unreviewed_count, as: 'unreviewedCount'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse
|
class GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
|
@ -926,6 +926,8 @@ module Google
|
||||||
# `User Id`. They can be a random number or some type of user and session
|
# `User Id`. They can be a random number or some type of user and session
|
||||||
# identifiers (preferably hashed). The length of the `Session ID` and
|
# identifiers (preferably hashed). The length of the `Session ID` and
|
||||||
# `User ID` must not exceed 36 characters.
|
# `User ID` must not exceed 36 characters.
|
||||||
|
# For more information, see the [API interactions
|
||||||
|
# guide](https://cloud.google.com/dialogflow/docs/api-overview).
|
||||||
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DetectIntentRequest] google_cloud_dialogflow_v2_detect_intent_request_object
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DetectIntentRequest] google_cloud_dialogflow_v2_detect_intent_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -1705,6 +1707,8 @@ module Google
|
||||||
# `User Id`. They can be a random number or some type of user and session
|
# `User Id`. They can be a random number or some type of user and session
|
||||||
# identifiers (preferably hashed). The length of the `Session ID` and
|
# identifiers (preferably hashed). The length of the `Session ID` and
|
||||||
# `User ID` must not exceed 36 characters.
|
# `User ID` must not exceed 36 characters.
|
||||||
|
# For more information, see the [API interactions
|
||||||
|
# guide](https://cloud.google.com/dialogflow/docs/api-overview).
|
||||||
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DetectIntentRequest] google_cloud_dialogflow_v2_detect_intent_request_object
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DetectIntentRequest] google_cloud_dialogflow_v2_detect_intent_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/dialogflow/
|
# @see https://cloud.google.com/dialogflow/
|
||||||
module DialogflowV2beta1
|
module DialogflowV2beta1
|
||||||
VERSION = 'V2beta1'
|
VERSION = 'V2beta1'
|
||||||
REVISION = '20200706'
|
REVISION = '20200719'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -854,7 +854,19 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Represents a context.
|
# Dialogflow contexts are similar to natural language context. If a person says
|
||||||
|
# to you "they are orange", you need context in order to understand what "they"
|
||||||
|
# is referring to. Similarly, for Dialogflow to handle an end-user expression
|
||||||
|
# like that, it needs to be provided with context in order to correctly match
|
||||||
|
# an intent.
|
||||||
|
# Using contexts, you can control the flow of a conversation. You can configure
|
||||||
|
# contexts for an intent by setting input and output contexts, which are
|
||||||
|
# identified by string names. When an intent is matched, any configured output
|
||||||
|
# contexts for that intent become active. While any contexts are active,
|
||||||
|
# Dialogflow is more likely to match intents that are configured with input
|
||||||
|
# contexts that correspond to the currently active contexts.
|
||||||
|
# For more information about context, see the
|
||||||
|
# [Contexts guide](https://cloud.google.com/dialogflow/docs/contexts-overview).
|
||||||
class GoogleCloudDialogflowV2Context
|
class GoogleCloudDialogflowV2Context
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -912,7 +924,7 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Represents a notification sent to Cloud Pub/Sub subscribers for conversation
|
# Represents a notification sent to Pub/Sub subscribers for conversation
|
||||||
# lifecycle events.
|
# lifecycle events.
|
||||||
class GoogleCloudDialogflowV2ConversationEvent
|
class GoogleCloudDialogflowV2ConversationEvent
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -957,9 +969,16 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Represents an entity type.
|
# Each intent parameter has a type, called the entity type, which dictates
|
||||||
# Entity types serve as a tool for extracting parameter values from natural
|
# exactly how data from an end-user expression is extracted.
|
||||||
# language queries.
|
# Dialogflow provides predefined system entities that can match many common
|
||||||
|
# types of data. For example, there are system entities for matching dates,
|
||||||
|
# times, colors, email addresses, and so on. You can also create your own
|
||||||
|
# custom entities for matching custom data. For example, you could define a
|
||||||
|
# vegetable entity that can match the types of vegetables available for
|
||||||
|
# purchase with a grocery store agent.
|
||||||
|
# For more information, see the
|
||||||
|
# [Entity guide](https://cloud.google.com/dialogflow/docs/entities-overview).
|
||||||
class GoogleCloudDialogflowV2EntityType
|
class GoogleCloudDialogflowV2EntityType
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -1126,9 +1145,14 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Represents an intent.
|
# An intent categorizes an end-user's intention for one conversation turn. For
|
||||||
# Intents convert a number of user expressions or patterns into an action. An
|
# each agent, you define many intents, where your combined intents can handle a
|
||||||
# action is an extraction of a user command or sentence semantics.
|
# complete conversation. When an end-user writes or says something, referred to
|
||||||
|
# as an end-user expression or end-user input, Dialogflow matches the end-user
|
||||||
|
# input to the best intent in your agent. Matching an intent is also known as
|
||||||
|
# intent classification.
|
||||||
|
# For more information, see the [intent
|
||||||
|
# guide](https://cloud.google.com/dialogflow/docs/intents-overview).
|
||||||
class GoogleCloudDialogflowV2Intent
|
class GoogleCloudDialogflowV2Intent
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -2554,9 +2578,14 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :fulfillment_text
|
attr_accessor :fulfillment_text
|
||||||
|
|
||||||
# Represents an intent.
|
# An intent categorizes an end-user's intention for one conversation turn. For
|
||||||
# Intents convert a number of user expressions or patterns into an action. An
|
# each agent, you define many intents, where your combined intents can handle a
|
||||||
# action is an extraction of a user command or sentence semantics.
|
# complete conversation. When an end-user writes or says something, referred to
|
||||||
|
# as an end-user expression or end-user input, Dialogflow matches the end-user
|
||||||
|
# input to the best intent in your agent. Matching an intent is also known as
|
||||||
|
# intent classification.
|
||||||
|
# For more information, see the [intent
|
||||||
|
# guide](https://cloud.google.com/dialogflow/docs/intents-overview).
|
||||||
# Corresponds to the JSON property `intent`
|
# Corresponds to the JSON property `intent`
|
||||||
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2Intent]
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2Intent]
|
||||||
attr_accessor :intent
|
attr_accessor :intent
|
||||||
|
@ -2737,11 +2766,13 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Represents a session entity type.
|
# A session represents a conversation between a Dialogflow agent and an
|
||||||
# Extends or replaces a custom entity type at the user session level (we
|
# end-user. You can create special entities, called session entities, during a
|
||||||
# refer to the entity types defined at the agent level as "custom entity
|
# session. Session entities can extend or replace custom entity types and only
|
||||||
# types").
|
# exist during the session that they were created for. All session data,
|
||||||
# Note: session entity types apply to all queries, regardless of the language.
|
# including session entities, is stored by Dialogflow for 20 minutes.
|
||||||
|
# For more information, see the [session entity
|
||||||
|
# guide](https://cloud.google.com/dialogflow/docs/entities-session).
|
||||||
class GoogleCloudDialogflowV2SessionEntityType
|
class GoogleCloudDialogflowV2SessionEntityType
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -2919,7 +2950,14 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Represents a conversational agent.
|
# A Dialogflow agent is a virtual agent that handles conversations with your
|
||||||
|
# end-users. It is a natural language understanding module that understands the
|
||||||
|
# nuances of human language. Dialogflow translates end-user text or audio
|
||||||
|
# during a conversation to structured data that your apps and services can
|
||||||
|
# understand. You design and build a Dialogflow agent to handle the types of
|
||||||
|
# conversations required for your system.
|
||||||
|
# For more information about agents, see the
|
||||||
|
# [Agent guide](https://cloud.google.com/dialogflow/docs/agents-overview).
|
||||||
class GoogleCloudDialogflowV2beta1Agent
|
class GoogleCloudDialogflowV2beta1Agent
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -3094,6 +3132,37 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Response message for [Documents.AutoApproveSmartMessagingEntries].
|
||||||
|
class GoogleCloudDialogflowV2beta1AutoApproveSmartMessagingEntriesResponse
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Number of smart messaging entries disabled.
|
||||||
|
# Corresponds to the JSON property `disabledCount`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :disabled_count
|
||||||
|
|
||||||
|
# Number of smart messaging entries enabled.
|
||||||
|
# Corresponds to the JSON property `enabledCount`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :enabled_count
|
||||||
|
|
||||||
|
# Number of smart messaging entries unreviewed.
|
||||||
|
# Corresponds to the JSON property `unreviewedCount`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :unreviewed_count
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@disabled_count = args[:disabled_count] if args.key?(:disabled_count)
|
||||||
|
@enabled_count = args[:enabled_count] if args.key?(:enabled_count)
|
||||||
|
@unreviewed_count = args[:unreviewed_count] if args.key?(:unreviewed_count)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# The request message for EntityTypes.BatchCreateEntities.
|
# The request message for EntityTypes.BatchCreateEntities.
|
||||||
class GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest
|
class GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -3365,7 +3434,19 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Represents a context.
|
# Dialogflow contexts are similar to natural language context. If a person says
|
||||||
|
# to you "they are orange", you need context in order to understand what "they"
|
||||||
|
# is referring to. Similarly, for Dialogflow to handle an end-user expression
|
||||||
|
# like that, it needs to be provided with context in order to correctly match
|
||||||
|
# an intent.
|
||||||
|
# Using contexts, you can control the flow of a conversation. You can configure
|
||||||
|
# contexts for an intent by setting input and output contexts, which are
|
||||||
|
# identified by string names. When an intent is matched, any configured output
|
||||||
|
# contexts for that intent become active. While any contexts are active,
|
||||||
|
# Dialogflow is more likely to match intents that are configured with input
|
||||||
|
# contexts that correspond to the currently active contexts.
|
||||||
|
# For more information about context, see the
|
||||||
|
# [Contexts guide](https://cloud.google.com/dialogflow/docs/contexts-overview).
|
||||||
class GoogleCloudDialogflowV2beta1Context
|
class GoogleCloudDialogflowV2beta1Context
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -3552,7 +3633,9 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# A document resource.
|
# A knowledge document to be used by a KnowledgeBase.
|
||||||
|
# For more information, see the [knowledge base
|
||||||
|
# guide](https://cloud.google.com/dialogflow/docs/how/knowledge-bases).
|
||||||
# Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
|
# Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
|
||||||
# only use `projects.knowledgeBases.documents`.
|
# only use `projects.knowledgeBases.documents`.
|
||||||
class GoogleCloudDialogflowV2beta1Document
|
class GoogleCloudDialogflowV2beta1Document
|
||||||
|
@ -3681,9 +3764,16 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Represents an entity type.
|
# Each intent parameter has a type, called the entity type, which dictates
|
||||||
# Entity types serve as a tool for extracting parameter values from natural
|
# exactly how data from an end-user expression is extracted.
|
||||||
# language queries.
|
# Dialogflow provides predefined system entities that can match many common
|
||||||
|
# types of data. For example, there are system entities for matching dates,
|
||||||
|
# times, colors, email addresses, and so on. You can also create your own
|
||||||
|
# custom entities for matching custom data. For example, you could define a
|
||||||
|
# vegetable entity that can match the types of vegetables available for
|
||||||
|
# purchase with a grocery store agent.
|
||||||
|
# For more information, see the
|
||||||
|
# [Entity guide](https://cloud.google.com/dialogflow/docs/entities-overview).
|
||||||
class GoogleCloudDialogflowV2beta1EntityType
|
class GoogleCloudDialogflowV2beta1EntityType
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -3792,7 +3882,20 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Represents an agent environment.
|
# You can create multiple versions of your agent and publish them to separate
|
||||||
|
# environments.
|
||||||
|
# When you edit an agent, you are editing the draft agent. At any point, you
|
||||||
|
# can save the draft agent as an agent version, which is an immutable snapshot
|
||||||
|
# of your agent.
|
||||||
|
# When you save the draft agent, it is published to the default environment.
|
||||||
|
# When you create agent versions, you can publish them to custom environments.
|
||||||
|
# You can create a variety of custom environments for:
|
||||||
|
# - testing
|
||||||
|
# - development
|
||||||
|
# - production
|
||||||
|
# - etc.
|
||||||
|
# For more information, see the [versions and environments
|
||||||
|
# guide](https://cloud.google.com/dialogflow/docs/agents-versions).
|
||||||
class GoogleCloudDialogflowV2beta1Environment
|
class GoogleCloudDialogflowV2beta1Environment
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -3945,7 +4048,15 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Represents a fulfillment.
|
# By default, your agent responds to a matched intent with a static response.
|
||||||
|
# As an alternative, you can provide a more dynamic response by using
|
||||||
|
# fulfillment. When you enable fulfillment for an intent, Dialogflow responds
|
||||||
|
# to that intent by calling a service that you define. For example, if an
|
||||||
|
# end-user wants to schedule a haircut on Friday, your service can check your
|
||||||
|
# database and respond to the end-user with availability information for
|
||||||
|
# Friday.
|
||||||
|
# For more information, see the [fulfillment
|
||||||
|
# guide](https://cloud.google.com/dialogflow/docs/fulfillment-overview).
|
||||||
class GoogleCloudDialogflowV2beta1Fulfillment
|
class GoogleCloudDialogflowV2beta1Fulfillment
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -4227,9 +4338,14 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Represents an intent.
|
# An intent categorizes an end-user's intention for one conversation turn. For
|
||||||
# Intents convert a number of user expressions or patterns into an action. An
|
# each agent, you define many intents, where your combined intents can handle a
|
||||||
# action is an extraction of a user command or sentence semantics.
|
# complete conversation. When an end-user writes or says something, referred to
|
||||||
|
# as an end-user expression or end-user input, Dialogflow matches the end-user
|
||||||
|
# input to the best intent in your agent. Matching an intent is also known as
|
||||||
|
# intent classification.
|
||||||
|
# For more information, see the [intent
|
||||||
|
# guide](https://cloud.google.com/dialogflow/docs/intents-overview).
|
||||||
class GoogleCloudDialogflowV2beta1Intent
|
class GoogleCloudDialogflowV2beta1Intent
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -6093,7 +6209,12 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Represents knowledge base resource.
|
# A knowledge base represents a collection of knowledge documents that you
|
||||||
|
# provide to Dialogflow. Your knowledge documents contain information that may
|
||||||
|
# be useful during conversations with end-users. Some Dialogflow features use
|
||||||
|
# knowledge bases when looking for a response to an end-user input.
|
||||||
|
# For more information, see the [knowledge base
|
||||||
|
# guide](https://cloud.google.com/dialogflow/docs/how/knowledge-bases).
|
||||||
# Note: The `projects.agent.knowledgeBases` resource is deprecated;
|
# Note: The `projects.agent.knowledgeBases` resource is deprecated;
|
||||||
# only use `projects.knowledgeBases`.
|
# only use `projects.knowledgeBases`.
|
||||||
class GoogleCloudDialogflowV2beta1KnowledgeBase
|
class GoogleCloudDialogflowV2beta1KnowledgeBase
|
||||||
|
@ -6624,9 +6745,14 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :fulfillment_text
|
attr_accessor :fulfillment_text
|
||||||
|
|
||||||
# Represents an intent.
|
# An intent categorizes an end-user's intention for one conversation turn. For
|
||||||
# Intents convert a number of user expressions or patterns into an action. An
|
# each agent, you define many intents, where your combined intents can handle a
|
||||||
# action is an extraction of a user command or sentence semantics.
|
# complete conversation. When an end-user writes or says something, referred to
|
||||||
|
# as an end-user expression or end-user input, Dialogflow matches the end-user
|
||||||
|
# input to the best intent in your agent. Matching an intent is also known as
|
||||||
|
# intent classification.
|
||||||
|
# For more information, see the [intent
|
||||||
|
# guide](https://cloud.google.com/dialogflow/docs/intents-overview).
|
||||||
# Corresponds to the JSON property `intent`
|
# Corresponds to the JSON property `intent`
|
||||||
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent]
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent]
|
||||||
attr_accessor :intent
|
attr_accessor :intent
|
||||||
|
@ -6908,11 +7034,13 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Represents a session entity type.
|
# A session represents a conversation between a Dialogflow agent and an
|
||||||
# Extends or replaces a custom entity type at the user session level (we
|
# end-user. You can create special entities, called session entities, during a
|
||||||
# refer to the entity types defined at the agent level as "custom entity
|
# session. Session entities can extend or replace custom entity types and only
|
||||||
# types").
|
# exist during the session that they were created for. All session data,
|
||||||
# Note: session entity types apply to all queries, regardless of the language.
|
# including session entities, is stored by Dialogflow for 20 minutes.
|
||||||
|
# For more information, see the [session entity
|
||||||
|
# guide](https://cloud.google.com/dialogflow/docs/entities-session).
|
||||||
class GoogleCloudDialogflowV2beta1SessionEntityType
|
class GoogleCloudDialogflowV2beta1SessionEntityType
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
|
|
@ -466,6 +466,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GoogleCloudDialogflowV2beta1AutoApproveSmartMessagingEntriesResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest
|
class GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -1943,6 +1949,15 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GoogleCloudDialogflowV2beta1AutoApproveSmartMessagingEntriesResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :disabled_count, as: 'disabledCount'
|
||||||
|
property :enabled_count, as: 'enabledCount'
|
||||||
|
property :unreviewed_count, as: 'unreviewedCount'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest
|
class GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
|
@ -928,6 +928,8 @@ module Google
|
||||||
# `User Id`. They can be a random number or some type of user and session
|
# `User Id`. They can be a random number or some type of user and session
|
||||||
# identifiers (preferably hashed). The length of the `Session ID` and
|
# identifiers (preferably hashed). The length of the `Session ID` and
|
||||||
# `User ID` must not exceed 36 characters.
|
# `User ID` must not exceed 36 characters.
|
||||||
|
# For more information, see the [API interactions
|
||||||
|
# guide](https://cloud.google.com/dialogflow/docs/api-overview).
|
||||||
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest] google_cloud_dialogflow_v2beta1_detect_intent_request_object
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest] google_cloud_dialogflow_v2beta1_detect_intent_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -2119,6 +2121,8 @@ module Google
|
||||||
# `User Id`. They can be a random number or some type of user and session
|
# `User Id`. They can be a random number or some type of user and session
|
||||||
# identifiers (preferably hashed). The length of the `Session ID` and
|
# identifiers (preferably hashed). The length of the `Session ID` and
|
||||||
# `User ID` must not exceed 36 characters.
|
# `User ID` must not exceed 36 characters.
|
||||||
|
# For more information, see the [API interactions
|
||||||
|
# guide](https://cloud.google.com/dialogflow/docs/api-overview).
|
||||||
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest] google_cloud_dialogflow_v2beta1_detect_intent_request_object
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest] google_cloud_dialogflow_v2beta1_detect_intent_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -3815,6 +3819,8 @@ module Google
|
||||||
# `User Id`. They can be a random number or some type of user and session
|
# `User Id`. They can be a random number or some type of user and session
|
||||||
# identifiers (preferably hashed). The length of the `Session ID` and
|
# identifiers (preferably hashed). The length of the `Session ID` and
|
||||||
# `User ID` must not exceed 36 characters.
|
# `User ID` must not exceed 36 characters.
|
||||||
|
# For more information, see the [API interactions
|
||||||
|
# guide](https://cloud.google.com/dialogflow/docs/api-overview).
|
||||||
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest] google_cloud_dialogflow_v2beta1_detect_intent_request_object
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest] google_cloud_dialogflow_v2beta1_detect_intent_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -4591,6 +4597,8 @@ module Google
|
||||||
# `User Id`. They can be a random number or some type of user and session
|
# `User Id`. They can be a random number or some type of user and session
|
||||||
# identifiers (preferably hashed). The length of the `Session ID` and
|
# identifiers (preferably hashed). The length of the `Session ID` and
|
||||||
# `User ID` must not exceed 36 characters.
|
# `User ID` must not exceed 36 characters.
|
||||||
|
# For more information, see the [API interactions
|
||||||
|
# guide](https://cloud.google.com/dialogflow/docs/api-overview).
|
||||||
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest] google_cloud_dialogflow_v2beta1_detect_intent_request_object
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest] google_cloud_dialogflow_v2beta1_detect_intent_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://firebase.google.com/docs/cloud-messaging
|
# @see https://firebase.google.com/docs/cloud-messaging
|
||||||
module FcmV1
|
module FcmV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20200622'
|
REVISION = '20200720'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -22,27 +22,27 @@ module Google
|
||||||
module Apis
|
module Apis
|
||||||
module FcmV1
|
module FcmV1
|
||||||
|
|
||||||
# Android specific options for messages sent through
|
# Android specific options for messages sent through [FCM connection server](
|
||||||
# [FCM connection server](https://goo.gl/4GLdUl).
|
# https://goo.gl/4GLdUl).
|
||||||
class AndroidConfig
|
class AndroidConfig
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# An identifier of a group of messages that can be collapsed, so that only
|
# An identifier of a group of messages that can be collapsed, so that only the
|
||||||
# the last message gets sent when delivery can be resumed. A maximum of 4
|
# last message gets sent when delivery can be resumed. A maximum of 4 different
|
||||||
# different collapse keys is allowed at any given time.
|
# collapse keys is allowed at any given time.
|
||||||
# Corresponds to the JSON property `collapseKey`
|
# Corresponds to the JSON property `collapseKey`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :collapse_key
|
attr_accessor :collapse_key
|
||||||
|
|
||||||
# Arbitrary key/value payload. If present, it will override
|
# Arbitrary key/value payload. If present, it will override google.firebase.fcm.
|
||||||
# google.firebase.fcm.v1.Message.data.
|
# v1.Message.data.
|
||||||
# Corresponds to the JSON property `data`
|
# Corresponds to the JSON property `data`
|
||||||
# @return [Hash<String,String>]
|
# @return [Hash<String,String>]
|
||||||
attr_accessor :data
|
attr_accessor :data
|
||||||
|
|
||||||
# If set to true, messages will be allowed to be delivered to the app while
|
# If set to true, messages will be allowed to be delivered to the app while the
|
||||||
# the device is in direct boot mode. See [Support Direct Boot
|
# device is in direct boot mode. See [Support Direct Boot mode](https://
|
||||||
# mode](https://developer.android.com/training/articles/direct-boot).
|
# developer.android.com/training/articles/direct-boot).
|
||||||
# Corresponds to the JSON property `directBootOk`
|
# Corresponds to the JSON property `directBootOk`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :direct_boot_ok
|
attr_accessor :direct_boot_ok
|
||||||
|
@ -58,9 +58,8 @@ module Google
|
||||||
# @return [Google::Apis::FcmV1::AndroidNotification]
|
# @return [Google::Apis::FcmV1::AndroidNotification]
|
||||||
attr_accessor :notification
|
attr_accessor :notification
|
||||||
|
|
||||||
# Message priority. Can take "normal" and "high" values.
|
# Message priority. Can take "normal" and "high" values. For more information,
|
||||||
# For more information, see [Setting the priority of a
|
# see [Setting the priority of a message](https://goo.gl/GjONJv).
|
||||||
# message](https://goo.gl/GjONJv).
|
|
||||||
# Corresponds to the JSON property `priority`
|
# Corresponds to the JSON property `priority`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :priority
|
attr_accessor :priority
|
||||||
|
@ -71,17 +70,16 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :restricted_package_name
|
attr_accessor :restricted_package_name
|
||||||
|
|
||||||
# How long (in seconds) the message should be kept in FCM storage if the
|
# How long (in seconds) the message should be kept in FCM storage if the device
|
||||||
# device is offline. The maximum time to live supported is 4 weeks, and the
|
# is offline. The maximum time to live supported is 4 weeks, and the default
|
||||||
# default value is 4 weeks if not set. Set it to 0 if want to send the
|
# value is 4 weeks if not set. Set it to 0 if want to send the message
|
||||||
# message immediately.
|
# immediately. In JSON format, the Duration type is encoded as a string rather
|
||||||
# In JSON format, the Duration type is encoded as a string rather than an
|
# than an object, where the string ends in the suffix "s" (indicating seconds)
|
||||||
# object, where the string ends in the suffix "s" (indicating seconds) and
|
# and is preceded by the number of seconds, with nanoseconds expressed as
|
||||||
# is preceded by the number of seconds, with nanoseconds expressed as
|
|
||||||
# fractional seconds. For example, 3 seconds with 0 nanoseconds should be
|
# fractional seconds. For example, 3 seconds with 0 nanoseconds should be
|
||||||
# encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should
|
# encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should be
|
||||||
# be expressed in JSON format as "3.000000001s". The ttl will be rounded down
|
# expressed in JSON format as "3.000000001s". The ttl will be rounded down to
|
||||||
# to the nearest second.
|
# the nearest second.
|
||||||
# Corresponds to the JSON property `ttl`
|
# Corresponds to the JSON property `ttl`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :ttl
|
attr_accessor :ttl
|
||||||
|
@ -126,42 +124,40 @@ module Google
|
||||||
class AndroidNotification
|
class AndroidNotification
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# The notification's body text. If present, it will override
|
# The notification's body text. If present, it will override google.firebase.fcm.
|
||||||
# google.firebase.fcm.v1.Notification.body.
|
# v1.Notification.body.
|
||||||
# Corresponds to the JSON property `body`
|
# Corresponds to the JSON property `body`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :body
|
attr_accessor :body
|
||||||
|
|
||||||
# Variable string values to be used in place of the format specifiers in
|
# Variable string values to be used in place of the format specifiers in
|
||||||
# body_loc_key to use to localize the body text to the user's current
|
# body_loc_key to use to localize the body text to the user's current
|
||||||
# localization.
|
# localization. See [Formatting and Styling](https://goo.gl/MalYE3) for more
|
||||||
# See [Formatting and Styling](https://goo.gl/MalYE3) for more information.
|
# information.
|
||||||
# Corresponds to the JSON property `bodyLocArgs`
|
# Corresponds to the JSON property `bodyLocArgs`
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
attr_accessor :body_loc_args
|
attr_accessor :body_loc_args
|
||||||
|
|
||||||
# The key to the body string in the app's string resources to use to localize
|
# The key to the body string in the app's string resources to use to localize
|
||||||
# the body text to the user's current localization.
|
# the body text to the user's current localization. See [String Resources](https:
|
||||||
# See [String Resources](https://goo.gl/NdFZGI) for more information.
|
# //goo.gl/NdFZGI) for more information.
|
||||||
# Corresponds to the JSON property `bodyLocKey`
|
# Corresponds to the JSON property `bodyLocKey`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :body_loc_key
|
attr_accessor :body_loc_key
|
||||||
|
|
||||||
# The [notification's channel
|
# The [notification's channel id](https://developer.android.com/guide/topics/ui/
|
||||||
# id](https://developer.android.com/guide/topics/ui/notifiers/notifications#
|
# notifiers/notifications#ManageChannels) (new in Android O). The app must
|
||||||
# ManageChannels)
|
# create a channel with this channel ID before any notification with this
|
||||||
# (new in Android O). The app must create a channel with this channel ID
|
# channel ID is received. If you don't send this channel ID in the request, or
|
||||||
# before any notification with this channel ID is received. If you don't send
|
# if the channel ID provided has not yet been created by the app, FCM uses the
|
||||||
# this channel ID in the request, or if the channel ID provided has not yet
|
# channel ID specified in the app manifest.
|
||||||
# been created by the app, FCM uses the channel ID specified in the app
|
|
||||||
# manifest.
|
|
||||||
# Corresponds to the JSON property `channelId`
|
# Corresponds to the JSON property `channelId`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :channel_id
|
attr_accessor :channel_id
|
||||||
|
|
||||||
# The action associated with a user click on the notification.
|
# The action associated with a user click on the notification. If specified, an
|
||||||
# If specified, an activity with a matching intent filter is launched when
|
# activity with a matching intent filter is launched when a user clicks on the
|
||||||
# a user clicks on the notification.
|
# notification.
|
||||||
# Corresponds to the JSON property `clickAction`
|
# Corresponds to the JSON property `clickAction`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :click_action
|
attr_accessor :click_action
|
||||||
|
@ -171,58 +167,52 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :color
|
attr_accessor :color
|
||||||
|
|
||||||
# If set to true, use the Android framework's default LED light settings for
|
# If set to true, use the Android framework's default LED light settings for the
|
||||||
# the notification. Default values are specified in
|
# notification. Default values are specified in [config.xml](https://android.
|
||||||
# [config.xml](https://android.googlesource.com/platform/frameworks/base/+/
|
# googlesource.com/platform/frameworks/base/+/master/core/res/res/values/config.
|
||||||
# master/core/res/res/values/config.xml).
|
# xml). If `default_light_settings` is set to true and `light_settings` is also
|
||||||
# If `default_light_settings` is set to true and `light_settings` is also
|
# set, the user-specified `light_settings` is used instead of the default value.
|
||||||
# set, the user-specified `light_settings` is used instead of the
|
|
||||||
# default value.
|
|
||||||
# Corresponds to the JSON property `defaultLightSettings`
|
# Corresponds to the JSON property `defaultLightSettings`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :default_light_settings
|
attr_accessor :default_light_settings
|
||||||
alias_method :default_light_settings?, :default_light_settings
|
alias_method :default_light_settings?, :default_light_settings
|
||||||
|
|
||||||
# If set to true, use the Android framework's default sound for the
|
# If set to true, use the Android framework's default sound for the notification.
|
||||||
# notification. Default values are specified in
|
# Default values are specified in [config.xml](https://android.googlesource.com/
|
||||||
# [config.xml](https://android.googlesource.com/platform/frameworks/base/+/
|
# platform/frameworks/base/+/master/core/res/res/values/config.xml).
|
||||||
# master/core/res/res/values/config.xml).
|
|
||||||
# Corresponds to the JSON property `defaultSound`
|
# Corresponds to the JSON property `defaultSound`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :default_sound
|
attr_accessor :default_sound
|
||||||
alias_method :default_sound?, :default_sound
|
alias_method :default_sound?, :default_sound
|
||||||
|
|
||||||
# If set to true, use the Android framework's default vibrate pattern for the
|
# If set to true, use the Android framework's default vibrate pattern for the
|
||||||
# notification. Default values are specified in
|
# notification. Default values are specified in [config.xml](https://android.
|
||||||
# [config.xml](https://android.googlesource.com/platform/frameworks/base/+/
|
# googlesource.com/platform/frameworks/base/+/master/core/res/res/values/config.
|
||||||
# master/core/res/res/values/config.xml).
|
# xml). If `default_vibrate_timings` is set to true and `vibrate_timings` is
|
||||||
# If `default_vibrate_timings` is set to true and `vibrate_timings` is also
|
# also set, the default value is used instead of the user-specified `
|
||||||
# set, the default value is used instead of the user-specified
|
# vibrate_timings`.
|
||||||
# `vibrate_timings`.
|
|
||||||
# Corresponds to the JSON property `defaultVibrateTimings`
|
# Corresponds to the JSON property `defaultVibrateTimings`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :default_vibrate_timings
|
attr_accessor :default_vibrate_timings
|
||||||
alias_method :default_vibrate_timings?, :default_vibrate_timings
|
alias_method :default_vibrate_timings?, :default_vibrate_timings
|
||||||
|
|
||||||
# Set the time that the event in the notification occurred. Notifications in
|
# Set the time that the event in the notification occurred. Notifications in the
|
||||||
# the panel are sorted by this time. A point in time is represented using
|
# panel are sorted by this time. A point in time is represented using [protobuf.
|
||||||
# [protobuf.Timestamp](https://developers.google.com/protocol-buffers/docs/
|
# Timestamp](https://developers.google.com/protocol-buffers/docs/reference/java/
|
||||||
# reference/java/com/google/protobuf/Timestamp).
|
# com/google/protobuf/Timestamp).
|
||||||
# Corresponds to the JSON property `eventTime`
|
# Corresponds to the JSON property `eventTime`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :event_time
|
attr_accessor :event_time
|
||||||
|
|
||||||
# The notification's icon.
|
# The notification's icon. Sets the notification icon to myicon for drawable
|
||||||
# Sets the notification icon to myicon for drawable resource myicon.
|
# resource myicon. If you don't send this key in the request, FCM displays the
|
||||||
# If you don't send this key in the request, FCM displays the launcher icon
|
# launcher icon specified in your app manifest.
|
||||||
# specified in your app manifest.
|
|
||||||
# Corresponds to the JSON property `icon`
|
# Corresponds to the JSON property `icon`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :icon
|
attr_accessor :icon
|
||||||
|
|
||||||
# Contains the URL of an image that is going to be displayed in a
|
# Contains the URL of an image that is going to be displayed in a notification.
|
||||||
# notification. If present, it will override
|
# If present, it will override google.firebase.fcm.v1.Notification.image.
|
||||||
# google.firebase.fcm.v1.Notification.image.
|
|
||||||
# Corresponds to the JSON property `image`
|
# Corresponds to the JSON property `image`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :image
|
attr_accessor :image
|
||||||
|
@ -232,114 +222,107 @@ module Google
|
||||||
# @return [Google::Apis::FcmV1::LightSettings]
|
# @return [Google::Apis::FcmV1::LightSettings]
|
||||||
attr_accessor :light_settings
|
attr_accessor :light_settings
|
||||||
|
|
||||||
# Set whether or not this notification is relevant only to the current
|
# Set whether or not this notification is relevant only to the current device.
|
||||||
# device. Some notifications can be bridged to other devices for remote
|
# Some notifications can be bridged to other devices for remote display, such as
|
||||||
# display, such as a Wear OS watch. This hint can be set to recommend this
|
# a Wear OS watch. This hint can be set to recommend this notification not be
|
||||||
# notification not be bridged. See [Wear OS
|
# bridged. See [Wear OS guides](https://developer.android.com/training/wearables/
|
||||||
# guides](https://developer.android.com/training/wearables/notifications/bridger#
|
# notifications/bridger#existing-method-of-preventing-bridging)
|
||||||
# existing-method-of-preventing-bridging)
|
|
||||||
# Corresponds to the JSON property `localOnly`
|
# Corresponds to the JSON property `localOnly`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :local_only
|
attr_accessor :local_only
|
||||||
alias_method :local_only?, :local_only
|
alias_method :local_only?, :local_only
|
||||||
|
|
||||||
# Sets the number of items this notification represents. May be displayed as
|
# Sets the number of items this notification represents. May be displayed as a
|
||||||
# a badge count for launchers that support badging.See [Notification
|
# badge count for launchers that support badging.See [Notification Badge](https:/
|
||||||
# Badge](https://developer.android.com/training/notify-user/badges).
|
# /developer.android.com/training/notify-user/badges). For example, this might
|
||||||
# For example, this might be useful if you're using just one notification to
|
# be useful if you're using just one notification to represent multiple new
|
||||||
# represent multiple new messages but you want the count here to represent
|
# messages but you want the count here to represent the number of total new
|
||||||
# the number of total new messages.
|
# messages. If zero or unspecified, systems that support badging use the default,
|
||||||
# If zero or unspecified, systems that support badging use the default, which
|
# which is to increment a number displayed on the long-press menu each time a
|
||||||
# is to increment a number displayed on the long-press menu each time a new
|
# new notification arrives.
|
||||||
# notification arrives.
|
|
||||||
# Corresponds to the JSON property `notificationCount`
|
# Corresponds to the JSON property `notificationCount`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :notification_count
|
attr_accessor :notification_count
|
||||||
|
|
||||||
# Set the relative priority for this notification. Priority is an indication
|
# Set the relative priority for this notification. Priority is an indication of
|
||||||
# of how much of the user's attention should be consumed by this
|
# how much of the user's attention should be consumed by this notification. Low-
|
||||||
# notification. Low-priority notifications may be hidden from the user in
|
# priority notifications may be hidden from the user in certain situations,
|
||||||
# certain situations, while the user might be interrupted for a
|
# while the user might be interrupted for a higher-priority notification. The
|
||||||
# higher-priority notification. The effect of setting the same priorities may
|
# effect of setting the same priorities may differ slightly on different
|
||||||
# differ slightly on different platforms. Note this priority differs from
|
# platforms. Note this priority differs from `AndroidMessagePriority`. This
|
||||||
# `AndroidMessagePriority`. This priority is processed by the client after
|
# priority is processed by the client after the message has been delivered,
|
||||||
# the message has been delivered, whereas
|
# whereas [AndroidMessagePriority](https://firebase.google.com/docs/reference/
|
||||||
# [AndroidMessagePriority](https://firebase.google.com/docs/reference/fcm/rest/
|
# fcm/rest/v1/projects.messages#androidmessagepriority) is an FCM concept that
|
||||||
# v1/projects.messages#androidmessagepriority)
|
# controls when the message is delivered.
|
||||||
# is an FCM concept that controls when the message is delivered.
|
|
||||||
# Corresponds to the JSON property `notificationPriority`
|
# Corresponds to the JSON property `notificationPriority`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :notification_priority
|
attr_accessor :notification_priority
|
||||||
|
|
||||||
# The sound to play when the device receives the notification.
|
# The sound to play when the device receives the notification. Supports "default"
|
||||||
# Supports "default" or the filename of a sound resource bundled in the app.
|
# or the filename of a sound resource bundled in the app. Sound files must
|
||||||
# Sound files must reside in /res/raw/.
|
# reside in /res/raw/.
|
||||||
# Corresponds to the JSON property `sound`
|
# Corresponds to the JSON property `sound`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :sound
|
attr_accessor :sound
|
||||||
|
|
||||||
# When set to false or unset, the notification is automatically
|
# When set to false or unset, the notification is automatically dismissed when
|
||||||
# dismissed when the user clicks it in the panel. When set to true, the
|
# the user clicks it in the panel. When set to true, the notification persists
|
||||||
# notification persists even when the user clicks it.
|
# even when the user clicks it.
|
||||||
# Corresponds to the JSON property `sticky`
|
# Corresponds to the JSON property `sticky`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :sticky
|
attr_accessor :sticky
|
||||||
alias_method :sticky?, :sticky
|
alias_method :sticky?, :sticky
|
||||||
|
|
||||||
# Identifier used to replace existing notifications in the notification
|
# Identifier used to replace existing notifications in the notification drawer.
|
||||||
# drawer.
|
# If not specified, each request creates a new notification. If specified and a
|
||||||
# If not specified, each request creates a new notification.
|
# notification with the same tag is already being shown, the new notification
|
||||||
# If specified and a notification with the same tag is already being shown,
|
# replaces the existing one in the notification drawer.
|
||||||
# the new notification replaces the existing one in the notification drawer.
|
|
||||||
# Corresponds to the JSON property `tag`
|
# Corresponds to the JSON property `tag`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :tag
|
attr_accessor :tag
|
||||||
|
|
||||||
# Sets the "ticker" text, which is sent to accessibility services.
|
# Sets the "ticker" text, which is sent to accessibility services. Prior to API
|
||||||
# Prior to API level 21 (`Lollipop`), sets the text that is displayed in the
|
# level 21 (`Lollipop`), sets the text that is displayed in the status bar when
|
||||||
# status bar when the notification first arrives.
|
# the notification first arrives.
|
||||||
# Corresponds to the JSON property `ticker`
|
# Corresponds to the JSON property `ticker`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :ticker
|
attr_accessor :ticker
|
||||||
|
|
||||||
# The notification's title. If present, it will override
|
# The notification's title. If present, it will override google.firebase.fcm.v1.
|
||||||
# google.firebase.fcm.v1.Notification.title.
|
# Notification.title.
|
||||||
# Corresponds to the JSON property `title`
|
# Corresponds to the JSON property `title`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :title
|
attr_accessor :title
|
||||||
|
|
||||||
# Variable string values to be used in place of the format specifiers in
|
# Variable string values to be used in place of the format specifiers in
|
||||||
# title_loc_key to use to localize the title text to the user's current
|
# title_loc_key to use to localize the title text to the user's current
|
||||||
# localization.
|
# localization. See [Formatting and Styling](https://goo.gl/MalYE3) for more
|
||||||
# See [Formatting and Styling](https://goo.gl/MalYE3) for more information.
|
# information.
|
||||||
# Corresponds to the JSON property `titleLocArgs`
|
# Corresponds to the JSON property `titleLocArgs`
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
attr_accessor :title_loc_args
|
attr_accessor :title_loc_args
|
||||||
|
|
||||||
# The key to the title string in the app's string resources to use to
|
# The key to the title string in the app's string resources to use to localize
|
||||||
# localize the title text to the user's current localization.
|
# the title text to the user's current localization. See [String Resources](
|
||||||
# See [String Resources](https://goo.gl/NdFZGI) for more information.
|
# https://goo.gl/NdFZGI) for more information.
|
||||||
# Corresponds to the JSON property `titleLocKey`
|
# Corresponds to the JSON property `titleLocKey`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :title_loc_key
|
attr_accessor :title_loc_key
|
||||||
|
|
||||||
# Set the vibration pattern to use. Pass in an array of
|
# Set the vibration pattern to use. Pass in an array of [protobuf.Duration](
|
||||||
# [protobuf.Duration](https://developers.google.com/protocol-buffers/docs/
|
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
||||||
# reference/google.protobuf#google.protobuf.Duration)
|
# google.protobuf.Duration) to turn on or off the vibrator. The first value
|
||||||
# to turn on or off the vibrator. The first value indicates the `Duration` to
|
# indicates the `Duration` to wait before turning the vibrator on. The next
|
||||||
# wait before turning the vibrator on. The next value indicates the
|
# value indicates the `Duration` to keep the vibrator on. Subsequent values
|
||||||
# `Duration` to keep the vibrator on. Subsequent values alternate between
|
# alternate between `Duration` to turn the vibrator off and to turn the vibrator
|
||||||
# `Duration` to turn the vibrator off and to turn the vibrator on.
|
# on. If `vibrate_timings` is set and `default_vibrate_timings` is set to `true`,
|
||||||
# If `vibrate_timings` is set and `default_vibrate_timings` is set to `true`,
|
|
||||||
# the default value is used instead of the user-specified `vibrate_timings`.
|
# the default value is used instead of the user-specified `vibrate_timings`.
|
||||||
# Corresponds to the JSON property `vibrateTimings`
|
# Corresponds to the JSON property `vibrateTimings`
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
attr_accessor :vibrate_timings
|
attr_accessor :vibrate_timings
|
||||||
|
|
||||||
# Set the
|
# Set the [Notification.visibility](https://developer.android.com/reference/
|
||||||
# [Notification.visibility](https://developer.android.com/reference/android/app/
|
# android/app/Notification.html#visibility) of the notification.
|
||||||
# Notification.html#visibility)
|
|
||||||
# of the notification.
|
|
||||||
# Corresponds to the JSON property `visibility`
|
# Corresponds to the JSON property `visibility`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :visibility
|
attr_accessor :visibility
|
||||||
|
@ -387,21 +370,20 @@ module Google
|
||||||
# @return [Google::Apis::FcmV1::ApnsFcmOptions]
|
# @return [Google::Apis::FcmV1::ApnsFcmOptions]
|
||||||
attr_accessor :fcm_options
|
attr_accessor :fcm_options
|
||||||
|
|
||||||
# HTTP request headers defined in Apple Push Notification Service. Refer to
|
# HTTP request headers defined in Apple Push Notification Service. Refer to [
|
||||||
# [APNs request
|
# APNs request headers](https://developer.apple.com/documentation/
|
||||||
# headers](https://developer.apple.com/documentation/usernotifications/
|
# usernotifications/setting_up_a_remote_notification_server/
|
||||||
# setting_up_a_remote_notification_server/sending_notification_requests_to_apns)
|
# sending_notification_requests_to_apns) for supported headers, e.g. "apns-
|
||||||
# for supported headers, e.g. "apns-priority": "10".
|
# priority": "10".
|
||||||
# Corresponds to the JSON property `headers`
|
# Corresponds to the JSON property `headers`
|
||||||
# @return [Hash<String,String>]
|
# @return [Hash<String,String>]
|
||||||
attr_accessor :headers
|
attr_accessor :headers
|
||||||
|
|
||||||
# APNs payload as a JSON object, including both `aps` dictionary and custom
|
# APNs payload as a JSON object, including both `aps` dictionary and custom
|
||||||
# payload. See [Payload Key
|
# payload. See [Payload Key Reference](https://developer.apple.com/documentation/
|
||||||
# Reference](https://developer.apple.com/documentation/usernotifications/
|
# usernotifications/setting_up_a_remote_notification_server/
|
||||||
# setting_up_a_remote_notification_server/generating_a_remote_notification).
|
# generating_a_remote_notification). If present, it overrides google.firebase.
|
||||||
# If present, it overrides google.firebase.fcm.v1.Notification.title
|
# fcm.v1.Notification.title and google.firebase.fcm.v1.Notification.body.
|
||||||
# and google.firebase.fcm.v1.Notification.body.
|
|
||||||
# Corresponds to the JSON property `payload`
|
# Corresponds to the JSON property `payload`
|
||||||
# @return [Hash<String,Object>]
|
# @return [Hash<String,Object>]
|
||||||
attr_accessor :payload
|
attr_accessor :payload
|
||||||
|
@ -427,9 +409,8 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :analytics_label
|
attr_accessor :analytics_label
|
||||||
|
|
||||||
# Contains the URL of an image that is going to be displayed in a
|
# Contains the URL of an image that is going to be displayed in a notification.
|
||||||
# notification. If present, it will override
|
# If present, it will override google.firebase.fcm.v1.Notification.image.
|
||||||
# google.firebase.fcm.v1.Notification.image.
|
|
||||||
# Corresponds to the JSON property `image`
|
# Corresponds to the JSON property `image`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :image
|
attr_accessor :image
|
||||||
|
@ -447,122 +428,61 @@ module Google
|
||||||
|
|
||||||
# Represents a color in the RGBA color space. This representation is designed
|
# Represents a color in the RGBA color space. This representation is designed
|
||||||
# for simplicity of conversion to/from color representations in various
|
# for simplicity of conversion to/from color representations in various
|
||||||
# languages over compactness; for example, the fields of this representation
|
# languages over compactness; for example, the fields of this representation can
|
||||||
# can be trivially provided to the constructor of "java.awt.Color" in Java; it
|
# be trivially provided to the constructor of "java.awt.Color" in Java; it can
|
||||||
# can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha"
|
# also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha"
|
||||||
# method in iOS; and, with just a little work, it can be easily formatted into
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
||||||
# a CSS "rgba()" string in JavaScript, as well.
|
# CSS "rgba()" string in JavaScript, as well. Note: this proto does not carry
|
||||||
# Note: this proto does not carry information about the absolute color space
|
# information about the absolute color space that should be used to interpret
|
||||||
# that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB,
|
# the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
|
||||||
# DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color
|
# applications SHOULD assume the sRGB color space. Note: when color equality
|
||||||
# space.
|
# needs to be decided, implementations, unless documented otherwise, will treat
|
||||||
# Note: when color equality needs to be decided, implementations, unless
|
# two colors to be equal if all their red, green, blue and alpha values each
|
||||||
# documented otherwise, will treat two colors to be equal if all their red,
|
# differ by at most 1e-5. Example (Java): import com.google.type.Color; // ...
|
||||||
# green, blue and alpha values each differ by at most 1e-5.
|
# public static java.awt.Color fromProto(Color protocolor) ` float alpha =
|
||||||
# Example (Java):
|
# protocolor.hasAlpha() ? protocolor.getAlpha().getValue() : 1.0; return new
|
||||||
# import com.google.type.Color;
|
# java.awt.Color( protocolor.getRed(), protocolor.getGreen(), protocolor.getBlue(
|
||||||
# // ...
|
# ), alpha); ` public static Color toProto(java.awt.Color color) ` float red = (
|
||||||
# public static java.awt.Color fromProto(Color protocolor) `
|
# float) color.getRed(); float green = (float) color.getGreen(); float blue = (
|
||||||
# float alpha = protocolor.hasAlpha()
|
# float) color.getBlue(); float denominator = 255.0; Color.Builder resultBuilder
|
||||||
# ? protocolor.getAlpha().getValue()
|
# = Color .newBuilder() .setRed(red / denominator) .setGreen(green / denominator)
|
||||||
# : 1.0;
|
# .setBlue(blue / denominator); int alpha = color.getAlpha(); if (alpha != 255)
|
||||||
# return new java.awt.Color(
|
# ` result.setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) /
|
||||||
# protocolor.getRed(),
|
# denominator) .build()); ` return resultBuilder.build(); ` // ... Example (iOS /
|
||||||
# protocolor.getGreen(),
|
# Obj-C): // ... static UIColor* fromProto(Color* protocolor) ` float red = [
|
||||||
# protocolor.getBlue(),
|
# protocolor red]; float green = [protocolor green]; float blue = [protocolor
|
||||||
# alpha);
|
# blue]; FloatValue* alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (
|
||||||
# `
|
# alpha_wrapper != nil) ` alpha = [alpha_wrapper value]; ` return [UIColor
|
||||||
# public static Color toProto(java.awt.Color color) `
|
# colorWithRed:red green:green blue:blue alpha:alpha]; ` static Color* toProto(
|
||||||
# float red = (float) color.getRed();
|
# UIColor* color) ` CGFloat red, green, blue, alpha; if (![color getRed:&red
|
||||||
# float green = (float) color.getGreen();
|
# green:&green blue:&blue alpha:&alpha]) ` return nil; ` Color* result = [[Color
|
||||||
# float blue = (float) color.getBlue();
|
# alloc] init]; [result setRed:red]; [result setGreen:green]; [result setBlue:
|
||||||
# float denominator = 255.0;
|
# blue]; if (alpha <= 0.9999) ` [result setAlpha:floatWrapperWithValue(alpha)]; `
|
||||||
# Color.Builder resultBuilder =
|
# [result autorelease]; return result; ` // ... Example (JavaScript): // ...
|
||||||
# Color
|
# var protoToCssColor = function(rgb_color) ` var redFrac = rgb_color.red || 0.0;
|
||||||
# .newBuilder()
|
# var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0;
|
||||||
# .setRed(red / denominator)
|
# var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255);
|
||||||
# .setGreen(green / denominator)
|
# var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) ` return
|
||||||
# .setBlue(blue / denominator);
|
# rgbToCssColor_(red, green, blue); ` var alphaFrac = rgb_color.alpha.value || 0.
|
||||||
# int alpha = color.getAlpha();
|
# 0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',
|
||||||
# if (alpha != 255) `
|
# ', alphaFrac, ')'].join(''); `; var rgbToCssColor_ = function(red, green, blue)
|
||||||
# result.setAlpha(
|
# ` var rgbNumber = new Number((red << 16) | (green << 8) | blue); var
|
||||||
# FloatValue
|
# hexString = rgbNumber.toString(16); var missingZeros = 6 - hexString.length;
|
||||||
# .newBuilder()
|
# var resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) `
|
||||||
# .setValue(((float) alpha) / denominator)
|
# resultBuilder.push('0'); ` resultBuilder.push(hexString); return resultBuilder.
|
||||||
# .build());
|
# join(''); `; // ...
|
||||||
# `
|
|
||||||
# return resultBuilder.build();
|
|
||||||
# `
|
|
||||||
# // ...
|
|
||||||
# Example (iOS / Obj-C):
|
|
||||||
# // ...
|
|
||||||
# static UIColor* fromProto(Color* protocolor) `
|
|
||||||
# float red = [protocolor red];
|
|
||||||
# float green = [protocolor green];
|
|
||||||
# float blue = [protocolor blue];
|
|
||||||
# FloatValue* alpha_wrapper = [protocolor alpha];
|
|
||||||
# float alpha = 1.0;
|
|
||||||
# if (alpha_wrapper != nil) `
|
|
||||||
# alpha = [alpha_wrapper value];
|
|
||||||
# `
|
|
||||||
# return [UIColor colorWithRed:red green:green blue:blue alpha:alpha];
|
|
||||||
# `
|
|
||||||
# static Color* toProto(UIColor* color) `
|
|
||||||
# CGFloat red, green, blue, alpha;
|
|
||||||
# if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) `
|
|
||||||
# return nil;
|
|
||||||
# `
|
|
||||||
# Color* result = [[Color alloc] init];
|
|
||||||
# [result setRed:red];
|
|
||||||
# [result setGreen:green];
|
|
||||||
# [result setBlue:blue];
|
|
||||||
# if (alpha <= 0.9999) `
|
|
||||||
# [result setAlpha:floatWrapperWithValue(alpha)];
|
|
||||||
# `
|
|
||||||
# [result autorelease];
|
|
||||||
# return result;
|
|
||||||
# `
|
|
||||||
# // ...
|
|
||||||
# Example (JavaScript):
|
|
||||||
# // ...
|
|
||||||
# var protoToCssColor = function(rgb_color) `
|
|
||||||
# var redFrac = rgb_color.red || 0.0;
|
|
||||||
# var greenFrac = rgb_color.green || 0.0;
|
|
||||||
# var blueFrac = rgb_color.blue || 0.0;
|
|
||||||
# var red = Math.floor(redFrac * 255);
|
|
||||||
# var green = Math.floor(greenFrac * 255);
|
|
||||||
# var blue = Math.floor(blueFrac * 255);
|
|
||||||
# if (!('alpha' in rgb_color)) `
|
|
||||||
# return rgbToCssColor_(red, green, blue);
|
|
||||||
# `
|
|
||||||
# var alphaFrac = rgb_color.alpha.value || 0.0;
|
|
||||||
# var rgbParams = [red, green, blue].join(',');
|
|
||||||
# return ['rgba(', rgbParams, ',', alphaFrac, ')'].join('');
|
|
||||||
# `;
|
|
||||||
# var rgbToCssColor_ = function(red, green, blue) `
|
|
||||||
# var rgbNumber = new Number((red << 16) | (green << 8) | blue);
|
|
||||||
# var hexString = rgbNumber.toString(16);
|
|
||||||
# var missingZeros = 6 - hexString.length;
|
|
||||||
# var resultBuilder = ['#'];
|
|
||||||
# for (var i = 0; i < missingZeros; i++) `
|
|
||||||
# resultBuilder.push('0');
|
|
||||||
# `
|
|
||||||
# resultBuilder.push(hexString);
|
|
||||||
# return resultBuilder.join('');
|
|
||||||
# `;
|
|
||||||
# // ...
|
|
||||||
class Color
|
class Color
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# The fraction of this color that should be applied to the pixel. That is,
|
# The fraction of this color that should be applied to the pixel. That is, the
|
||||||
# the final pixel color is defined by the equation:
|
# final pixel color is defined by the equation: pixel color = alpha * (this
|
||||||
# pixel color = alpha * (this color) + (1.0 - alpha) * (background color)
|
# color) + (1.0 - alpha) * (background color) This means that a value of 1.0
|
||||||
# This means that a value of 1.0 corresponds to a solid color, whereas
|
# corresponds to a solid color, whereas a value of 0.0 corresponds to a
|
||||||
# a value of 0.0 corresponds to a completely transparent color. This
|
# completely transparent color. This uses a wrapper message rather than a simple
|
||||||
# uses a wrapper message rather than a simple float scalar so that it is
|
# float scalar so that it is possible to distinguish between a default value and
|
||||||
# possible to distinguish between a default value and the value being unset.
|
# the value being unset. If omitted, this color object is to be rendered as a
|
||||||
# If omitted, this color object is to be rendered as a solid color
|
# solid color (as if the alpha value had been explicitly given with a value of 1.
|
||||||
# (as if the alpha value had been explicitly given with a value of 1.0).
|
# 0).
|
||||||
# Corresponds to the JSON property `alpha`
|
# Corresponds to the JSON property `alpha`
|
||||||
# @return [Float]
|
# @return [Float]
|
||||||
attr_accessor :alpha
|
attr_accessor :alpha
|
||||||
|
@ -620,126 +540,63 @@ module Google
|
||||||
|
|
||||||
# Represents a color in the RGBA color space. This representation is designed
|
# Represents a color in the RGBA color space. This representation is designed
|
||||||
# for simplicity of conversion to/from color representations in various
|
# for simplicity of conversion to/from color representations in various
|
||||||
# languages over compactness; for example, the fields of this representation
|
# languages over compactness; for example, the fields of this representation can
|
||||||
# can be trivially provided to the constructor of "java.awt.Color" in Java; it
|
# be trivially provided to the constructor of "java.awt.Color" in Java; it can
|
||||||
# can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha"
|
# also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha"
|
||||||
# method in iOS; and, with just a little work, it can be easily formatted into
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
||||||
# a CSS "rgba()" string in JavaScript, as well.
|
# CSS "rgba()" string in JavaScript, as well. Note: this proto does not carry
|
||||||
# Note: this proto does not carry information about the absolute color space
|
# information about the absolute color space that should be used to interpret
|
||||||
# that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB,
|
# the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
|
||||||
# DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color
|
# applications SHOULD assume the sRGB color space. Note: when color equality
|
||||||
# space.
|
# needs to be decided, implementations, unless documented otherwise, will treat
|
||||||
# Note: when color equality needs to be decided, implementations, unless
|
# two colors to be equal if all their red, green, blue and alpha values each
|
||||||
# documented otherwise, will treat two colors to be equal if all their red,
|
# differ by at most 1e-5. Example (Java): import com.google.type.Color; // ...
|
||||||
# green, blue and alpha values each differ by at most 1e-5.
|
# public static java.awt.Color fromProto(Color protocolor) ` float alpha =
|
||||||
# Example (Java):
|
# protocolor.hasAlpha() ? protocolor.getAlpha().getValue() : 1.0; return new
|
||||||
# import com.google.type.Color;
|
# java.awt.Color( protocolor.getRed(), protocolor.getGreen(), protocolor.getBlue(
|
||||||
# // ...
|
# ), alpha); ` public static Color toProto(java.awt.Color color) ` float red = (
|
||||||
# public static java.awt.Color fromProto(Color protocolor) `
|
# float) color.getRed(); float green = (float) color.getGreen(); float blue = (
|
||||||
# float alpha = protocolor.hasAlpha()
|
# float) color.getBlue(); float denominator = 255.0; Color.Builder resultBuilder
|
||||||
# ? protocolor.getAlpha().getValue()
|
# = Color .newBuilder() .setRed(red / denominator) .setGreen(green / denominator)
|
||||||
# : 1.0;
|
# .setBlue(blue / denominator); int alpha = color.getAlpha(); if (alpha != 255)
|
||||||
# return new java.awt.Color(
|
# ` result.setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) /
|
||||||
# protocolor.getRed(),
|
# denominator) .build()); ` return resultBuilder.build(); ` // ... Example (iOS /
|
||||||
# protocolor.getGreen(),
|
# Obj-C): // ... static UIColor* fromProto(Color* protocolor) ` float red = [
|
||||||
# protocolor.getBlue(),
|
# protocolor red]; float green = [protocolor green]; float blue = [protocolor
|
||||||
# alpha);
|
# blue]; FloatValue* alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (
|
||||||
# `
|
# alpha_wrapper != nil) ` alpha = [alpha_wrapper value]; ` return [UIColor
|
||||||
# public static Color toProto(java.awt.Color color) `
|
# colorWithRed:red green:green blue:blue alpha:alpha]; ` static Color* toProto(
|
||||||
# float red = (float) color.getRed();
|
# UIColor* color) ` CGFloat red, green, blue, alpha; if (![color getRed:&red
|
||||||
# float green = (float) color.getGreen();
|
# green:&green blue:&blue alpha:&alpha]) ` return nil; ` Color* result = [[Color
|
||||||
# float blue = (float) color.getBlue();
|
# alloc] init]; [result setRed:red]; [result setGreen:green]; [result setBlue:
|
||||||
# float denominator = 255.0;
|
# blue]; if (alpha <= 0.9999) ` [result setAlpha:floatWrapperWithValue(alpha)]; `
|
||||||
# Color.Builder resultBuilder =
|
# [result autorelease]; return result; ` // ... Example (JavaScript): // ...
|
||||||
# Color
|
# var protoToCssColor = function(rgb_color) ` var redFrac = rgb_color.red || 0.0;
|
||||||
# .newBuilder()
|
# var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0;
|
||||||
# .setRed(red / denominator)
|
# var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255);
|
||||||
# .setGreen(green / denominator)
|
# var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) ` return
|
||||||
# .setBlue(blue / denominator);
|
# rgbToCssColor_(red, green, blue); ` var alphaFrac = rgb_color.alpha.value || 0.
|
||||||
# int alpha = color.getAlpha();
|
# 0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',
|
||||||
# if (alpha != 255) `
|
# ', alphaFrac, ')'].join(''); `; var rgbToCssColor_ = function(red, green, blue)
|
||||||
# result.setAlpha(
|
# ` var rgbNumber = new Number((red << 16) | (green << 8) | blue); var
|
||||||
# FloatValue
|
# hexString = rgbNumber.toString(16); var missingZeros = 6 - hexString.length;
|
||||||
# .newBuilder()
|
# var resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) `
|
||||||
# .setValue(((float) alpha) / denominator)
|
# resultBuilder.push('0'); ` resultBuilder.push(hexString); return resultBuilder.
|
||||||
# .build());
|
# join(''); `; // ...
|
||||||
# `
|
|
||||||
# return resultBuilder.build();
|
|
||||||
# `
|
|
||||||
# // ...
|
|
||||||
# Example (iOS / Obj-C):
|
|
||||||
# // ...
|
|
||||||
# static UIColor* fromProto(Color* protocolor) `
|
|
||||||
# float red = [protocolor red];
|
|
||||||
# float green = [protocolor green];
|
|
||||||
# float blue = [protocolor blue];
|
|
||||||
# FloatValue* alpha_wrapper = [protocolor alpha];
|
|
||||||
# float alpha = 1.0;
|
|
||||||
# if (alpha_wrapper != nil) `
|
|
||||||
# alpha = [alpha_wrapper value];
|
|
||||||
# `
|
|
||||||
# return [UIColor colorWithRed:red green:green blue:blue alpha:alpha];
|
|
||||||
# `
|
|
||||||
# static Color* toProto(UIColor* color) `
|
|
||||||
# CGFloat red, green, blue, alpha;
|
|
||||||
# if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) `
|
|
||||||
# return nil;
|
|
||||||
# `
|
|
||||||
# Color* result = [[Color alloc] init];
|
|
||||||
# [result setRed:red];
|
|
||||||
# [result setGreen:green];
|
|
||||||
# [result setBlue:blue];
|
|
||||||
# if (alpha <= 0.9999) `
|
|
||||||
# [result setAlpha:floatWrapperWithValue(alpha)];
|
|
||||||
# `
|
|
||||||
# [result autorelease];
|
|
||||||
# return result;
|
|
||||||
# `
|
|
||||||
# // ...
|
|
||||||
# Example (JavaScript):
|
|
||||||
# // ...
|
|
||||||
# var protoToCssColor = function(rgb_color) `
|
|
||||||
# var redFrac = rgb_color.red || 0.0;
|
|
||||||
# var greenFrac = rgb_color.green || 0.0;
|
|
||||||
# var blueFrac = rgb_color.blue || 0.0;
|
|
||||||
# var red = Math.floor(redFrac * 255);
|
|
||||||
# var green = Math.floor(greenFrac * 255);
|
|
||||||
# var blue = Math.floor(blueFrac * 255);
|
|
||||||
# if (!('alpha' in rgb_color)) `
|
|
||||||
# return rgbToCssColor_(red, green, blue);
|
|
||||||
# `
|
|
||||||
# var alphaFrac = rgb_color.alpha.value || 0.0;
|
|
||||||
# var rgbParams = [red, green, blue].join(',');
|
|
||||||
# return ['rgba(', rgbParams, ',', alphaFrac, ')'].join('');
|
|
||||||
# `;
|
|
||||||
# var rgbToCssColor_ = function(red, green, blue) `
|
|
||||||
# var rgbNumber = new Number((red << 16) | (green << 8) | blue);
|
|
||||||
# var hexString = rgbNumber.toString(16);
|
|
||||||
# var missingZeros = 6 - hexString.length;
|
|
||||||
# var resultBuilder = ['#'];
|
|
||||||
# for (var i = 0; i < missingZeros; i++) `
|
|
||||||
# resultBuilder.push('0');
|
|
||||||
# `
|
|
||||||
# resultBuilder.push(hexString);
|
|
||||||
# return resultBuilder.join('');
|
|
||||||
# `;
|
|
||||||
# // ...
|
|
||||||
# Corresponds to the JSON property `color`
|
# Corresponds to the JSON property `color`
|
||||||
# @return [Google::Apis::FcmV1::Color]
|
# @return [Google::Apis::FcmV1::Color]
|
||||||
attr_accessor :color
|
attr_accessor :color
|
||||||
|
|
||||||
# Required. Along with `light_on_duration `, define the blink rate of LED
|
# Required. Along with `light_on_duration `, define the blink rate of LED
|
||||||
# flashes. Resolution defined by
|
# flashes. Resolution defined by [proto.Duration](https://developers.google.com/
|
||||||
# [proto.Duration](https://developers.google.com/protocol-buffers/docs/reference/
|
# protocol-buffers/docs/reference/google.protobuf#google.protobuf.Duration)
|
||||||
# google.protobuf#google.protobuf.Duration)
|
|
||||||
# Corresponds to the JSON property `lightOffDuration`
|
# Corresponds to the JSON property `lightOffDuration`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :light_off_duration
|
attr_accessor :light_off_duration
|
||||||
|
|
||||||
# Required. Along with `light_off_duration`, define the blink rate of LED
|
# Required. Along with `light_off_duration`, define the blink rate of LED
|
||||||
# flashes. Resolution defined by
|
# flashes. Resolution defined by [proto.Duration](https://developers.google.com/
|
||||||
# [proto.Duration](https://developers.google.com/protocol-buffers/docs/reference/
|
# protocol-buffers/docs/reference/google.protobuf#google.protobuf.Duration)
|
||||||
# google.protobuf#google.protobuf.Duration)
|
|
||||||
# Corresponds to the JSON property `lightOnDuration`
|
# Corresponds to the JSON property `lightOnDuration`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :light_on_duration
|
attr_accessor :light_on_duration
|
||||||
|
@ -760,8 +617,8 @@ module Google
|
||||||
class Message
|
class Message
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Android specific options for messages sent through
|
# Android specific options for messages sent through [FCM connection server](
|
||||||
# [FCM connection server](https://goo.gl/4GLdUl).
|
# https://goo.gl/4GLdUl).
|
||||||
# Corresponds to the JSON property `android`
|
# Corresponds to the JSON property `android`
|
||||||
# @return [Google::Apis::FcmV1::AndroidConfig]
|
# @return [Google::Apis::FcmV1::AndroidConfig]
|
||||||
attr_accessor :android
|
attr_accessor :android
|
||||||
|
@ -771,14 +628,13 @@ module Google
|
||||||
# @return [Google::Apis::FcmV1::ApnsConfig]
|
# @return [Google::Apis::FcmV1::ApnsConfig]
|
||||||
attr_accessor :apns
|
attr_accessor :apns
|
||||||
|
|
||||||
# Condition to send a message to,
|
# Condition to send a message to, e.g. "'foo' in topics && 'bar' in topics".
|
||||||
# e.g. "'foo' in topics && 'bar' in topics".
|
|
||||||
# Corresponds to the JSON property `condition`
|
# Corresponds to the JSON property `condition`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :condition
|
attr_accessor :condition
|
||||||
|
|
||||||
# Input only. Arbitrary key/value payload. The key should not be a reserved
|
# Input only. Arbitrary key/value payload. The key should not be a reserved word
|
||||||
# word ("from", "message_type", or any word starting with "google" or "gcm").
|
# ("from", "message_type", or any word starting with "google" or "gcm").
|
||||||
# Corresponds to the JSON property `data`
|
# Corresponds to the JSON property `data`
|
||||||
# @return [Hash<String,String>]
|
# @return [Hash<String,String>]
|
||||||
attr_accessor :data
|
attr_accessor :data
|
||||||
|
@ -788,8 +644,8 @@ module Google
|
||||||
# @return [Google::Apis::FcmV1::FcmOptions]
|
# @return [Google::Apis::FcmV1::FcmOptions]
|
||||||
attr_accessor :fcm_options
|
attr_accessor :fcm_options
|
||||||
|
|
||||||
# Output Only. The identifier of the message sent, in the format of
|
# Output Only. The identifier of the message sent, in the format of `projects/*/
|
||||||
# `projects/*/messages/`message_id``.
|
# messages/`message_id``.
|
||||||
# Corresponds to the JSON property `name`
|
# Corresponds to the JSON property `name`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :name
|
attr_accessor :name
|
||||||
|
@ -804,8 +660,8 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :token
|
attr_accessor :token
|
||||||
|
|
||||||
# Topic name to send a message to, e.g. "weather".
|
# Topic name to send a message to, e.g. "weather". Note: "/topics/" prefix
|
||||||
# Note: "/topics/" prefix should not be provided.
|
# should not be provided.
|
||||||
# Corresponds to the JSON property `topic`
|
# Corresponds to the JSON property `topic`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :topic
|
attr_accessor :topic
|
||||||
|
@ -843,14 +699,12 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :body
|
attr_accessor :body
|
||||||
|
|
||||||
# Contains the URL of an image that is going to be downloaded on the device
|
# Contains the URL of an image that is going to be downloaded on the device and
|
||||||
# and displayed in a notification.
|
# displayed in a notification. JPEG, PNG, BMP have full support across platforms.
|
||||||
# JPEG, PNG, BMP have full support across platforms. Animated GIF and video
|
# Animated GIF and video only work on iOS. WebP and HEIF have varying levels of
|
||||||
# only work on iOS. WebP and HEIF have varying levels of support across
|
# support across platforms and platform versions. Android has 1MB image size
|
||||||
# platforms and platform versions.
|
# limit. Quota usage and implications/costs for hosting image on Firebase
|
||||||
# Android has 1MB image size limit.
|
# Storage: https://firebase.google.com/pricing
|
||||||
# Quota usage and implications/costs for hosting image on Firebase Storage:
|
|
||||||
# https://firebase.google.com/pricing
|
|
||||||
# Corresponds to the JSON property `image`
|
# Corresponds to the JSON property `image`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :image
|
attr_accessor :image
|
||||||
|
@ -902,8 +756,8 @@ module Google
|
||||||
class WebpushConfig
|
class WebpushConfig
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Arbitrary key/value payload. If present, it will override
|
# Arbitrary key/value payload. If present, it will override google.firebase.fcm.
|
||||||
# google.firebase.fcm.v1.Message.data.
|
# v1.Message.data.
|
||||||
# Corresponds to the JSON property `data`
|
# Corresponds to the JSON property `data`
|
||||||
# @return [Hash<String,String>]
|
# @return [Hash<String,String>]
|
||||||
attr_accessor :data
|
attr_accessor :data
|
||||||
|
@ -913,19 +767,17 @@ module Google
|
||||||
# @return [Google::Apis::FcmV1::WebpushFcmOptions]
|
# @return [Google::Apis::FcmV1::WebpushFcmOptions]
|
||||||
attr_accessor :fcm_options
|
attr_accessor :fcm_options
|
||||||
|
|
||||||
# HTTP headers defined in webpush protocol. Refer to
|
# HTTP headers defined in webpush protocol. Refer to [Webpush protocol](https://
|
||||||
# [Webpush protocol](https://tools.ietf.org/html/rfc8030#section-5) for
|
# tools.ietf.org/html/rfc8030#section-5) for supported headers, e.g. "TTL": "15".
|
||||||
# supported headers, e.g. "TTL": "15".
|
|
||||||
# Corresponds to the JSON property `headers`
|
# Corresponds to the JSON property `headers`
|
||||||
# @return [Hash<String,String>]
|
# @return [Hash<String,String>]
|
||||||
attr_accessor :headers
|
attr_accessor :headers
|
||||||
|
|
||||||
# Web Notification options as a JSON object. Supports Notification instance
|
# Web Notification options as a JSON object. Supports Notification instance
|
||||||
# properties as defined in [Web Notification
|
# properties as defined in [Web Notification API](https://developer.mozilla.org/
|
||||||
# API](https://developer.mozilla.org/en-US/docs/Web/API/Notification). If
|
# en-US/docs/Web/API/Notification). If present, "title" and "body" fields
|
||||||
# present, "title" and "body" fields override
|
# override [google.firebase.fcm.v1.Notification.title] and [google.firebase.fcm.
|
||||||
# [google.firebase.fcm.v1.Notification.title] and
|
# v1.Notification.body].
|
||||||
# [google.firebase.fcm.v1.Notification.body].
|
|
||||||
# Corresponds to the JSON property `notification`
|
# Corresponds to the JSON property `notification`
|
||||||
# @return [Hash<String,Object>]
|
# @return [Hash<String,Object>]
|
||||||
attr_accessor :notification
|
attr_accessor :notification
|
||||||
|
@ -952,8 +804,8 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :analytics_label
|
attr_accessor :analytics_label
|
||||||
|
|
||||||
# The link to open when the user clicks on the notification.
|
# The link to open when the user clicks on the notification. For all URL values,
|
||||||
# For all URL values, HTTPS is required.
|
# HTTPS is required.
|
||||||
# Corresponds to the JSON property `link`
|
# Corresponds to the JSON property `link`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :link
|
attr_accessor :link
|
||||||
|
|
|
@ -48,13 +48,12 @@ module Google
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Send a message to specified target (a registration token, topic
|
# Send a message to specified target (a registration token, topic or condition).
|
||||||
# or condition).
|
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# Required. It contains the Firebase project id (i.e. the unique identifier
|
# Required. It contains the Firebase project id (i.e. the unique identifier for
|
||||||
# for your Firebase project), in the format of `projects/`project_id``.
|
# your Firebase project), in the format of `projects/`project_id``. For legacy
|
||||||
# For legacy support, the numeric project number with no padding is also
|
# support, the numeric project number with no padding is also supported in the
|
||||||
# supported in the format of `projects/`project_number``.
|
# format of `projects/`project_number``.
|
||||||
# @param [Google::Apis::FcmV1::SendMessageRequest] send_message_request_object
|
# @param [Google::Apis::FcmV1::SendMessageRequest] send_message_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://firebase.google.com
|
# @see https://firebase.google.com
|
||||||
module FirebaseV1beta1
|
module FirebaseV1beta1
|
||||||
VERSION = 'V1beta1'
|
VERSION = 'V1beta1'
|
||||||
REVISION = '20200616'
|
REVISION = '20200720'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -1106,16 +1106,13 @@ module Google
|
||||||
# with an encoded message of that type. Its use is similar to
|
# with an encoded message of that type. Its use is similar to
|
||||||
# MessageSet, except it represents a single (type, encoded message)
|
# MessageSet, except it represents a single (type, encoded message)
|
||||||
# instead of a set.
|
# instead of a set.
|
||||||
# To fill for known protocol type:
|
# To embed "proto" inside "typed_msg":
|
||||||
# MyProtocolMsg proto;
|
# MyProtoMessage proto;
|
||||||
# TypedMessage typed_msg;
|
# TypedMessage typed_msg;
|
||||||
# typed_msg.set_type_id(MyProtocolMsg::MESSAGE_TYPE_ID);
|
# typed_msg.set_type_id(proto2::bridge::GetTypeId(proto));
|
||||||
# proto.AppendToCord(typed_msg.mutable_message());
|
|
||||||
# To fill for unknown protocol type:
|
|
||||||
# ProtocolMessage proto;
|
|
||||||
# TypedMessage typed_msg;
|
|
||||||
# typed_msg.set_type_id(proto.GetMapper()->type_id());
|
|
||||||
# proto.AppendToCord(typed_msg.mutable_message());
|
# proto.AppendToCord(typed_msg.mutable_message());
|
||||||
|
# Error handling is omitted from the sample code above. GetTypeId() will return
|
||||||
|
# 0 for messages that don't have a TypeId specified.
|
||||||
# Corresponds to the JSON property `payload`
|
# Corresponds to the JSON property `payload`
|
||||||
# @return [Google::Apis::FirebaseV1beta1::TypedMessage]
|
# @return [Google::Apis::FirebaseV1beta1::TypedMessage]
|
||||||
attr_accessor :payload
|
attr_accessor :payload
|
||||||
|
@ -1195,16 +1192,13 @@ module Google
|
||||||
# with an encoded message of that type. Its use is similar to
|
# with an encoded message of that type. Its use is similar to
|
||||||
# MessageSet, except it represents a single (type, encoded message)
|
# MessageSet, except it represents a single (type, encoded message)
|
||||||
# instead of a set.
|
# instead of a set.
|
||||||
# To fill for known protocol type:
|
# To embed "proto" inside "typed_msg":
|
||||||
# MyProtocolMsg proto;
|
# MyProtoMessage proto;
|
||||||
# TypedMessage typed_msg;
|
# TypedMessage typed_msg;
|
||||||
# typed_msg.set_type_id(MyProtocolMsg::MESSAGE_TYPE_ID);
|
# typed_msg.set_type_id(proto2::bridge::GetTypeId(proto));
|
||||||
# proto.AppendToCord(typed_msg.mutable_message());
|
|
||||||
# To fill for unknown protocol type:
|
|
||||||
# ProtocolMessage proto;
|
|
||||||
# TypedMessage typed_msg;
|
|
||||||
# typed_msg.set_type_id(proto.GetMapper()->type_id());
|
|
||||||
# proto.AppendToCord(typed_msg.mutable_message());
|
# proto.AppendToCord(typed_msg.mutable_message());
|
||||||
|
# Error handling is omitted from the sample code above. GetTypeId() will return
|
||||||
|
# 0 for messages that don't have a TypeId specified.
|
||||||
class TypedMessage
|
class TypedMessage
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://developers.google.com/cloud-test-lab/
|
# @see https://developers.google.com/cloud-test-lab/
|
||||||
module TestingV1
|
module TestingV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20200706'
|
REVISION = '20200720'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -887,6 +887,63 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# A single device IP block
|
||||||
|
class DeviceIpBlock
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Represents a whole or partial calendar date, e.g. a birthday. The time of day
|
||||||
|
# and time zone are either specified elsewhere or are not significant. The date
|
||||||
|
# is relative to the Proleptic Gregorian Calendar. This can represent:
|
||||||
|
# * A full date, with non-zero year, month and day values
|
||||||
|
# * A month and day value, with a zero year, e.g. an anniversary
|
||||||
|
# * A year on its own, with zero month and day values
|
||||||
|
# * A year and month value, with a zero day, e.g. a credit card expiration date
|
||||||
|
# Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
|
||||||
|
# Corresponds to the JSON property `addedDate`
|
||||||
|
# @return [Google::Apis::TestingV1::Date]
|
||||||
|
attr_accessor :added_date
|
||||||
|
|
||||||
|
# An IP address block in CIDR notation eg: 34.68.194.64/29
|
||||||
|
# Corresponds to the JSON property `block`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :block
|
||||||
|
|
||||||
|
# Whether this block is used by physical or virtual devices
|
||||||
|
# Corresponds to the JSON property `form`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :form
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@added_date = args[:added_date] if args.key?(:added_date)
|
||||||
|
@block = args[:block] if args.key?(:block)
|
||||||
|
@form = args[:form] if args.key?(:form)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# List of IP blocks used by the Firebase Test Lab
|
||||||
|
class DeviceIpBlockCatalog
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The device IP blocks used by Firebase Test Lab
|
||||||
|
# Corresponds to the JSON property `ipBlocks`
|
||||||
|
# @return [Array<Google::Apis::TestingV1::DeviceIpBlock>]
|
||||||
|
attr_accessor :ip_blocks
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@ip_blocks = args[:ip_blocks] if args.key?(:ip_blocks)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Data about the relative number of devices running a
|
# Data about the relative number of devices running a
|
||||||
# given configuration of the Android platform.
|
# given configuration of the Android platform.
|
||||||
class Distribution
|
class Distribution
|
||||||
|
@ -1980,6 +2037,11 @@ module Google
|
||||||
# @return [Google::Apis::TestingV1::AndroidDeviceCatalog]
|
# @return [Google::Apis::TestingV1::AndroidDeviceCatalog]
|
||||||
attr_accessor :android_device_catalog
|
attr_accessor :android_device_catalog
|
||||||
|
|
||||||
|
# List of IP blocks used by the Firebase Test Lab
|
||||||
|
# Corresponds to the JSON property `deviceIpBlockCatalog`
|
||||||
|
# @return [Google::Apis::TestingV1::DeviceIpBlockCatalog]
|
||||||
|
attr_accessor :device_ip_block_catalog
|
||||||
|
|
||||||
# The currently supported iOS devices.
|
# The currently supported iOS devices.
|
||||||
# Corresponds to the JSON property `iosDeviceCatalog`
|
# Corresponds to the JSON property `iosDeviceCatalog`
|
||||||
# @return [Google::Apis::TestingV1::IosDeviceCatalog]
|
# @return [Google::Apis::TestingV1::IosDeviceCatalog]
|
||||||
|
@ -2002,6 +2064,7 @@ module Google
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@android_device_catalog = args[:android_device_catalog] if args.key?(:android_device_catalog)
|
@android_device_catalog = args[:android_device_catalog] if args.key?(:android_device_catalog)
|
||||||
|
@device_ip_block_catalog = args[:device_ip_block_catalog] if args.key?(:device_ip_block_catalog)
|
||||||
@ios_device_catalog = args[:ios_device_catalog] if args.key?(:ios_device_catalog)
|
@ios_device_catalog = args[:ios_device_catalog] if args.key?(:ios_device_catalog)
|
||||||
@network_configuration_catalog = args[:network_configuration_catalog] if args.key?(:network_configuration_catalog)
|
@network_configuration_catalog = args[:network_configuration_catalog] if args.key?(:network_configuration_catalog)
|
||||||
@software_catalog = args[:software_catalog] if args.key?(:software_catalog)
|
@software_catalog = args[:software_catalog] if args.key?(:software_catalog)
|
||||||
|
|
|
@ -142,6 +142,18 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class DeviceIpBlock
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class DeviceIpBlockCatalog
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class Distribution
|
class Distribution
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -651,6 +663,24 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class DeviceIpBlock
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :added_date, as: 'addedDate', class: Google::Apis::TestingV1::Date, decorator: Google::Apis::TestingV1::Date::Representation
|
||||||
|
|
||||||
|
property :block, as: 'block'
|
||||||
|
property :form, as: 'form'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class DeviceIpBlockCatalog
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :ip_blocks, as: 'ipBlocks', class: Google::Apis::TestingV1::DeviceIpBlock, decorator: Google::Apis::TestingV1::DeviceIpBlock::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class Distribution
|
class Distribution
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -983,6 +1013,8 @@ module Google
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :android_device_catalog, as: 'androidDeviceCatalog', class: Google::Apis::TestingV1::AndroidDeviceCatalog, decorator: Google::Apis::TestingV1::AndroidDeviceCatalog::Representation
|
property :android_device_catalog, as: 'androidDeviceCatalog', class: Google::Apis::TestingV1::AndroidDeviceCatalog, decorator: Google::Apis::TestingV1::AndroidDeviceCatalog::Representation
|
||||||
|
|
||||||
|
property :device_ip_block_catalog, as: 'deviceIpBlockCatalog', class: Google::Apis::TestingV1::DeviceIpBlockCatalog, decorator: Google::Apis::TestingV1::DeviceIpBlockCatalog::Representation
|
||||||
|
|
||||||
property :ios_device_catalog, as: 'iosDeviceCatalog', class: Google::Apis::TestingV1::IosDeviceCatalog, decorator: Google::Apis::TestingV1::IosDeviceCatalog::Representation
|
property :ios_device_catalog, as: 'iosDeviceCatalog', class: Google::Apis::TestingV1::IosDeviceCatalog, decorator: Google::Apis::TestingV1::IosDeviceCatalog::Representation
|
||||||
|
|
||||||
property :network_configuration_catalog, as: 'networkConfigurationCatalog', class: Google::Apis::TestingV1::NetworkConfigurationCatalog, decorator: Google::Apis::TestingV1::NetworkConfigurationCatalog::Representation
|
property :network_configuration_catalog, as: 'networkConfigurationCatalog', class: Google::Apis::TestingV1::NetworkConfigurationCatalog, decorator: Google::Apis::TestingV1::NetworkConfigurationCatalog::Representation
|
||||||
|
|
Loading…
Reference in New Issue