Regen APIs
This commit is contained in:
parent
cf8ca47083
commit
123d118d78
|
@ -1,3 +1,6 @@
|
||||||
|
# 0.10.2
|
||||||
|
* Regenerate APIs
|
||||||
|
|
||||||
# 0.10.1
|
# 0.10.1
|
||||||
* Regenerate APIs
|
* Regenerate APIs
|
||||||
* Add `cloudkms:v1`
|
* Add `cloudkms:v1`
|
||||||
|
|
395
api_names.yaml
395
api_names.yaml
|
@ -37747,3 +37747,398 @@
|
||||||
"/vision:v1/DetectedLanguage": detected_language
|
"/vision:v1/DetectedLanguage": detected_language
|
||||||
"/vision:v1/DetectedLanguage/languageCode": language_code
|
"/vision:v1/DetectedLanguage/languageCode": language_code
|
||||||
"/vision:v1/DetectedLanguage/confidence": confidence
|
"/vision:v1/DetectedLanguage/confidence": confidence
|
||||||
|
"/youtubePartner:v1/youtubePartner.package.insert": insert_package
|
||||||
|
"/youtubePartner:v1/youtubePartner.package.insert/onBehalfOfContentOwner": on_behalf_of_content_owner
|
||||||
|
"/youtubePartner:v1/Package": package
|
||||||
|
"/youtubePartner:v1/Package/content": content
|
||||||
|
"/youtubePartner:v1/Package/id": id
|
||||||
|
"/youtubePartner:v1/Package/kind": kind
|
||||||
|
"/youtubePartner:v1/Package/locale": locale
|
||||||
|
"/youtubePartner:v1/Package/uploaderName": uploader_name
|
||||||
|
"/youtubePartner:v1/PackageInsertResponse": package_insert_response
|
||||||
|
"/youtubePartner:v1/PackageInsertResponse/errors": errors
|
||||||
|
"/youtubePartner:v1/PackageInsertResponse/errors/error": error
|
||||||
|
"/youtubePartner:v1/PackageInsertResponse/kind": kind
|
||||||
|
"/youtubePartner:v1/PackageInsertResponse/resource": resource
|
||||||
|
"/compute:beta/compute.subnetworks.setPrivateIpGoogleAccess": set_subnetwork_private_ip_google_access
|
||||||
|
"/compute:beta/compute.subnetworks.setPrivateIpGoogleAccess/project": project
|
||||||
|
"/compute:beta/compute.subnetworks.setPrivateIpGoogleAccess/region": region
|
||||||
|
"/compute:beta/compute.subnetworks.setPrivateIpGoogleAccess/subnetwork": subnetwork
|
||||||
|
"/compute:beta/Firewall/denied": denied
|
||||||
|
"/compute:beta/Firewall/denied/denied": denied
|
||||||
|
"/compute:beta/Firewall/denied/denied/IPProtocol": ip_protocol
|
||||||
|
"/compute:beta/Firewall/denied/denied/ports": ports
|
||||||
|
"/compute:beta/Firewall/denied/denied/ports/port": port
|
||||||
|
"/compute:beta/Firewall/destinationRanges": destination_ranges
|
||||||
|
"/compute:beta/Firewall/destinationRanges/destination_range": destination_range
|
||||||
|
"/compute:beta/Firewall/direction": direction
|
||||||
|
"/compute:beta/Firewall/priority": priority
|
||||||
|
"/compute:beta/ManagedInstance/version": version
|
||||||
|
"/compute:beta/ManagedInstanceVersion": managed_instance_version
|
||||||
|
"/compute:beta/ManagedInstanceVersion/instanceTemplate": instance_template
|
||||||
|
"/compute:beta/ManagedInstanceVersion/name": name
|
||||||
|
"/compute:beta/SubnetworksSetPrivateIpGoogleAccessRequest": subnetworks_set_private_ip_google_access_request
|
||||||
|
"/compute:beta/SubnetworksSetPrivateIpGoogleAccessRequest/privateIpGoogleAccess": private_ip_google_access
|
||||||
|
"/admin:directory_v1/User/posixAccounts": posix_accounts
|
||||||
|
"/admin:directory_v1/User/sshPublicKeys": ssh_public_keys
|
||||||
|
"/admin:directory_v1/UserPosixAccount": user_posix_account
|
||||||
|
"/admin:directory_v1/UserPosixAccount/gecos": gecos
|
||||||
|
"/admin:directory_v1/UserPosixAccount/gid": gid
|
||||||
|
"/admin:directory_v1/UserPosixAccount/homeDirectory": home_directory
|
||||||
|
"/admin:directory_v1/UserPosixAccount/primary": primary
|
||||||
|
"/admin:directory_v1/UserPosixAccount/shell": shell
|
||||||
|
"/admin:directory_v1/UserPosixAccount/systemId": system_id
|
||||||
|
"/admin:directory_v1/UserPosixAccount/uid": uid
|
||||||
|
"/admin:directory_v1/UserPosixAccount/username": username
|
||||||
|
"/admin:directory_v1/UserSshPublicKey": user_ssh_public_key
|
||||||
|
"/admin:directory_v1/UserSshPublicKey/expirationTimeUsec": expiration_time_usec
|
||||||
|
"/admin:directory_v1/UserSshPublicKey/fingerprint": fingerprint
|
||||||
|
"/admin:directory_v1/UserSshPublicKey/key": key
|
||||||
|
"/analytics:v3/analytics.management.remarketingAudience.delete": delete_management_remarketing_audience
|
||||||
|
"/analytics:v3/analytics.management.remarketingAudience.delete/accountId": account_id
|
||||||
|
"/analytics:v3/analytics.management.remarketingAudience.delete/remarketingAudienceId": remarketing_audience_id
|
||||||
|
"/analytics:v3/analytics.management.remarketingAudience.delete/webPropertyId": web_property_id
|
||||||
|
"/bigquery:v2/bigquery.tabledata.list/selectedFields": selected_fields
|
||||||
|
"/bigquery:v2/bigquery.tables.get/selectedFields": selected_fields
|
||||||
|
"/calendar:v3/DeepLinkData": deep_link_data
|
||||||
|
"/calendar:v3/DeepLinkData/links": links
|
||||||
|
"/calendar:v3/DeepLinkData/links/link": link
|
||||||
|
"/calendar:v3/DeepLinkData/url": url
|
||||||
|
"/calendar:v3/DisplayInfo": display_info
|
||||||
|
"/calendar:v3/DisplayInfo/appIconUrl": app_icon_url
|
||||||
|
"/calendar:v3/DisplayInfo/appShortTitle": app_short_title
|
||||||
|
"/calendar:v3/DisplayInfo/appTitle": app_title
|
||||||
|
"/calendar:v3/DisplayInfo/linkShortTitle": link_short_title
|
||||||
|
"/calendar:v3/DisplayInfo/linkTitle": link_title
|
||||||
|
"/calendar:v3/EventHabitInstance": event_habit_instance
|
||||||
|
"/calendar:v3/EventHabitInstance/data": data
|
||||||
|
"/calendar:v3/EventHabitInstance/parentId": parent_id
|
||||||
|
"/calendar:v3/HabitInstanceData": habit_instance_data
|
||||||
|
"/calendar:v3/HabitInstanceData/status": status
|
||||||
|
"/calendar:v3/HabitInstanceData/statusInferred": status_inferred
|
||||||
|
"/calendar:v3/HabitInstanceData/type": type
|
||||||
|
"/calendar:v3/LaunchInfo": launch_info
|
||||||
|
"/calendar:v3/LaunchInfo/appId": app_id
|
||||||
|
"/calendar:v3/LaunchInfo/installUrl": install_url
|
||||||
|
"/calendar:v3/LaunchInfo/intentAction": intent_action
|
||||||
|
"/calendar:v3/LaunchInfo/uri": uri
|
||||||
|
"/calendar:v3/Link": link
|
||||||
|
"/calendar:v3/Link/applinkingSource": applinking_source
|
||||||
|
"/calendar:v3/Link/displayInfo": display_info
|
||||||
|
"/calendar:v3/Link/launchInfo": launch_info
|
||||||
|
"/calendar:v3/Link/platform": platform
|
||||||
|
"/calendar:v3/Link/url": url
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.folders.setOrgPolicyV1": set_folder_org_policy_v1
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.folders.setOrgPolicyV1/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.folders.getEffectiveOrgPolicyV1": get_folder_effective_org_policy_v1
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.folders.getEffectiveOrgPolicyV1/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.folders.clearOrgPolicy": clear_folder_org_policy
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.folders.clearOrgPolicy/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.folders.setOrgPolicy": set_folder_org_policy
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.folders.setOrgPolicy/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.folders.clearOrgPolicyV1": clear_folder_org_policy_v1
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.folders.clearOrgPolicyV1/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.folders.listOrgPolicies": list_folder_org_policies
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.folders.listOrgPolicies/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.folders.listAvailableOrgPolicyConstraints": list_folder_available_org_policy_constraints
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.folders.listAvailableOrgPolicyConstraints/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.folders.getOrgPolicy": get_folder_org_policy
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.folders.getOrgPolicy/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.folders.getEffectiveOrgPolicy": get_folder_effective_org_policy
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.folders.getEffectiveOrgPolicy/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.folders.getOrgPolicyV1": get_folder_org_policy_v1
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.folders.getOrgPolicyV1/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.projects.listAvailableOrgPolicyConstraints": list_project_available_org_policy_constraints
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.projects.listAvailableOrgPolicyConstraints/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.projects.getOrgPolicy": get_project_org_policy
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.projects.getOrgPolicy/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.projects.getEffectiveOrgPolicy": get_project_effective_org_policy
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.projects.getEffectiveOrgPolicy/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.projects.getOrgPolicyV1": get_project_org_policy_v1
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.projects.getOrgPolicyV1/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.projects.setOrgPolicyV1": set_project_org_policy_v1
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.projects.setOrgPolicyV1/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.projects.setOrgPolicy": set_project_org_policy
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.projects.setOrgPolicy/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.projects.clearOrgPolicyV1": clear_project_org_policy_v1
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.projects.clearOrgPolicyV1/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.projects.listOrgPolicies": list_project_org_policies
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.projects.listOrgPolicies/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.projects.getEffectiveOrgPolicyV1": get_project_effective_org_policy_v1
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.projects.getEffectiveOrgPolicyV1/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.projects.clearOrgPolicy": clear_project_org_policy
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.projects.clearOrgPolicy/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.organizations.listOrgPolicies": list_organization_org_policies
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.organizations.listOrgPolicies/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getEffectiveOrgPolicyV1": get_organization_effective_org_policy_v1
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getEffectiveOrgPolicyV1/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.organizations.clearOrgPolicy": clear_organization_org_policy
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.organizations.clearOrgPolicy/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.organizations.listAvailableOrgPolicyConstraints": list_organization_available_org_policy_constraints
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.organizations.listAvailableOrgPolicyConstraints/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getOrgPolicy": get_organization_org_policy
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getOrgPolicy/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getEffectiveOrgPolicy": get_organization_effective_org_policy
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getEffectiveOrgPolicy/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getOrgPolicyV1": get_organization_org_policy_v1
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getOrgPolicyV1/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.organizations.setOrgPolicyV1": set_organization_org_policy_v1
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.organizations.setOrgPolicyV1/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.organizations.setOrgPolicy": set_organization_org_policy
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.organizations.setOrgPolicy/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.organizations.clearOrgPolicyV1": clear_organization_org_policy_v1
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.organizations.clearOrgPolicyV1/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/ListConstraint": list_constraint
|
||||||
|
"/cloudresourcemanager:v1/ListConstraint/suggestedValue": suggested_value
|
||||||
|
"/cloudresourcemanager:v1/SetOrgPolicyRequest": set_org_policy_request
|
||||||
|
"/cloudresourcemanager:v1/SetOrgPolicyRequest/policy": policy
|
||||||
|
"/cloudresourcemanager:v1/ListAvailableOrgPolicyConstraintsResponse": list_available_org_policy_constraints_response
|
||||||
|
"/cloudresourcemanager:v1/ListAvailableOrgPolicyConstraintsResponse/nextPageToken": next_page_token
|
||||||
|
"/cloudresourcemanager:v1/ListAvailableOrgPolicyConstraintsResponse/constraints": constraints
|
||||||
|
"/cloudresourcemanager:v1/ListAvailableOrgPolicyConstraintsResponse/constraints/constraint": constraint
|
||||||
|
"/cloudresourcemanager:v1/ListPolicy": list_policy
|
||||||
|
"/cloudresourcemanager:v1/ListPolicy/allowedValues": allowed_values
|
||||||
|
"/cloudresourcemanager:v1/ListPolicy/allowedValues/allowed_value": allowed_value
|
||||||
|
"/cloudresourcemanager:v1/ListPolicy/suggestedValue": suggested_value
|
||||||
|
"/cloudresourcemanager:v1/ListPolicy/inheritFromParent": inherit_from_parent
|
||||||
|
"/cloudresourcemanager:v1/ListPolicy/deniedValues": denied_values
|
||||||
|
"/cloudresourcemanager:v1/ListPolicy/deniedValues/denied_value": denied_value
|
||||||
|
"/cloudresourcemanager:v1/ListPolicy/allValues": all_values
|
||||||
|
"/cloudresourcemanager:v1/ListAvailableOrgPolicyConstraintsRequest": list_available_org_policy_constraints_request
|
||||||
|
"/cloudresourcemanager:v1/ListAvailableOrgPolicyConstraintsRequest/pageToken": page_token
|
||||||
|
"/cloudresourcemanager:v1/ListAvailableOrgPolicyConstraintsRequest/pageSize": page_size
|
||||||
|
"/cloudresourcemanager:v1/GetEffectiveOrgPolicyRequest": get_effective_org_policy_request
|
||||||
|
"/cloudresourcemanager:v1/GetEffectiveOrgPolicyRequest/constraint": constraint
|
||||||
|
"/cloudresourcemanager:v1/ListOrgPoliciesRequest": list_org_policies_request
|
||||||
|
"/cloudresourcemanager:v1/ListOrgPoliciesRequest/pageToken": page_token
|
||||||
|
"/cloudresourcemanager:v1/ListOrgPoliciesRequest/pageSize": page_size
|
||||||
|
"/cloudresourcemanager:v1/Constraint": constraint
|
||||||
|
"/cloudresourcemanager:v1/Constraint/version": version
|
||||||
|
"/cloudresourcemanager:v1/Constraint/listConstraint": list_constraint
|
||||||
|
"/cloudresourcemanager:v1/Constraint/displayName": display_name
|
||||||
|
"/cloudresourcemanager:v1/Constraint/description": description
|
||||||
|
"/cloudresourcemanager:v1/Constraint/booleanConstraint": boolean_constraint
|
||||||
|
"/cloudresourcemanager:v1/Constraint/constraintDefault": constraint_default
|
||||||
|
"/cloudresourcemanager:v1/Constraint/name": name
|
||||||
|
"/cloudresourcemanager:v1/RestoreDefault": restore_default
|
||||||
|
"/cloudresourcemanager:v1/GetOrgPolicyRequest": get_org_policy_request
|
||||||
|
"/cloudresourcemanager:v1/GetOrgPolicyRequest/constraint": constraint
|
||||||
|
"/cloudresourcemanager:v1/ClearOrgPolicyRequest": clear_org_policy_request
|
||||||
|
"/cloudresourcemanager:v1/ClearOrgPolicyRequest/etag": etag
|
||||||
|
"/cloudresourcemanager:v1/ClearOrgPolicyRequest/constraint": constraint
|
||||||
|
"/cloudresourcemanager:v1/BooleanConstraint": boolean_constraint
|
||||||
|
"/cloudresourcemanager:v1/ListOrgPoliciesResponse": list_org_policies_response
|
||||||
|
"/cloudresourcemanager:v1/ListOrgPoliciesResponse/nextPageToken": next_page_token
|
||||||
|
"/cloudresourcemanager:v1/ListOrgPoliciesResponse/policies": policies
|
||||||
|
"/cloudresourcemanager:v1/ListOrgPoliciesResponse/policies/policy": policy
|
||||||
|
"/cloudresourcemanager:v1/OrgPolicy": org_policy
|
||||||
|
"/cloudresourcemanager:v1/OrgPolicy/etag": etag
|
||||||
|
"/cloudresourcemanager:v1/OrgPolicy/booleanPolicy": boolean_policy
|
||||||
|
"/cloudresourcemanager:v1/OrgPolicy/constraint": constraint
|
||||||
|
"/cloudresourcemanager:v1/OrgPolicy/updateTime": update_time
|
||||||
|
"/cloudresourcemanager:v1/OrgPolicy/version": version
|
||||||
|
"/cloudresourcemanager:v1/OrgPolicy/restoreDefault": restore_default
|
||||||
|
"/cloudresourcemanager:v1/OrgPolicy/listPolicy": list_policy
|
||||||
|
"/cloudresourcemanager:v1/BooleanPolicy": boolean_policy
|
||||||
|
"/cloudresourcemanager:v1/BooleanPolicy/enforced": enforced
|
||||||
|
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.clearOrgPolicy": clear_organization_org_policy
|
||||||
|
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.clearOrgPolicy/resource": resource
|
||||||
|
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.listAvailableOrgPolicyConstraints": list_organization_available_org_policy_constraints
|
||||||
|
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.listAvailableOrgPolicyConstraints/resource": resource
|
||||||
|
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.getOrgPolicy": get_organization_org_policy
|
||||||
|
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.getOrgPolicy/resource": resource
|
||||||
|
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.getOrgPolicyV1": get_organization_org_policy_v1
|
||||||
|
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.getOrgPolicyV1/resource": resource
|
||||||
|
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.getEffectiveOrgPolicy": get_organization_effective_org_policy
|
||||||
|
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.getEffectiveOrgPolicy/resource": resource
|
||||||
|
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.setOrgPolicyV1": set_organization_org_policy_v1
|
||||||
|
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.setOrgPolicyV1/resource": resource
|
||||||
|
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.setOrgPolicy": set_organization_org_policy
|
||||||
|
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.setOrgPolicy/resource": resource
|
||||||
|
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.clearOrgPolicyV1": clear_organization_org_policy_v1
|
||||||
|
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.clearOrgPolicyV1/resource": resource
|
||||||
|
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.listOrgPolicies": list_organization_org_policies
|
||||||
|
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.listOrgPolicies/resource": resource
|
||||||
|
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.getEffectiveOrgPolicyV1": get_organization_effective_org_policy_v1
|
||||||
|
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.getEffectiveOrgPolicyV1/resource": resource
|
||||||
|
"/cloudresourcemanager:v1beta1/ClearOrgPolicyRequest": clear_org_policy_request
|
||||||
|
"/cloudresourcemanager:v1beta1/ClearOrgPolicyRequest/etag": etag
|
||||||
|
"/cloudresourcemanager:v1beta1/ClearOrgPolicyRequest/constraint": constraint
|
||||||
|
"/cloudresourcemanager:v1beta1/BooleanConstraint": boolean_constraint
|
||||||
|
"/cloudresourcemanager:v1beta1/ListOrgPoliciesResponse": list_org_policies_response
|
||||||
|
"/cloudresourcemanager:v1beta1/ListOrgPoliciesResponse/policies": policies
|
||||||
|
"/cloudresourcemanager:v1beta1/ListOrgPoliciesResponse/policies/policy": policy
|
||||||
|
"/cloudresourcemanager:v1beta1/ListOrgPoliciesResponse/nextPageToken": next_page_token
|
||||||
|
"/cloudresourcemanager:v1beta1/OrgPolicy": org_policy
|
||||||
|
"/cloudresourcemanager:v1beta1/OrgPolicy/version": version
|
||||||
|
"/cloudresourcemanager:v1beta1/OrgPolicy/restoreDefault": restore_default
|
||||||
|
"/cloudresourcemanager:v1beta1/OrgPolicy/listPolicy": list_policy
|
||||||
|
"/cloudresourcemanager:v1beta1/OrgPolicy/etag": etag
|
||||||
|
"/cloudresourcemanager:v1beta1/OrgPolicy/constraint": constraint
|
||||||
|
"/cloudresourcemanager:v1beta1/OrgPolicy/booleanPolicy": boolean_policy
|
||||||
|
"/cloudresourcemanager:v1beta1/OrgPolicy/updateTime": update_time
|
||||||
|
"/cloudresourcemanager:v1beta1/BooleanPolicy": boolean_policy
|
||||||
|
"/cloudresourcemanager:v1beta1/BooleanPolicy/enforced": enforced
|
||||||
|
"/cloudresourcemanager:v1beta1/ListConstraint": list_constraint
|
||||||
|
"/cloudresourcemanager:v1beta1/ListConstraint/suggestedValue": suggested_value
|
||||||
|
"/cloudresourcemanager:v1beta1/SetOrgPolicyRequest": set_org_policy_request
|
||||||
|
"/cloudresourcemanager:v1beta1/SetOrgPolicyRequest/policy": policy
|
||||||
|
"/cloudresourcemanager:v1beta1/ListAvailableOrgPolicyConstraintsResponse": list_available_org_policy_constraints_response
|
||||||
|
"/cloudresourcemanager:v1beta1/ListAvailableOrgPolicyConstraintsResponse/nextPageToken": next_page_token
|
||||||
|
"/cloudresourcemanager:v1beta1/ListAvailableOrgPolicyConstraintsResponse/constraints": constraints
|
||||||
|
"/cloudresourcemanager:v1beta1/ListAvailableOrgPolicyConstraintsResponse/constraints/constraint": constraint
|
||||||
|
"/cloudresourcemanager:v1beta1/ListPolicy": list_policy
|
||||||
|
"/cloudresourcemanager:v1beta1/ListPolicy/allValues": all_values
|
||||||
|
"/cloudresourcemanager:v1beta1/ListPolicy/allowedValues": allowed_values
|
||||||
|
"/cloudresourcemanager:v1beta1/ListPolicy/allowedValues/allowed_value": allowed_value
|
||||||
|
"/cloudresourcemanager:v1beta1/ListPolicy/suggestedValue": suggested_value
|
||||||
|
"/cloudresourcemanager:v1beta1/ListPolicy/inheritFromParent": inherit_from_parent
|
||||||
|
"/cloudresourcemanager:v1beta1/ListPolicy/deniedValues": denied_values
|
||||||
|
"/cloudresourcemanager:v1beta1/ListPolicy/deniedValues/denied_value": denied_value
|
||||||
|
"/cloudresourcemanager:v1beta1/ListAvailableOrgPolicyConstraintsRequest": list_available_org_policy_constraints_request
|
||||||
|
"/cloudresourcemanager:v1beta1/ListAvailableOrgPolicyConstraintsRequest/pageToken": page_token
|
||||||
|
"/cloudresourcemanager:v1beta1/ListAvailableOrgPolicyConstraintsRequest/pageSize": page_size
|
||||||
|
"/cloudresourcemanager:v1beta1/GetEffectiveOrgPolicyRequest": get_effective_org_policy_request
|
||||||
|
"/cloudresourcemanager:v1beta1/GetEffectiveOrgPolicyRequest/constraint": constraint
|
||||||
|
"/cloudresourcemanager:v1beta1/ListOrgPoliciesRequest": list_org_policies_request
|
||||||
|
"/cloudresourcemanager:v1beta1/ListOrgPoliciesRequest/pageToken": page_token
|
||||||
|
"/cloudresourcemanager:v1beta1/ListOrgPoliciesRequest/pageSize": page_size
|
||||||
|
"/cloudresourcemanager:v1beta1/Constraint": constraint
|
||||||
|
"/cloudresourcemanager:v1beta1/Constraint/description": description
|
||||||
|
"/cloudresourcemanager:v1beta1/Constraint/displayName": display_name
|
||||||
|
"/cloudresourcemanager:v1beta1/Constraint/booleanConstraint": boolean_constraint
|
||||||
|
"/cloudresourcemanager:v1beta1/Constraint/constraintDefault": constraint_default
|
||||||
|
"/cloudresourcemanager:v1beta1/Constraint/name": name
|
||||||
|
"/cloudresourcemanager:v1beta1/Constraint/listConstraint": list_constraint
|
||||||
|
"/cloudresourcemanager:v1beta1/Constraint/version": version
|
||||||
|
"/cloudresourcemanager:v1beta1/RestoreDefault": restore_default
|
||||||
|
"/cloudresourcemanager:v1beta1/GetOrgPolicyRequest": get_org_policy_request
|
||||||
|
"/cloudresourcemanager:v1beta1/GetOrgPolicyRequest/constraint": constraint
|
||||||
|
"/dataflow:v1b3/KeyRangeLocation/deprecatedPersistentDirectory": deprecated_persistent_directory
|
||||||
|
"/dataproc:v1/ClusterStatus/substate": substate
|
||||||
|
"/dataproc:v1/JobStatus/substate": substate
|
||||||
|
"/appengine:v1beta5/Application/iap": iap
|
||||||
|
"/appengine:v1beta5/IdentityAwareProxy": identity_aware_proxy
|
||||||
|
"/appengine:v1beta5/IdentityAwareProxy/enabled": enabled
|
||||||
|
"/appengine:v1beta5/IdentityAwareProxy/oauth2ClientId": oauth2_client_id
|
||||||
|
"/appengine:v1beta5/IdentityAwareProxy/oauth2ClientSecret": oauth2_client_secret
|
||||||
|
"/appengine:v1beta5/IdentityAwareProxy/oauth2ClientSecretSha256": oauth2_client_secret_sha256
|
||||||
|
"/appengine:v1beta5/OperationMetadataV1Beta": operation_metadata_v1_beta
|
||||||
|
"/appengine:v1beta5/OperationMetadataV1Beta/method": method_prop
|
||||||
|
"/appengine:v1beta5/OperationMetadataV1Beta/insertTime": insert_time
|
||||||
|
"/appengine:v1beta5/OperationMetadataV1Beta/endTime": end_time
|
||||||
|
"/appengine:v1beta5/OperationMetadataV1Beta/user": user
|
||||||
|
"/appengine:v1beta5/OperationMetadataV1Beta/target": target
|
||||||
|
"/appengine:v1beta5/OperationMetadataV1Beta/ephemeralMessage": ephemeral_message
|
||||||
|
"/appengine:v1beta5/OperationMetadataV1Beta/warning": warning
|
||||||
|
"/appengine:v1beta5/OperationMetadataV1Beta/warning/warning": warning
|
||||||
|
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/autoCreate": auto_create
|
||||||
|
"/identitytoolkit:v3/Relyingparty/androidInstallApp": android_install_app
|
||||||
|
"/identitytoolkit:v3/Relyingparty/androidMinimumVersion": android_minimum_version
|
||||||
|
"/identitytoolkit:v3/Relyingparty/androidPackageName": android_package_name
|
||||||
|
"/identitytoolkit:v3/Relyingparty/canHandleCodeInApp": can_handle_code_in_app
|
||||||
|
"/identitytoolkit:v3/Relyingparty/continueUrl": continue_url
|
||||||
|
"/identitytoolkit:v3/Relyingparty/iOSAppStoreId": i_os_app_store_id
|
||||||
|
"/identitytoolkit:v3/Relyingparty/iOSBundleId": i_os_bundle_id
|
||||||
|
"/licensing:v1/LicenseAssignment/productName": product_name
|
||||||
|
"/licensing:v1/LicenseAssignment/skuName": sku_name
|
||||||
|
"/manufacturers:v1/Count": count
|
||||||
|
"/manufacturers:v1/Count/value": value
|
||||||
|
"/manufacturers:v1/Count/unit": unit
|
||||||
|
"/manufacturers:v1/Capacity": capacity
|
||||||
|
"/manufacturers:v1/Capacity/value": value
|
||||||
|
"/manufacturers:v1/Capacity/unit": unit
|
||||||
|
"/manufacturers:v1/ProductDetail": product_detail
|
||||||
|
"/manufacturers:v1/ProductDetail/attributeValue": attribute_value
|
||||||
|
"/manufacturers:v1/ProductDetail/sectionName": section_name
|
||||||
|
"/manufacturers:v1/ProductDetail/attributeName": attribute_name
|
||||||
|
"/manufacturers:v1/FeatureDescription": feature_description
|
||||||
|
"/manufacturers:v1/FeatureDescription/text": text
|
||||||
|
"/manufacturers:v1/FeatureDescription/image": image
|
||||||
|
"/manufacturers:v1/FeatureDescription/headline": headline
|
||||||
|
"/manufacturers:v1/Issue/timestamp": timestamp
|
||||||
|
"/manufacturers:v1/Price": price
|
||||||
|
"/manufacturers:v1/Price/amount": amount
|
||||||
|
"/manufacturers:v1/Price/currency": currency
|
||||||
|
"/manufacturers:v1/Image": image
|
||||||
|
"/manufacturers:v1/Image/type": type
|
||||||
|
"/manufacturers:v1/Image/imageUrl": image_url
|
||||||
|
"/manufacturers:v1/Image/status": status
|
||||||
|
"/manufacturers:v1/Attributes/sizeSystem": size_system
|
||||||
|
"/manufacturers:v1/Attributes/theme": theme
|
||||||
|
"/manufacturers:v1/Attributes/pattern": pattern
|
||||||
|
"/manufacturers:v1/Attributes/imageLink": image_link
|
||||||
|
"/manufacturers:v1/Attributes/format": format
|
||||||
|
"/manufacturers:v1/Attributes/additionalImageLink": additional_image_link
|
||||||
|
"/manufacturers:v1/Attributes/additionalImageLink/additional_image_link": additional_image_link
|
||||||
|
"/manufacturers:v1/Attributes/videoLink": video_link
|
||||||
|
"/manufacturers:v1/Attributes/videoLink/video_link": video_link
|
||||||
|
"/manufacturers:v1/Attributes/color": color
|
||||||
|
"/manufacturers:v1/Attributes/sizeType": size_type
|
||||||
|
"/manufacturers:v1/Attributes/suggestedRetailPrice": suggested_retail_price
|
||||||
|
"/manufacturers:v1/Attributes/featureDescription": feature_description
|
||||||
|
"/manufacturers:v1/Attributes/featureDescription/feature_description": feature_description
|
||||||
|
"/manufacturers:v1/Attributes/size": size
|
||||||
|
"/manufacturers:v1/Attributes/count": count
|
||||||
|
"/manufacturers:v1/Attributes/disclosureDate": disclosure_date
|
||||||
|
"/manufacturers:v1/Attributes/material": material
|
||||||
|
"/manufacturers:v1/Attributes/scent": scent
|
||||||
|
"/manufacturers:v1/Attributes/ageGroup": age_group
|
||||||
|
"/manufacturers:v1/Attributes/productDetail": product_detail
|
||||||
|
"/manufacturers:v1/Attributes/productDetail/product_detail": product_detail
|
||||||
|
"/manufacturers:v1/Attributes/flavor": flavor
|
||||||
|
"/manufacturers:v1/Attributes/releaseDate": release_date
|
||||||
|
"/manufacturers:v1/Attributes/itemGroupId": item_group_id
|
||||||
|
"/manufacturers:v1/Attributes/capacity": capacity
|
||||||
|
"/manufacturers:v1/Attributes/description": description
|
||||||
|
"/manufacturers:v1/Attributes/gender": gender
|
||||||
|
"/people:v1/ListConnectionsResponse/totalPeople": total_people
|
||||||
|
"/reseller:v1/Subscription/skuName": sku_name
|
||||||
|
"/slides:v1/slides.presentations.pages.getThumbnail": get_presentation_page_thumbnail
|
||||||
|
"/slides:v1/slides.presentations.pages.getThumbnail/thumbnailProperties.mimeType": thumbnail_properties_mime_type
|
||||||
|
"/slides:v1/slides.presentations.pages.getThumbnail/thumbnailProperties.thumbnailSize": thumbnail_properties_thumbnail_size
|
||||||
|
"/slides:v1/slides.presentations.pages.getThumbnail/presentationId": presentation_id
|
||||||
|
"/slides:v1/slides.presentations.pages.getThumbnail/pageObjectId": page_object_id
|
||||||
|
"/slides:v1/WeightedFontFamily": weighted_font_family
|
||||||
|
"/slides:v1/WeightedFontFamily/fontFamily": font_family
|
||||||
|
"/slides:v1/WeightedFontFamily/weight": weight
|
||||||
|
"/slides:v1/TextStyle/weightedFontFamily": weighted_font_family
|
||||||
|
"/slides:v1/Thumbnail": thumbnail
|
||||||
|
"/slides:v1/Thumbnail/height": height
|
||||||
|
"/slides:v1/Thumbnail/contentUrl": content_url
|
||||||
|
"/slides:v1/Thumbnail/width": width
|
||||||
|
"/storage:v1/storage.buckets.getIamPolicy": get_bucket_iam_policy
|
||||||
|
"/storage:v1/storage.buckets.getIamPolicy/bucket": bucket
|
||||||
|
"/storage:v1/storage.buckets.setIamPolicy": set_bucket_iam_policy
|
||||||
|
"/storage:v1/storage.buckets.setIamPolicy/bucket": bucket
|
||||||
|
"/storage:v1/storage.buckets.testIamPermissions": test_bucket_iam_permissions
|
||||||
|
"/storage:v1/storage.buckets.testIamPermissions/bucket": bucket
|
||||||
|
"/storage:v1/storage.buckets.testIamPermissions/permissions": permissions
|
||||||
|
"/storage:v1/storage.objects.getIamPolicy": get_object_iam_policy
|
||||||
|
"/storage:v1/storage.objects.getIamPolicy/bucket": bucket
|
||||||
|
"/storage:v1/storage.objects.getIamPolicy/generation": generation
|
||||||
|
"/storage:v1/storage.objects.getIamPolicy/object": object
|
||||||
|
"/storage:v1/storage.objects.setIamPolicy": set_object_iam_policy
|
||||||
|
"/storage:v1/storage.objects.setIamPolicy/bucket": bucket
|
||||||
|
"/storage:v1/storage.objects.setIamPolicy/generation": generation
|
||||||
|
"/storage:v1/storage.objects.setIamPolicy/object": object
|
||||||
|
"/storage:v1/storage.objects.testIamPermissions": test_object_iam_permissions
|
||||||
|
"/storage:v1/storage.objects.testIamPermissions/bucket": bucket
|
||||||
|
"/storage:v1/storage.objects.testIamPermissions/generation": generation
|
||||||
|
"/storage:v1/storage.objects.testIamPermissions/object": object
|
||||||
|
"/storage:v1/storage.objects.testIamPermissions/permissions": permissions
|
||||||
|
"/storage:v1/Policy": policy
|
||||||
|
"/storage:v1/Policy/bindings": bindings
|
||||||
|
"/storage:v1/Policy/bindings/binding": binding
|
||||||
|
"/storage:v1/Policy/bindings/binding/members": members
|
||||||
|
"/storage:v1/Policy/bindings/binding/members/member": member
|
||||||
|
"/storage:v1/Policy/bindings/binding/role": role
|
||||||
|
"/storage:v1/Policy/etag": etag
|
||||||
|
"/storage:v1/Policy/kind": kind
|
||||||
|
"/storage:v1/Policy/resourceId": resource_id
|
||||||
|
"/storage:v1/TestIamPermissionsResponse": test_iam_permissions_response
|
||||||
|
"/storage:v1/TestIamPermissionsResponse/kind": kind
|
||||||
|
"/storage:v1/TestIamPermissionsResponse/permissions": permissions
|
||||||
|
"/storage:v1/TestIamPermissionsResponse/permissions/permission": permission
|
||||||
|
"/vision:v1/WebDetection/visuallySimilarImages": visually_similar_images
|
||||||
|
"/vision:v1/WebDetection/visuallySimilarImages/visually_similar_image": visually_similar_image
|
||||||
|
|
|
@ -37747,3 +37747,398 @@
|
||||||
"/vision:v1/DetectedLanguage": detected_language
|
"/vision:v1/DetectedLanguage": detected_language
|
||||||
"/vision:v1/DetectedLanguage/languageCode": language_code
|
"/vision:v1/DetectedLanguage/languageCode": language_code
|
||||||
"/vision:v1/DetectedLanguage/confidence": confidence
|
"/vision:v1/DetectedLanguage/confidence": confidence
|
||||||
|
"/youtubePartner:v1/youtubePartner.package.insert": insert_package
|
||||||
|
"/youtubePartner:v1/youtubePartner.package.insert/onBehalfOfContentOwner": on_behalf_of_content_owner
|
||||||
|
"/youtubePartner:v1/Package": package
|
||||||
|
"/youtubePartner:v1/Package/content": content
|
||||||
|
"/youtubePartner:v1/Package/id": id
|
||||||
|
"/youtubePartner:v1/Package/kind": kind
|
||||||
|
"/youtubePartner:v1/Package/locale": locale
|
||||||
|
"/youtubePartner:v1/Package/uploaderName": uploader_name
|
||||||
|
"/youtubePartner:v1/PackageInsertResponse": package_insert_response
|
||||||
|
"/youtubePartner:v1/PackageInsertResponse/errors": errors
|
||||||
|
"/youtubePartner:v1/PackageInsertResponse/errors/error": error
|
||||||
|
"/youtubePartner:v1/PackageInsertResponse/kind": kind
|
||||||
|
"/youtubePartner:v1/PackageInsertResponse/resource": resource
|
||||||
|
"/compute:beta/compute.subnetworks.setPrivateIpGoogleAccess": set_subnetwork_private_ip_google_access
|
||||||
|
"/compute:beta/compute.subnetworks.setPrivateIpGoogleAccess/project": project
|
||||||
|
"/compute:beta/compute.subnetworks.setPrivateIpGoogleAccess/region": region
|
||||||
|
"/compute:beta/compute.subnetworks.setPrivateIpGoogleAccess/subnetwork": subnetwork
|
||||||
|
"/compute:beta/Firewall/denied": denied
|
||||||
|
"/compute:beta/Firewall/denied/denied": denied
|
||||||
|
"/compute:beta/Firewall/denied/denied/IPProtocol": ip_protocol
|
||||||
|
"/compute:beta/Firewall/denied/denied/ports": ports
|
||||||
|
"/compute:beta/Firewall/denied/denied/ports/port": port
|
||||||
|
"/compute:beta/Firewall/destinationRanges": destination_ranges
|
||||||
|
"/compute:beta/Firewall/destinationRanges/destination_range": destination_range
|
||||||
|
"/compute:beta/Firewall/direction": direction
|
||||||
|
"/compute:beta/Firewall/priority": priority
|
||||||
|
"/compute:beta/ManagedInstance/version": version
|
||||||
|
"/compute:beta/ManagedInstanceVersion": managed_instance_version
|
||||||
|
"/compute:beta/ManagedInstanceVersion/instanceTemplate": instance_template
|
||||||
|
"/compute:beta/ManagedInstanceVersion/name": name
|
||||||
|
"/compute:beta/SubnetworksSetPrivateIpGoogleAccessRequest": subnetworks_set_private_ip_google_access_request
|
||||||
|
"/compute:beta/SubnetworksSetPrivateIpGoogleAccessRequest/privateIpGoogleAccess": private_ip_google_access
|
||||||
|
"/admin:directory_v1/User/posixAccounts": posix_accounts
|
||||||
|
"/admin:directory_v1/User/sshPublicKeys": ssh_public_keys
|
||||||
|
"/admin:directory_v1/UserPosixAccount": user_posix_account
|
||||||
|
"/admin:directory_v1/UserPosixAccount/gecos": gecos
|
||||||
|
"/admin:directory_v1/UserPosixAccount/gid": gid
|
||||||
|
"/admin:directory_v1/UserPosixAccount/homeDirectory": home_directory
|
||||||
|
"/admin:directory_v1/UserPosixAccount/primary": primary
|
||||||
|
"/admin:directory_v1/UserPosixAccount/shell": shell
|
||||||
|
"/admin:directory_v1/UserPosixAccount/systemId": system_id
|
||||||
|
"/admin:directory_v1/UserPosixAccount/uid": uid
|
||||||
|
"/admin:directory_v1/UserPosixAccount/username": username
|
||||||
|
"/admin:directory_v1/UserSshPublicKey": user_ssh_public_key
|
||||||
|
"/admin:directory_v1/UserSshPublicKey/expirationTimeUsec": expiration_time_usec
|
||||||
|
"/admin:directory_v1/UserSshPublicKey/fingerprint": fingerprint
|
||||||
|
"/admin:directory_v1/UserSshPublicKey/key": key
|
||||||
|
"/analytics:v3/analytics.management.remarketingAudience.delete": delete_management_remarketing_audience
|
||||||
|
"/analytics:v3/analytics.management.remarketingAudience.delete/accountId": account_id
|
||||||
|
"/analytics:v3/analytics.management.remarketingAudience.delete/remarketingAudienceId": remarketing_audience_id
|
||||||
|
"/analytics:v3/analytics.management.remarketingAudience.delete/webPropertyId": web_property_id
|
||||||
|
"/bigquery:v2/bigquery.tabledata.list/selectedFields": selected_fields
|
||||||
|
"/bigquery:v2/bigquery.tables.get/selectedFields": selected_fields
|
||||||
|
"/calendar:v3/DeepLinkData": deep_link_data
|
||||||
|
"/calendar:v3/DeepLinkData/links": links
|
||||||
|
"/calendar:v3/DeepLinkData/links/link": link
|
||||||
|
"/calendar:v3/DeepLinkData/url": url
|
||||||
|
"/calendar:v3/DisplayInfo": display_info
|
||||||
|
"/calendar:v3/DisplayInfo/appIconUrl": app_icon_url
|
||||||
|
"/calendar:v3/DisplayInfo/appShortTitle": app_short_title
|
||||||
|
"/calendar:v3/DisplayInfo/appTitle": app_title
|
||||||
|
"/calendar:v3/DisplayInfo/linkShortTitle": link_short_title
|
||||||
|
"/calendar:v3/DisplayInfo/linkTitle": link_title
|
||||||
|
"/calendar:v3/EventHabitInstance": event_habit_instance
|
||||||
|
"/calendar:v3/EventHabitInstance/data": data
|
||||||
|
"/calendar:v3/EventHabitInstance/parentId": parent_id
|
||||||
|
"/calendar:v3/HabitInstanceData": habit_instance_data
|
||||||
|
"/calendar:v3/HabitInstanceData/status": status
|
||||||
|
"/calendar:v3/HabitInstanceData/statusInferred": status_inferred
|
||||||
|
"/calendar:v3/HabitInstanceData/type": type
|
||||||
|
"/calendar:v3/LaunchInfo": launch_info
|
||||||
|
"/calendar:v3/LaunchInfo/appId": app_id
|
||||||
|
"/calendar:v3/LaunchInfo/installUrl": install_url
|
||||||
|
"/calendar:v3/LaunchInfo/intentAction": intent_action
|
||||||
|
"/calendar:v3/LaunchInfo/uri": uri
|
||||||
|
"/calendar:v3/Link": link
|
||||||
|
"/calendar:v3/Link/applinkingSource": applinking_source
|
||||||
|
"/calendar:v3/Link/displayInfo": display_info
|
||||||
|
"/calendar:v3/Link/launchInfo": launch_info
|
||||||
|
"/calendar:v3/Link/platform": platform
|
||||||
|
"/calendar:v3/Link/url": url
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.folders.setOrgPolicyV1": set_folder_org_policy_v1
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.folders.setOrgPolicyV1/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.folders.getEffectiveOrgPolicyV1": get_folder_effective_org_policy_v1
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.folders.getEffectiveOrgPolicyV1/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.folders.clearOrgPolicy": clear_folder_org_policy
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.folders.clearOrgPolicy/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.folders.setOrgPolicy": set_folder_org_policy
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.folders.setOrgPolicy/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.folders.clearOrgPolicyV1": clear_folder_org_policy_v1
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.folders.clearOrgPolicyV1/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.folders.listOrgPolicies": list_folder_org_policies
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.folders.listOrgPolicies/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.folders.listAvailableOrgPolicyConstraints": list_folder_available_org_policy_constraints
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.folders.listAvailableOrgPolicyConstraints/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.folders.getOrgPolicy": get_folder_org_policy
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.folders.getOrgPolicy/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.folders.getEffectiveOrgPolicy": get_folder_effective_org_policy
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.folders.getEffectiveOrgPolicy/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.folders.getOrgPolicyV1": get_folder_org_policy_v1
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.folders.getOrgPolicyV1/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.projects.listAvailableOrgPolicyConstraints": list_project_available_org_policy_constraints
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.projects.listAvailableOrgPolicyConstraints/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.projects.getOrgPolicy": get_project_org_policy
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.projects.getOrgPolicy/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.projects.getEffectiveOrgPolicy": get_project_effective_org_policy
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.projects.getEffectiveOrgPolicy/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.projects.getOrgPolicyV1": get_project_org_policy_v1
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.projects.getOrgPolicyV1/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.projects.setOrgPolicyV1": set_project_org_policy_v1
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.projects.setOrgPolicyV1/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.projects.setOrgPolicy": set_project_org_policy
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.projects.setOrgPolicy/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.projects.clearOrgPolicyV1": clear_project_org_policy_v1
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.projects.clearOrgPolicyV1/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.projects.listOrgPolicies": list_project_org_policies
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.projects.listOrgPolicies/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.projects.getEffectiveOrgPolicyV1": get_project_effective_org_policy_v1
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.projects.getEffectiveOrgPolicyV1/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.projects.clearOrgPolicy": clear_project_org_policy
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.projects.clearOrgPolicy/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.organizations.listOrgPolicies": list_organization_org_policies
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.organizations.listOrgPolicies/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getEffectiveOrgPolicyV1": get_organization_effective_org_policy_v1
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getEffectiveOrgPolicyV1/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.organizations.clearOrgPolicy": clear_organization_org_policy
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.organizations.clearOrgPolicy/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.organizations.listAvailableOrgPolicyConstraints": list_organization_available_org_policy_constraints
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.organizations.listAvailableOrgPolicyConstraints/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getOrgPolicy": get_organization_org_policy
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getOrgPolicy/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getEffectiveOrgPolicy": get_organization_effective_org_policy
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getEffectiveOrgPolicy/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getOrgPolicyV1": get_organization_org_policy_v1
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getOrgPolicyV1/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.organizations.setOrgPolicyV1": set_organization_org_policy_v1
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.organizations.setOrgPolicyV1/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.organizations.setOrgPolicy": set_organization_org_policy
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.organizations.setOrgPolicy/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.organizations.clearOrgPolicyV1": clear_organization_org_policy_v1
|
||||||
|
"/cloudresourcemanager:v1/cloudresourcemanager.organizations.clearOrgPolicyV1/resource": resource
|
||||||
|
"/cloudresourcemanager:v1/ListConstraint": list_constraint
|
||||||
|
"/cloudresourcemanager:v1/ListConstraint/suggestedValue": suggested_value
|
||||||
|
"/cloudresourcemanager:v1/SetOrgPolicyRequest": set_org_policy_request
|
||||||
|
"/cloudresourcemanager:v1/SetOrgPolicyRequest/policy": policy
|
||||||
|
"/cloudresourcemanager:v1/ListAvailableOrgPolicyConstraintsResponse": list_available_org_policy_constraints_response
|
||||||
|
"/cloudresourcemanager:v1/ListAvailableOrgPolicyConstraintsResponse/nextPageToken": next_page_token
|
||||||
|
"/cloudresourcemanager:v1/ListAvailableOrgPolicyConstraintsResponse/constraints": constraints
|
||||||
|
"/cloudresourcemanager:v1/ListAvailableOrgPolicyConstraintsResponse/constraints/constraint": constraint
|
||||||
|
"/cloudresourcemanager:v1/ListPolicy": list_policy
|
||||||
|
"/cloudresourcemanager:v1/ListPolicy/allowedValues": allowed_values
|
||||||
|
"/cloudresourcemanager:v1/ListPolicy/allowedValues/allowed_value": allowed_value
|
||||||
|
"/cloudresourcemanager:v1/ListPolicy/suggestedValue": suggested_value
|
||||||
|
"/cloudresourcemanager:v1/ListPolicy/inheritFromParent": inherit_from_parent
|
||||||
|
"/cloudresourcemanager:v1/ListPolicy/deniedValues": denied_values
|
||||||
|
"/cloudresourcemanager:v1/ListPolicy/deniedValues/denied_value": denied_value
|
||||||
|
"/cloudresourcemanager:v1/ListPolicy/allValues": all_values
|
||||||
|
"/cloudresourcemanager:v1/ListAvailableOrgPolicyConstraintsRequest": list_available_org_policy_constraints_request
|
||||||
|
"/cloudresourcemanager:v1/ListAvailableOrgPolicyConstraintsRequest/pageToken": page_token
|
||||||
|
"/cloudresourcemanager:v1/ListAvailableOrgPolicyConstraintsRequest/pageSize": page_size
|
||||||
|
"/cloudresourcemanager:v1/GetEffectiveOrgPolicyRequest": get_effective_org_policy_request
|
||||||
|
"/cloudresourcemanager:v1/GetEffectiveOrgPolicyRequest/constraint": constraint
|
||||||
|
"/cloudresourcemanager:v1/ListOrgPoliciesRequest": list_org_policies_request
|
||||||
|
"/cloudresourcemanager:v1/ListOrgPoliciesRequest/pageToken": page_token
|
||||||
|
"/cloudresourcemanager:v1/ListOrgPoliciesRequest/pageSize": page_size
|
||||||
|
"/cloudresourcemanager:v1/Constraint": constraint
|
||||||
|
"/cloudresourcemanager:v1/Constraint/version": version
|
||||||
|
"/cloudresourcemanager:v1/Constraint/listConstraint": list_constraint
|
||||||
|
"/cloudresourcemanager:v1/Constraint/displayName": display_name
|
||||||
|
"/cloudresourcemanager:v1/Constraint/description": description
|
||||||
|
"/cloudresourcemanager:v1/Constraint/booleanConstraint": boolean_constraint
|
||||||
|
"/cloudresourcemanager:v1/Constraint/constraintDefault": constraint_default
|
||||||
|
"/cloudresourcemanager:v1/Constraint/name": name
|
||||||
|
"/cloudresourcemanager:v1/RestoreDefault": restore_default
|
||||||
|
"/cloudresourcemanager:v1/GetOrgPolicyRequest": get_org_policy_request
|
||||||
|
"/cloudresourcemanager:v1/GetOrgPolicyRequest/constraint": constraint
|
||||||
|
"/cloudresourcemanager:v1/ClearOrgPolicyRequest": clear_org_policy_request
|
||||||
|
"/cloudresourcemanager:v1/ClearOrgPolicyRequest/etag": etag
|
||||||
|
"/cloudresourcemanager:v1/ClearOrgPolicyRequest/constraint": constraint
|
||||||
|
"/cloudresourcemanager:v1/BooleanConstraint": boolean_constraint
|
||||||
|
"/cloudresourcemanager:v1/ListOrgPoliciesResponse": list_org_policies_response
|
||||||
|
"/cloudresourcemanager:v1/ListOrgPoliciesResponse/nextPageToken": next_page_token
|
||||||
|
"/cloudresourcemanager:v1/ListOrgPoliciesResponse/policies": policies
|
||||||
|
"/cloudresourcemanager:v1/ListOrgPoliciesResponse/policies/policy": policy
|
||||||
|
"/cloudresourcemanager:v1/OrgPolicy": org_policy
|
||||||
|
"/cloudresourcemanager:v1/OrgPolicy/etag": etag
|
||||||
|
"/cloudresourcemanager:v1/OrgPolicy/booleanPolicy": boolean_policy
|
||||||
|
"/cloudresourcemanager:v1/OrgPolicy/constraint": constraint
|
||||||
|
"/cloudresourcemanager:v1/OrgPolicy/updateTime": update_time
|
||||||
|
"/cloudresourcemanager:v1/OrgPolicy/version": version
|
||||||
|
"/cloudresourcemanager:v1/OrgPolicy/restoreDefault": restore_default
|
||||||
|
"/cloudresourcemanager:v1/OrgPolicy/listPolicy": list_policy
|
||||||
|
"/cloudresourcemanager:v1/BooleanPolicy": boolean_policy
|
||||||
|
"/cloudresourcemanager:v1/BooleanPolicy/enforced": enforced
|
||||||
|
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.clearOrgPolicy": clear_organization_org_policy
|
||||||
|
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.clearOrgPolicy/resource": resource
|
||||||
|
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.listAvailableOrgPolicyConstraints": list_organization_available_org_policy_constraints
|
||||||
|
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.listAvailableOrgPolicyConstraints/resource": resource
|
||||||
|
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.getOrgPolicy": get_organization_org_policy
|
||||||
|
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.getOrgPolicy/resource": resource
|
||||||
|
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.getOrgPolicyV1": get_organization_org_policy_v1
|
||||||
|
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.getOrgPolicyV1/resource": resource
|
||||||
|
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.getEffectiveOrgPolicy": get_organization_effective_org_policy
|
||||||
|
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.getEffectiveOrgPolicy/resource": resource
|
||||||
|
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.setOrgPolicyV1": set_organization_org_policy_v1
|
||||||
|
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.setOrgPolicyV1/resource": resource
|
||||||
|
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.setOrgPolicy": set_organization_org_policy
|
||||||
|
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.setOrgPolicy/resource": resource
|
||||||
|
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.clearOrgPolicyV1": clear_organization_org_policy_v1
|
||||||
|
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.clearOrgPolicyV1/resource": resource
|
||||||
|
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.listOrgPolicies": list_organization_org_policies
|
||||||
|
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.listOrgPolicies/resource": resource
|
||||||
|
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.getEffectiveOrgPolicyV1": get_organization_effective_org_policy_v1
|
||||||
|
"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.getEffectiveOrgPolicyV1/resource": resource
|
||||||
|
"/cloudresourcemanager:v1beta1/ClearOrgPolicyRequest": clear_org_policy_request
|
||||||
|
"/cloudresourcemanager:v1beta1/ClearOrgPolicyRequest/etag": etag
|
||||||
|
"/cloudresourcemanager:v1beta1/ClearOrgPolicyRequest/constraint": constraint
|
||||||
|
"/cloudresourcemanager:v1beta1/BooleanConstraint": boolean_constraint
|
||||||
|
"/cloudresourcemanager:v1beta1/ListOrgPoliciesResponse": list_org_policies_response
|
||||||
|
"/cloudresourcemanager:v1beta1/ListOrgPoliciesResponse/policies": policies
|
||||||
|
"/cloudresourcemanager:v1beta1/ListOrgPoliciesResponse/policies/policy": policy
|
||||||
|
"/cloudresourcemanager:v1beta1/ListOrgPoliciesResponse/nextPageToken": next_page_token
|
||||||
|
"/cloudresourcemanager:v1beta1/OrgPolicy": org_policy
|
||||||
|
"/cloudresourcemanager:v1beta1/OrgPolicy/version": version
|
||||||
|
"/cloudresourcemanager:v1beta1/OrgPolicy/restoreDefault": restore_default
|
||||||
|
"/cloudresourcemanager:v1beta1/OrgPolicy/listPolicy": list_policy
|
||||||
|
"/cloudresourcemanager:v1beta1/OrgPolicy/etag": etag
|
||||||
|
"/cloudresourcemanager:v1beta1/OrgPolicy/constraint": constraint
|
||||||
|
"/cloudresourcemanager:v1beta1/OrgPolicy/booleanPolicy": boolean_policy
|
||||||
|
"/cloudresourcemanager:v1beta1/OrgPolicy/updateTime": update_time
|
||||||
|
"/cloudresourcemanager:v1beta1/BooleanPolicy": boolean_policy
|
||||||
|
"/cloudresourcemanager:v1beta1/BooleanPolicy/enforced": enforced
|
||||||
|
"/cloudresourcemanager:v1beta1/ListConstraint": list_constraint
|
||||||
|
"/cloudresourcemanager:v1beta1/ListConstraint/suggestedValue": suggested_value
|
||||||
|
"/cloudresourcemanager:v1beta1/SetOrgPolicyRequest": set_org_policy_request
|
||||||
|
"/cloudresourcemanager:v1beta1/SetOrgPolicyRequest/policy": policy
|
||||||
|
"/cloudresourcemanager:v1beta1/ListAvailableOrgPolicyConstraintsResponse": list_available_org_policy_constraints_response
|
||||||
|
"/cloudresourcemanager:v1beta1/ListAvailableOrgPolicyConstraintsResponse/nextPageToken": next_page_token
|
||||||
|
"/cloudresourcemanager:v1beta1/ListAvailableOrgPolicyConstraintsResponse/constraints": constraints
|
||||||
|
"/cloudresourcemanager:v1beta1/ListAvailableOrgPolicyConstraintsResponse/constraints/constraint": constraint
|
||||||
|
"/cloudresourcemanager:v1beta1/ListPolicy": list_policy
|
||||||
|
"/cloudresourcemanager:v1beta1/ListPolicy/allValues": all_values
|
||||||
|
"/cloudresourcemanager:v1beta1/ListPolicy/allowedValues": allowed_values
|
||||||
|
"/cloudresourcemanager:v1beta1/ListPolicy/allowedValues/allowed_value": allowed_value
|
||||||
|
"/cloudresourcemanager:v1beta1/ListPolicy/suggestedValue": suggested_value
|
||||||
|
"/cloudresourcemanager:v1beta1/ListPolicy/inheritFromParent": inherit_from_parent
|
||||||
|
"/cloudresourcemanager:v1beta1/ListPolicy/deniedValues": denied_values
|
||||||
|
"/cloudresourcemanager:v1beta1/ListPolicy/deniedValues/denied_value": denied_value
|
||||||
|
"/cloudresourcemanager:v1beta1/ListAvailableOrgPolicyConstraintsRequest": list_available_org_policy_constraints_request
|
||||||
|
"/cloudresourcemanager:v1beta1/ListAvailableOrgPolicyConstraintsRequest/pageToken": page_token
|
||||||
|
"/cloudresourcemanager:v1beta1/ListAvailableOrgPolicyConstraintsRequest/pageSize": page_size
|
||||||
|
"/cloudresourcemanager:v1beta1/GetEffectiveOrgPolicyRequest": get_effective_org_policy_request
|
||||||
|
"/cloudresourcemanager:v1beta1/GetEffectiveOrgPolicyRequest/constraint": constraint
|
||||||
|
"/cloudresourcemanager:v1beta1/ListOrgPoliciesRequest": list_org_policies_request
|
||||||
|
"/cloudresourcemanager:v1beta1/ListOrgPoliciesRequest/pageToken": page_token
|
||||||
|
"/cloudresourcemanager:v1beta1/ListOrgPoliciesRequest/pageSize": page_size
|
||||||
|
"/cloudresourcemanager:v1beta1/Constraint": constraint
|
||||||
|
"/cloudresourcemanager:v1beta1/Constraint/description": description
|
||||||
|
"/cloudresourcemanager:v1beta1/Constraint/displayName": display_name
|
||||||
|
"/cloudresourcemanager:v1beta1/Constraint/booleanConstraint": boolean_constraint
|
||||||
|
"/cloudresourcemanager:v1beta1/Constraint/constraintDefault": constraint_default
|
||||||
|
"/cloudresourcemanager:v1beta1/Constraint/name": name
|
||||||
|
"/cloudresourcemanager:v1beta1/Constraint/listConstraint": list_constraint
|
||||||
|
"/cloudresourcemanager:v1beta1/Constraint/version": version
|
||||||
|
"/cloudresourcemanager:v1beta1/RestoreDefault": restore_default
|
||||||
|
"/cloudresourcemanager:v1beta1/GetOrgPolicyRequest": get_org_policy_request
|
||||||
|
"/cloudresourcemanager:v1beta1/GetOrgPolicyRequest/constraint": constraint
|
||||||
|
"/dataflow:v1b3/KeyRangeLocation/deprecatedPersistentDirectory": deprecated_persistent_directory
|
||||||
|
"/dataproc:v1/ClusterStatus/substate": substate
|
||||||
|
"/dataproc:v1/JobStatus/substate": substate
|
||||||
|
"/appengine:v1beta5/Application/iap": iap
|
||||||
|
"/appengine:v1beta5/IdentityAwareProxy": identity_aware_proxy
|
||||||
|
"/appengine:v1beta5/IdentityAwareProxy/enabled": enabled
|
||||||
|
"/appengine:v1beta5/IdentityAwareProxy/oauth2ClientId": oauth2_client_id
|
||||||
|
"/appengine:v1beta5/IdentityAwareProxy/oauth2ClientSecret": oauth2_client_secret
|
||||||
|
"/appengine:v1beta5/IdentityAwareProxy/oauth2ClientSecretSha256": oauth2_client_secret_sha256
|
||||||
|
"/appengine:v1beta5/OperationMetadataV1Beta": operation_metadata_v1_beta
|
||||||
|
"/appengine:v1beta5/OperationMetadataV1Beta/method": method_prop
|
||||||
|
"/appengine:v1beta5/OperationMetadataV1Beta/insertTime": insert_time
|
||||||
|
"/appengine:v1beta5/OperationMetadataV1Beta/endTime": end_time
|
||||||
|
"/appengine:v1beta5/OperationMetadataV1Beta/user": user
|
||||||
|
"/appengine:v1beta5/OperationMetadataV1Beta/target": target
|
||||||
|
"/appengine:v1beta5/OperationMetadataV1Beta/ephemeralMessage": ephemeral_message
|
||||||
|
"/appengine:v1beta5/OperationMetadataV1Beta/warning": warning
|
||||||
|
"/appengine:v1beta5/OperationMetadataV1Beta/warning/warning": warning
|
||||||
|
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/autoCreate": auto_create
|
||||||
|
"/identitytoolkit:v3/Relyingparty/androidInstallApp": android_install_app
|
||||||
|
"/identitytoolkit:v3/Relyingparty/androidMinimumVersion": android_minimum_version
|
||||||
|
"/identitytoolkit:v3/Relyingparty/androidPackageName": android_package_name
|
||||||
|
"/identitytoolkit:v3/Relyingparty/canHandleCodeInApp": can_handle_code_in_app
|
||||||
|
"/identitytoolkit:v3/Relyingparty/continueUrl": continue_url
|
||||||
|
"/identitytoolkit:v3/Relyingparty/iOSAppStoreId": i_os_app_store_id
|
||||||
|
"/identitytoolkit:v3/Relyingparty/iOSBundleId": i_os_bundle_id
|
||||||
|
"/licensing:v1/LicenseAssignment/productName": product_name
|
||||||
|
"/licensing:v1/LicenseAssignment/skuName": sku_name
|
||||||
|
"/manufacturers:v1/Count": count
|
||||||
|
"/manufacturers:v1/Count/value": value
|
||||||
|
"/manufacturers:v1/Count/unit": unit
|
||||||
|
"/manufacturers:v1/Capacity": capacity
|
||||||
|
"/manufacturers:v1/Capacity/value": value
|
||||||
|
"/manufacturers:v1/Capacity/unit": unit
|
||||||
|
"/manufacturers:v1/ProductDetail": product_detail
|
||||||
|
"/manufacturers:v1/ProductDetail/attributeValue": attribute_value
|
||||||
|
"/manufacturers:v1/ProductDetail/sectionName": section_name
|
||||||
|
"/manufacturers:v1/ProductDetail/attributeName": attribute_name
|
||||||
|
"/manufacturers:v1/FeatureDescription": feature_description
|
||||||
|
"/manufacturers:v1/FeatureDescription/text": text
|
||||||
|
"/manufacturers:v1/FeatureDescription/image": image
|
||||||
|
"/manufacturers:v1/FeatureDescription/headline": headline
|
||||||
|
"/manufacturers:v1/Issue/timestamp": timestamp
|
||||||
|
"/manufacturers:v1/Price": price
|
||||||
|
"/manufacturers:v1/Price/amount": amount
|
||||||
|
"/manufacturers:v1/Price/currency": currency
|
||||||
|
"/manufacturers:v1/Image": image
|
||||||
|
"/manufacturers:v1/Image/type": type
|
||||||
|
"/manufacturers:v1/Image/imageUrl": image_url
|
||||||
|
"/manufacturers:v1/Image/status": status
|
||||||
|
"/manufacturers:v1/Attributes/sizeSystem": size_system
|
||||||
|
"/manufacturers:v1/Attributes/theme": theme
|
||||||
|
"/manufacturers:v1/Attributes/pattern": pattern
|
||||||
|
"/manufacturers:v1/Attributes/imageLink": image_link
|
||||||
|
"/manufacturers:v1/Attributes/format": format
|
||||||
|
"/manufacturers:v1/Attributes/additionalImageLink": additional_image_link
|
||||||
|
"/manufacturers:v1/Attributes/additionalImageLink/additional_image_link": additional_image_link
|
||||||
|
"/manufacturers:v1/Attributes/videoLink": video_link
|
||||||
|
"/manufacturers:v1/Attributes/videoLink/video_link": video_link
|
||||||
|
"/manufacturers:v1/Attributes/color": color
|
||||||
|
"/manufacturers:v1/Attributes/sizeType": size_type
|
||||||
|
"/manufacturers:v1/Attributes/suggestedRetailPrice": suggested_retail_price
|
||||||
|
"/manufacturers:v1/Attributes/featureDescription": feature_description
|
||||||
|
"/manufacturers:v1/Attributes/featureDescription/feature_description": feature_description
|
||||||
|
"/manufacturers:v1/Attributes/size": size
|
||||||
|
"/manufacturers:v1/Attributes/count": count
|
||||||
|
"/manufacturers:v1/Attributes/disclosureDate": disclosure_date
|
||||||
|
"/manufacturers:v1/Attributes/material": material
|
||||||
|
"/manufacturers:v1/Attributes/scent": scent
|
||||||
|
"/manufacturers:v1/Attributes/ageGroup": age_group
|
||||||
|
"/manufacturers:v1/Attributes/productDetail": product_detail
|
||||||
|
"/manufacturers:v1/Attributes/productDetail/product_detail": product_detail
|
||||||
|
"/manufacturers:v1/Attributes/flavor": flavor
|
||||||
|
"/manufacturers:v1/Attributes/releaseDate": release_date
|
||||||
|
"/manufacturers:v1/Attributes/itemGroupId": item_group_id
|
||||||
|
"/manufacturers:v1/Attributes/capacity": capacity
|
||||||
|
"/manufacturers:v1/Attributes/description": description
|
||||||
|
"/manufacturers:v1/Attributes/gender": gender
|
||||||
|
"/people:v1/ListConnectionsResponse/totalPeople": total_people
|
||||||
|
"/reseller:v1/Subscription/skuName": sku_name
|
||||||
|
"/slides:v1/slides.presentations.pages.getThumbnail": get_presentation_page_thumbnail
|
||||||
|
"/slides:v1/slides.presentations.pages.getThumbnail/thumbnailProperties.mimeType": thumbnail_properties_mime_type
|
||||||
|
"/slides:v1/slides.presentations.pages.getThumbnail/thumbnailProperties.thumbnailSize": thumbnail_properties_thumbnail_size
|
||||||
|
"/slides:v1/slides.presentations.pages.getThumbnail/presentationId": presentation_id
|
||||||
|
"/slides:v1/slides.presentations.pages.getThumbnail/pageObjectId": page_object_id
|
||||||
|
"/slides:v1/WeightedFontFamily": weighted_font_family
|
||||||
|
"/slides:v1/WeightedFontFamily/fontFamily": font_family
|
||||||
|
"/slides:v1/WeightedFontFamily/weight": weight
|
||||||
|
"/slides:v1/TextStyle/weightedFontFamily": weighted_font_family
|
||||||
|
"/slides:v1/Thumbnail": thumbnail
|
||||||
|
"/slides:v1/Thumbnail/height": height
|
||||||
|
"/slides:v1/Thumbnail/contentUrl": content_url
|
||||||
|
"/slides:v1/Thumbnail/width": width
|
||||||
|
"/storage:v1/storage.buckets.getIamPolicy": get_bucket_iam_policy
|
||||||
|
"/storage:v1/storage.buckets.getIamPolicy/bucket": bucket
|
||||||
|
"/storage:v1/storage.buckets.setIamPolicy": set_bucket_iam_policy
|
||||||
|
"/storage:v1/storage.buckets.setIamPolicy/bucket": bucket
|
||||||
|
"/storage:v1/storage.buckets.testIamPermissions": test_bucket_iam_permissions
|
||||||
|
"/storage:v1/storage.buckets.testIamPermissions/bucket": bucket
|
||||||
|
"/storage:v1/storage.buckets.testIamPermissions/permissions": permissions
|
||||||
|
"/storage:v1/storage.objects.getIamPolicy": get_object_iam_policy
|
||||||
|
"/storage:v1/storage.objects.getIamPolicy/bucket": bucket
|
||||||
|
"/storage:v1/storage.objects.getIamPolicy/generation": generation
|
||||||
|
"/storage:v1/storage.objects.getIamPolicy/object": object
|
||||||
|
"/storage:v1/storage.objects.setIamPolicy": set_object_iam_policy
|
||||||
|
"/storage:v1/storage.objects.setIamPolicy/bucket": bucket
|
||||||
|
"/storage:v1/storage.objects.setIamPolicy/generation": generation
|
||||||
|
"/storage:v1/storage.objects.setIamPolicy/object": object
|
||||||
|
"/storage:v1/storage.objects.testIamPermissions": test_object_iam_permissions
|
||||||
|
"/storage:v1/storage.objects.testIamPermissions/bucket": bucket
|
||||||
|
"/storage:v1/storage.objects.testIamPermissions/generation": generation
|
||||||
|
"/storage:v1/storage.objects.testIamPermissions/object": object
|
||||||
|
"/storage:v1/storage.objects.testIamPermissions/permissions": permissions
|
||||||
|
"/storage:v1/Policy": policy
|
||||||
|
"/storage:v1/Policy/bindings": bindings
|
||||||
|
"/storage:v1/Policy/bindings/binding": binding
|
||||||
|
"/storage:v1/Policy/bindings/binding/members": members
|
||||||
|
"/storage:v1/Policy/bindings/binding/members/member": member
|
||||||
|
"/storage:v1/Policy/bindings/binding/role": role
|
||||||
|
"/storage:v1/Policy/etag": etag
|
||||||
|
"/storage:v1/Policy/kind": kind
|
||||||
|
"/storage:v1/Policy/resourceId": resource_id
|
||||||
|
"/storage:v1/TestIamPermissionsResponse": test_iam_permissions_response
|
||||||
|
"/storage:v1/TestIamPermissionsResponse/kind": kind
|
||||||
|
"/storage:v1/TestIamPermissionsResponse/permissions": permissions
|
||||||
|
"/storage:v1/TestIamPermissionsResponse/permissions/permission": permission
|
||||||
|
"/vision:v1/WebDetection/visuallySimilarImages": visually_similar_images
|
||||||
|
"/vision:v1/WebDetection/visuallySimilarImages/visually_similar_image": visually_similar_image
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://developers.google.com/ad-exchange/buyer-rest/guides/client-access/
|
# @see https://developers.google.com/ad-exchange/buyer-rest/guides/client-access/
|
||||||
module Adexchangebuyer2V2beta1
|
module Adexchangebuyer2V2beta1
|
||||||
VERSION = 'V2beta1'
|
VERSION = 'V2beta1'
|
||||||
REVISION = '20170308'
|
REVISION = '20170324'
|
||||||
|
|
||||||
# Manage your Ad Exchange buyer account configuration
|
# Manage your Ad Exchange buyer account configuration
|
||||||
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
|
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
|
||||||
|
|
|
@ -22,25 +22,6 @@ module Google
|
||||||
module Apis
|
module Apis
|
||||||
module Adexchangebuyer2V2beta1
|
module Adexchangebuyer2V2beta1
|
||||||
|
|
||||||
# A generic empty message that you can re-use to avoid defining duplicated
|
|
||||||
# empty messages in your APIs. A typical example is to use it as the request
|
|
||||||
# or the response type of an API method. For instance:
|
|
||||||
# service Foo `
|
|
||||||
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
|
||||||
# `
|
|
||||||
# The JSON representation for `Empty` is empty JSON object ````.
|
|
||||||
class Empty
|
|
||||||
include Google::Apis::Core::Hashable
|
|
||||||
|
|
||||||
def initialize(**args)
|
|
||||||
update!(**args)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Update properties of this object
|
|
||||||
def update!(**args)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
# A request for watching changes to creative Status.
|
# A request for watching changes to creative Status.
|
||||||
class WatchCreativeRequest
|
class WatchCreativeRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -83,6 +64,36 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class ListClientsResponse
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The returned list of clients.
|
||||||
|
# Corresponds to the JSON property `clients`
|
||||||
|
# @return [Array<Google::Apis::Adexchangebuyer2V2beta1::Client>]
|
||||||
|
attr_accessor :clients
|
||||||
|
|
||||||
|
# A token to retrieve the next page of results.
|
||||||
|
# Pass this value in the
|
||||||
|
# ListClientsRequest.pageToken
|
||||||
|
# field in the subsequent call to the
|
||||||
|
# accounts.clients.list method
|
||||||
|
# to retrieve the next page of results.
|
||||||
|
# Corresponds to the JSON property `nextPageToken`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :next_page_token
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@clients = args[:clients] if args.key?(:clients)
|
||||||
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Native content for a creative.
|
# Native content for a creative.
|
||||||
class NativeContent
|
class NativeContent
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -177,36 +188,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
#
|
|
||||||
class ListClientsResponse
|
|
||||||
include Google::Apis::Core::Hashable
|
|
||||||
|
|
||||||
# The returned list of clients.
|
|
||||||
# Corresponds to the JSON property `clients`
|
|
||||||
# @return [Array<Google::Apis::Adexchangebuyer2V2beta1::Client>]
|
|
||||||
attr_accessor :clients
|
|
||||||
|
|
||||||
# A token to retrieve the next page of results.
|
|
||||||
# Pass this value in the
|
|
||||||
# ListClientsRequest.pageToken
|
|
||||||
# field in the subsequent call to the
|
|
||||||
# accounts.clients.list method
|
|
||||||
# to retrieve the next page of results.
|
|
||||||
# Corresponds to the JSON property `nextPageToken`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :next_page_token
|
|
||||||
|
|
||||||
def initialize(**args)
|
|
||||||
update!(**args)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Update properties of this object
|
|
||||||
def update!(**args)
|
|
||||||
@clients = args[:clients] if args.key?(:clients)
|
|
||||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
# @OutputOnly A security context.
|
# @OutputOnly A security context.
|
||||||
class SecurityContext
|
class SecurityContext
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -226,6 +207,37 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# HTML content for a creative.
|
||||||
|
class HtmlContent
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The width of the HTML snippet in pixels.
|
||||||
|
# Corresponds to the JSON property `width`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :width
|
||||||
|
|
||||||
|
# The HTML snippet that displays the ad when inserted in the web page.
|
||||||
|
# Corresponds to the JSON property `snippet`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :snippet
|
||||||
|
|
||||||
|
# The height of the HTML snippet in pixels.
|
||||||
|
# Corresponds to the JSON property `height`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :height
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@width = args[:width] if args.key?(:width)
|
||||||
|
@snippet = args[:snippet] if args.key?(:snippet)
|
||||||
|
@height = args[:height] if args.key?(:height)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# A response for listing creatives.
|
# A response for listing creatives.
|
||||||
class ListCreativesResponse
|
class ListCreativesResponse
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -255,37 +267,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# HTML content for a creative.
|
|
||||||
class HtmlContent
|
|
||||||
include Google::Apis::Core::Hashable
|
|
||||||
|
|
||||||
# The height of the HTML snippet in pixels.
|
|
||||||
# Corresponds to the JSON property `height`
|
|
||||||
# @return [Fixnum]
|
|
||||||
attr_accessor :height
|
|
||||||
|
|
||||||
# The width of the HTML snippet in pixels.
|
|
||||||
# Corresponds to the JSON property `width`
|
|
||||||
# @return [Fixnum]
|
|
||||||
attr_accessor :width
|
|
||||||
|
|
||||||
# The HTML snippet that displays the ad when inserted in the web page.
|
|
||||||
# Corresponds to the JSON property `snippet`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :snippet
|
|
||||||
|
|
||||||
def initialize(**args)
|
|
||||||
update!(**args)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Update properties of this object
|
|
||||||
def update!(**args)
|
|
||||||
@height = args[:height] if args.key?(:height)
|
|
||||||
@width = args[:width] if args.key?(:width)
|
|
||||||
@snippet = args[:snippet] if args.key?(:snippet)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
# The serving context for this restriction.
|
# The serving context for this restriction.
|
||||||
class ServingContext
|
class ServingContext
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -421,6 +402,13 @@ module Google
|
||||||
class ClientUserInvitation
|
class ClientUserInvitation
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The email address to which the invitation is sent. Email
|
||||||
|
# addresses should be unique among all client users under each sponsor
|
||||||
|
# buyer.
|
||||||
|
# Corresponds to the JSON property `email`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :email
|
||||||
|
|
||||||
# Numerical account ID of the client buyer
|
# Numerical account ID of the client buyer
|
||||||
# that the invited user is associated with.
|
# that the invited user is associated with.
|
||||||
# The value of this field is ignored in create operations.
|
# The value of this field is ignored in create operations.
|
||||||
|
@ -434,22 +422,15 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :invitation_id
|
attr_accessor :invitation_id
|
||||||
|
|
||||||
# The email address to which the invitation is sent. Email
|
|
||||||
# addresses should be unique among all client users under each sponsor
|
|
||||||
# buyer.
|
|
||||||
# Corresponds to the JSON property `email`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :email
|
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
|
@email = args[:email] if args.key?(:email)
|
||||||
@client_account_id = args[:client_account_id] if args.key?(:client_account_id)
|
@client_account_id = args[:client_account_id] if args.key?(:client_account_id)
|
||||||
@invitation_id = args[:invitation_id] if args.key?(:invitation_id)
|
@invitation_id = args[:invitation_id] if args.key?(:invitation_id)
|
||||||
@email = args[:email] if args.key?(:email)
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -632,11 +613,6 @@ module Google
|
||||||
class CreativeDealAssociation
|
class CreativeDealAssociation
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# The account the creative belongs to.
|
|
||||||
# Corresponds to the JSON property `accountId`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :account_id
|
|
||||||
|
|
||||||
# The ID of the creative associated with the deal.
|
# The ID of the creative associated with the deal.
|
||||||
# Corresponds to the JSON property `creativeId`
|
# Corresponds to the JSON property `creativeId`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -647,15 +623,20 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :deals_id
|
attr_accessor :deals_id
|
||||||
|
|
||||||
|
# The account the creative belongs to.
|
||||||
|
# Corresponds to the JSON property `accountId`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :account_id
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@account_id = args[:account_id] if args.key?(:account_id)
|
|
||||||
@creative_id = args[:creative_id] if args.key?(:creative_id)
|
@creative_id = args[:creative_id] if args.key?(:creative_id)
|
||||||
@deals_id = args[:deals_id] if args.key?(:deals_id)
|
@deals_id = args[:deals_id] if args.key?(:deals_id)
|
||||||
|
@account_id = args[:account_id] if args.key?(:account_id)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -664,11 +645,6 @@ module Google
|
||||||
class FilteringStats
|
class FilteringStats
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# The set of filtering reasons for this date.
|
|
||||||
# Corresponds to the JSON property `reasons`
|
|
||||||
# @return [Array<Google::Apis::Adexchangebuyer2V2beta1::Reason>]
|
|
||||||
attr_accessor :reasons
|
|
||||||
|
|
||||||
# Represents a whole calendar date, e.g. date of birth. The time of day and
|
# Represents a whole calendar date, e.g. date of birth. The time of day and
|
||||||
# time zone are either specified elsewhere or are not significant. The date
|
# time zone are either specified elsewhere or are not significant. The date
|
||||||
# is relative to the Proleptic Gregorian Calendar. The day may be 0 to
|
# is relative to the Proleptic Gregorian Calendar. The day may be 0 to
|
||||||
|
@ -680,14 +656,19 @@ module Google
|
||||||
# @return [Google::Apis::Adexchangebuyer2V2beta1::Date]
|
# @return [Google::Apis::Adexchangebuyer2V2beta1::Date]
|
||||||
attr_accessor :date
|
attr_accessor :date
|
||||||
|
|
||||||
|
# The set of filtering reasons for this date.
|
||||||
|
# Corresponds to the JSON property `reasons`
|
||||||
|
# @return [Array<Google::Apis::Adexchangebuyer2V2beta1::Reason>]
|
||||||
|
attr_accessor :reasons
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@reasons = args[:reasons] if args.key?(:reasons)
|
|
||||||
@date = args[:date] if args.key?(:date)
|
@date = args[:date] if args.key?(:date)
|
||||||
|
@reasons = args[:reasons] if args.key?(:reasons)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -695,10 +676,81 @@ module Google
|
||||||
class Creative
|
class Creative
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Video content for a creative.
|
# @OutputOnly The top-level open auction status of this creative.
|
||||||
# Corresponds to the JSON property `video`
|
# If disapproved, an entry for 'auctionType = OPEN_AUCTION' (or 'ALL') in
|
||||||
# @return [Google::Apis::Adexchangebuyer2V2beta1::VideoContent]
|
# serving_restrictions will also exist. Note
|
||||||
attr_accessor :video
|
# that this may be nuanced with other contextual restrictions, in which case,
|
||||||
|
# it may be preferable to read from serving_restrictions directly.
|
||||||
|
# Can be used to filter the response of the
|
||||||
|
# creatives.list
|
||||||
|
# method.
|
||||||
|
# Corresponds to the JSON property `openAuctionStatus`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :open_auction_status
|
||||||
|
|
||||||
|
# The name of the company being advertised in the creative.
|
||||||
|
# Corresponds to the JSON property `advertiserName`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :advertiser_name
|
||||||
|
|
||||||
|
# @OutputOnly Detected advertiser IDs, if any.
|
||||||
|
# Corresponds to the JSON property `detectedAdvertiserIds`
|
||||||
|
# @return [Array<String>]
|
||||||
|
attr_accessor :detected_advertiser_ids
|
||||||
|
|
||||||
|
# @OutputOnly
|
||||||
|
# The detected domains for this creative.
|
||||||
|
# Corresponds to the JSON property `detectedDomains`
|
||||||
|
# @return [Array<String>]
|
||||||
|
attr_accessor :detected_domains
|
||||||
|
|
||||||
|
# @OutputOnly Filtering reasons for this creative during a period of a single
|
||||||
|
# day (from midnight to midnight Pacific).
|
||||||
|
# Corresponds to the JSON property `filteringStats`
|
||||||
|
# @return [Google::Apis::Adexchangebuyer2V2beta1::FilteringStats]
|
||||||
|
attr_accessor :filtering_stats
|
||||||
|
|
||||||
|
# All attributes for the ads that may be shown from this creative.
|
||||||
|
# Can be used to filter the response of the
|
||||||
|
# creatives.list
|
||||||
|
# method.
|
||||||
|
# Corresponds to the JSON property `attributes`
|
||||||
|
# @return [Array<String>]
|
||||||
|
attr_accessor :attributes
|
||||||
|
|
||||||
|
# @OutputOnly The last update timestamp of the creative via API.
|
||||||
|
# Corresponds to the JSON property `apiUpdateTime`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :api_update_time
|
||||||
|
|
||||||
|
# @OutputOnly
|
||||||
|
# The detected languages for this creative. The order is arbitrary. The codes
|
||||||
|
# are 2 or 5 characters and are documented at
|
||||||
|
# https://developers.google.com/adwords/api/docs/appendix/languagecodes.
|
||||||
|
# Corresponds to the JSON property `detectedLanguages`
|
||||||
|
# @return [Array<String>]
|
||||||
|
attr_accessor :detected_languages
|
||||||
|
|
||||||
|
# The buyer-defined creative ID of this creative.
|
||||||
|
# Can be used to filter the response of the
|
||||||
|
# creatives.list
|
||||||
|
# method.
|
||||||
|
# Corresponds to the JSON property `creativeId`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :creative_id
|
||||||
|
|
||||||
|
# The account that this creative belongs to.
|
||||||
|
# Can be used to filter the response of the
|
||||||
|
# creatives.list
|
||||||
|
# method.
|
||||||
|
# Corresponds to the JSON property `accountId`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :account_id
|
||||||
|
|
||||||
|
# Native content for a creative.
|
||||||
|
# Corresponds to the JSON property `native`
|
||||||
|
# @return [Google::Apis::Adexchangebuyer2V2beta1::NativeContent]
|
||||||
|
attr_accessor :native
|
||||||
|
|
||||||
# @OutputOnly The granular status of this ad in specific contexts.
|
# @OutputOnly The granular status of this ad in specific contexts.
|
||||||
# A context here relates to where something ultimately serves (for example,
|
# A context here relates to where something ultimately serves (for example,
|
||||||
|
@ -708,6 +760,11 @@ module Google
|
||||||
# @return [Array<Google::Apis::Adexchangebuyer2V2beta1::ServingRestriction>]
|
# @return [Array<Google::Apis::Adexchangebuyer2V2beta1::ServingRestriction>]
|
||||||
attr_accessor :serving_restrictions
|
attr_accessor :serving_restrictions
|
||||||
|
|
||||||
|
# Video content for a creative.
|
||||||
|
# Corresponds to the JSON property `video`
|
||||||
|
# @return [Google::Apis::Adexchangebuyer2V2beta1::VideoContent]
|
||||||
|
attr_accessor :video
|
||||||
|
|
||||||
# The agency ID for this creative.
|
# The agency ID for this creative.
|
||||||
# Corresponds to the JSON property `agencyId`
|
# Corresponds to the JSON property `agencyId`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -782,90 +839,25 @@ module Google
|
||||||
# @return [Array<Fixnum>]
|
# @return [Array<Fixnum>]
|
||||||
attr_accessor :detected_product_categories
|
attr_accessor :detected_product_categories
|
||||||
|
|
||||||
# @OutputOnly The top-level open auction status of this creative.
|
|
||||||
# If disapproved, an entry for 'auctionType = OPEN_AUCTION' (or 'ALL') in
|
|
||||||
# serving_restrictions will also exist. Note
|
|
||||||
# that this may be nuanced with other contextual restrictions, in which case,
|
|
||||||
# it may be preferable to read from serving_restrictions directly.
|
|
||||||
# Can be used to filter the response of the
|
|
||||||
# creatives.list
|
|
||||||
# method.
|
|
||||||
# Corresponds to the JSON property `openAuctionStatus`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :open_auction_status
|
|
||||||
|
|
||||||
# The name of the company being advertised in the creative.
|
|
||||||
# Corresponds to the JSON property `advertiserName`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :advertiser_name
|
|
||||||
|
|
||||||
# @OutputOnly
|
|
||||||
# The detected domains for this creative.
|
|
||||||
# Corresponds to the JSON property `detectedDomains`
|
|
||||||
# @return [Array<String>]
|
|
||||||
attr_accessor :detected_domains
|
|
||||||
|
|
||||||
# @OutputOnly Detected advertiser IDs, if any.
|
|
||||||
# Corresponds to the JSON property `detectedAdvertiserIds`
|
|
||||||
# @return [Array<String>]
|
|
||||||
attr_accessor :detected_advertiser_ids
|
|
||||||
|
|
||||||
# @OutputOnly Filtering reasons for this creative during a period of a single
|
|
||||||
# day (from midnight to midnight Pacific).
|
|
||||||
# Corresponds to the JSON property `filteringStats`
|
|
||||||
# @return [Google::Apis::Adexchangebuyer2V2beta1::FilteringStats]
|
|
||||||
attr_accessor :filtering_stats
|
|
||||||
|
|
||||||
# All attributes for the ads that may be shown from this creative.
|
|
||||||
# Can be used to filter the response of the
|
|
||||||
# creatives.list
|
|
||||||
# method.
|
|
||||||
# Corresponds to the JSON property `attributes`
|
|
||||||
# @return [Array<String>]
|
|
||||||
attr_accessor :attributes
|
|
||||||
|
|
||||||
# @OutputOnly The last update timestamp of the creative via API.
|
|
||||||
# Corresponds to the JSON property `apiUpdateTime`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :api_update_time
|
|
||||||
|
|
||||||
# @OutputOnly
|
|
||||||
# The detected languages for this creative. The order is arbitrary. The codes
|
|
||||||
# are 2 or 5 characters and are documented at
|
|
||||||
# https://developers.google.com/adwords/api/docs/appendix/languagecodes.
|
|
||||||
# Corresponds to the JSON property `detectedLanguages`
|
|
||||||
# @return [Array<String>]
|
|
||||||
attr_accessor :detected_languages
|
|
||||||
|
|
||||||
# The buyer-defined creative ID of this creative.
|
|
||||||
# Can be used to filter the response of the
|
|
||||||
# creatives.list
|
|
||||||
# method.
|
|
||||||
# Corresponds to the JSON property `creativeId`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :creative_id
|
|
||||||
|
|
||||||
# The account that this creative belongs to.
|
|
||||||
# Can be used to filter the response of the
|
|
||||||
# creatives.list
|
|
||||||
# method.
|
|
||||||
# Corresponds to the JSON property `accountId`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :account_id
|
|
||||||
|
|
||||||
# Native content for a creative.
|
|
||||||
# Corresponds to the JSON property `native`
|
|
||||||
# @return [Google::Apis::Adexchangebuyer2V2beta1::NativeContent]
|
|
||||||
attr_accessor :native
|
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@video = args[:video] if args.key?(:video)
|
@open_auction_status = args[:open_auction_status] if args.key?(:open_auction_status)
|
||||||
|
@advertiser_name = args[:advertiser_name] if args.key?(:advertiser_name)
|
||||||
|
@detected_advertiser_ids = args[:detected_advertiser_ids] if args.key?(:detected_advertiser_ids)
|
||||||
|
@detected_domains = args[:detected_domains] if args.key?(:detected_domains)
|
||||||
|
@filtering_stats = args[:filtering_stats] if args.key?(:filtering_stats)
|
||||||
|
@attributes = args[:attributes] if args.key?(:attributes)
|
||||||
|
@api_update_time = args[:api_update_time] if args.key?(:api_update_time)
|
||||||
|
@detected_languages = args[:detected_languages] if args.key?(:detected_languages)
|
||||||
|
@creative_id = args[:creative_id] if args.key?(:creative_id)
|
||||||
|
@account_id = args[:account_id] if args.key?(:account_id)
|
||||||
|
@native = args[:native] if args.key?(:native)
|
||||||
@serving_restrictions = args[:serving_restrictions] if args.key?(:serving_restrictions)
|
@serving_restrictions = args[:serving_restrictions] if args.key?(:serving_restrictions)
|
||||||
|
@video = args[:video] if args.key?(:video)
|
||||||
@agency_id = args[:agency_id] if args.key?(:agency_id)
|
@agency_id = args[:agency_id] if args.key?(:agency_id)
|
||||||
@click_through_urls = args[:click_through_urls] if args.key?(:click_through_urls)
|
@click_through_urls = args[:click_through_urls] if args.key?(:click_through_urls)
|
||||||
@ad_choices_destination_url = args[:ad_choices_destination_url] if args.key?(:ad_choices_destination_url)
|
@ad_choices_destination_url = args[:ad_choices_destination_url] if args.key?(:ad_choices_destination_url)
|
||||||
|
@ -878,17 +870,6 @@ module Google
|
||||||
@html = args[:html] if args.key?(:html)
|
@html = args[:html] if args.key?(:html)
|
||||||
@deals_status = args[:deals_status] if args.key?(:deals_status)
|
@deals_status = args[:deals_status] if args.key?(:deals_status)
|
||||||
@detected_product_categories = args[:detected_product_categories] if args.key?(:detected_product_categories)
|
@detected_product_categories = args[:detected_product_categories] if args.key?(:detected_product_categories)
|
||||||
@open_auction_status = args[:open_auction_status] if args.key?(:open_auction_status)
|
|
||||||
@advertiser_name = args[:advertiser_name] if args.key?(:advertiser_name)
|
|
||||||
@detected_domains = args[:detected_domains] if args.key?(:detected_domains)
|
|
||||||
@detected_advertiser_ids = args[:detected_advertiser_ids] if args.key?(:detected_advertiser_ids)
|
|
||||||
@filtering_stats = args[:filtering_stats] if args.key?(:filtering_stats)
|
|
||||||
@attributes = args[:attributes] if args.key?(:attributes)
|
|
||||||
@api_update_time = args[:api_update_time] if args.key?(:api_update_time)
|
|
||||||
@detected_languages = args[:detected_languages] if args.key?(:detected_languages)
|
|
||||||
@creative_id = args[:creative_id] if args.key?(:creative_id)
|
|
||||||
@account_id = args[:account_id] if args.key?(:account_id)
|
|
||||||
@native = args[:native] if args.key?(:native)
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -921,6 +902,23 @@ module Google
|
||||||
class Client
|
class Client
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The name of the entity. This field is automatically fetched based on
|
||||||
|
# the type and ID.
|
||||||
|
# The value of this field is ignored in create and update operations.
|
||||||
|
# Corresponds to the JSON property `entityName`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :entity_name
|
||||||
|
|
||||||
|
# The status of the client buyer.
|
||||||
|
# Corresponds to the JSON property `status`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :status
|
||||||
|
|
||||||
|
# The type of the client entity: `ADVERTISER`, `BRAND`, or `AGENCY`.
|
||||||
|
# Corresponds to the JSON property `entityType`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :entity_type
|
||||||
|
|
||||||
# Name used to represent this client to publishers.
|
# Name used to represent this client to publishers.
|
||||||
# You may have multiple clients that map to the same entity,
|
# You may have multiple clients that map to the same entity,
|
||||||
# but for each client the combination of `clientName` and entity
|
# but for each client the combination of `clientName` and entity
|
||||||
|
@ -967,37 +965,20 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :client_account_id
|
attr_accessor :client_account_id
|
||||||
|
|
||||||
# The name of the entity. This field is automatically fetched based on
|
|
||||||
# the type and ID.
|
|
||||||
# The value of this field is ignored in create and update operations.
|
|
||||||
# Corresponds to the JSON property `entityName`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :entity_name
|
|
||||||
|
|
||||||
# The status of the client buyer.
|
|
||||||
# Corresponds to the JSON property `status`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :status
|
|
||||||
|
|
||||||
# The type of the client entity: `ADVERTISER`, `BRAND`, or `AGENCY`.
|
|
||||||
# Corresponds to the JSON property `entityType`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :entity_type
|
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
|
@entity_name = args[:entity_name] if args.key?(:entity_name)
|
||||||
|
@status = args[:status] if args.key?(:status)
|
||||||
|
@entity_type = args[:entity_type] if args.key?(:entity_type)
|
||||||
@client_name = args[:client_name] if args.key?(:client_name)
|
@client_name = args[:client_name] if args.key?(:client_name)
|
||||||
@role = args[:role] if args.key?(:role)
|
@role = args[:role] if args.key?(:role)
|
||||||
@visible_to_seller = args[:visible_to_seller] if args.key?(:visible_to_seller)
|
@visible_to_seller = args[:visible_to_seller] if args.key?(:visible_to_seller)
|
||||||
@entity_id = args[:entity_id] if args.key?(:entity_id)
|
@entity_id = args[:entity_id] if args.key?(:entity_id)
|
||||||
@client_account_id = args[:client_account_id] if args.key?(:client_account_id)
|
@client_account_id = args[:client_account_id] if args.key?(:client_account_id)
|
||||||
@entity_name = args[:entity_name] if args.key?(:entity_name)
|
|
||||||
@status = args[:status] if args.key?(:status)
|
|
||||||
@entity_type = args[:entity_type] if args.key?(:entity_type)
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -1005,6 +986,11 @@ module Google
|
||||||
class Correction
|
class Correction
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Additional details about what was corrected.
|
||||||
|
# Corresponds to the JSON property `details`
|
||||||
|
# @return [Array<String>]
|
||||||
|
attr_accessor :details
|
||||||
|
|
||||||
# The type of correction that was applied to the creative.
|
# The type of correction that was applied to the creative.
|
||||||
# Corresponds to the JSON property `type`
|
# Corresponds to the JSON property `type`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -1015,39 +1001,15 @@ module Google
|
||||||
# @return [Array<Google::Apis::Adexchangebuyer2V2beta1::ServingContext>]
|
# @return [Array<Google::Apis::Adexchangebuyer2V2beta1::ServingContext>]
|
||||||
attr_accessor :contexts
|
attr_accessor :contexts
|
||||||
|
|
||||||
# Additional details about what was corrected.
|
|
||||||
# Corresponds to the JSON property `details`
|
|
||||||
# @return [Array<String>]
|
|
||||||
attr_accessor :details
|
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
|
@details = args[:details] if args.key?(:details)
|
||||||
@type = args[:type] if args.key?(:type)
|
@type = args[:type] if args.key?(:type)
|
||||||
@contexts = args[:contexts] if args.key?(:contexts)
|
@contexts = args[:contexts] if args.key?(:contexts)
|
||||||
@details = args[:details] if args.key?(:details)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
# A request for associating a deal and a creative.
|
|
||||||
class AddDealAssociationRequest
|
|
||||||
include Google::Apis::Core::Hashable
|
|
||||||
|
|
||||||
# The association between a creative and a deal.
|
|
||||||
# Corresponds to the JSON property `association`
|
|
||||||
# @return [Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation]
|
|
||||||
attr_accessor :association
|
|
||||||
|
|
||||||
def initialize(**args)
|
|
||||||
update!(**args)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Update properties of this object
|
|
||||||
def update!(**args)
|
|
||||||
@association = args[:association] if args.key?(:association)
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -1080,6 +1042,38 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# A request for associating a deal and a creative.
|
||||||
|
class AddDealAssociationRequest
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The association between a creative and a deal.
|
||||||
|
# Corresponds to the JSON property `association`
|
||||||
|
# @return [Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation]
|
||||||
|
attr_accessor :association
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@association = args[:association] if args.key?(:association)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# A request for stopping notifications for changes to creative Status.
|
||||||
|
class StopWatchingCreativeRequest
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# @OutputOnly The reason and details for a disapproval.
|
# @OutputOnly The reason and details for a disapproval.
|
||||||
class Disapproval
|
class Disapproval
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -1105,19 +1099,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# A request for stopping notifications for changes to creative Status.
|
|
||||||
class StopWatchingCreativeRequest
|
|
||||||
include Google::Apis::Core::Hashable
|
|
||||||
|
|
||||||
def initialize(**args)
|
|
||||||
update!(**args)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Update properties of this object
|
|
||||||
def update!(**args)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
# @OutputOnly A representation of the status of an ad in a
|
# @OutputOnly A representation of the status of an ad in a
|
||||||
# specific context. A context here relates to where something ultimately serves
|
# specific context. A context here relates to where something ultimately serves
|
||||||
# (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request,
|
# (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request,
|
||||||
|
@ -1125,15 +1106,6 @@ module Google
|
||||||
class ServingRestriction
|
class ServingRestriction
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Any disapprovals bound to this restriction.
|
|
||||||
# Only present if status=DISAPPROVED.
|
|
||||||
# Can be used to filter the response of the
|
|
||||||
# creatives.list
|
|
||||||
# method.
|
|
||||||
# Corresponds to the JSON property `disapprovalReasons`
|
|
||||||
# @return [Array<Google::Apis::Adexchangebuyer2V2beta1::Disapproval>]
|
|
||||||
attr_accessor :disapproval_reasons
|
|
||||||
|
|
||||||
# The contexts for the restriction.
|
# The contexts for the restriction.
|
||||||
# Corresponds to the JSON property `contexts`
|
# Corresponds to the JSON property `contexts`
|
||||||
# @return [Array<Google::Apis::Adexchangebuyer2V2beta1::ServingContext>]
|
# @return [Array<Google::Apis::Adexchangebuyer2V2beta1::ServingContext>]
|
||||||
|
@ -1145,15 +1117,24 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :status
|
attr_accessor :status
|
||||||
|
|
||||||
|
# Any disapprovals bound to this restriction.
|
||||||
|
# Only present if status=DISAPPROVED.
|
||||||
|
# Can be used to filter the response of the
|
||||||
|
# creatives.list
|
||||||
|
# method.
|
||||||
|
# Corresponds to the JSON property `disapprovalReasons`
|
||||||
|
# @return [Array<Google::Apis::Adexchangebuyer2V2beta1::Disapproval>]
|
||||||
|
attr_accessor :disapproval_reasons
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@disapproval_reasons = args[:disapproval_reasons] if args.key?(:disapproval_reasons)
|
|
||||||
@contexts = args[:contexts] if args.key?(:contexts)
|
@contexts = args[:contexts] if args.key?(:contexts)
|
||||||
@status = args[:status] if args.key?(:status)
|
@status = args[:status] if args.key?(:status)
|
||||||
|
@disapproval_reasons = args[:disapproval_reasons] if args.key?(:disapproval_reasons)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -1195,6 +1176,25 @@ module Google
|
||||||
@month = args[:month] if args.key?(:month)
|
@month = args[:month] if args.key?(:month)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# A generic empty message that you can re-use to avoid defining duplicated
|
||||||
|
# empty messages in your APIs. A typical example is to use it as the request
|
||||||
|
# or the response type of an API method. For instance:
|
||||||
|
# service Foo `
|
||||||
|
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
||||||
|
# `
|
||||||
|
# The JSON representation for `Empty` is empty JSON object ````.
|
||||||
|
class Empty
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -22,12 +22,6 @@ module Google
|
||||||
module Apis
|
module Apis
|
||||||
module Adexchangebuyer2V2beta1
|
module Adexchangebuyer2V2beta1
|
||||||
|
|
||||||
class Empty
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class WatchCreativeRequest
|
class WatchCreativeRequest
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -40,13 +34,13 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class NativeContent
|
class ListClientsResponse
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class ListClientsResponse
|
class NativeContent
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
@ -58,13 +52,13 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class ListCreativesResponse
|
class HtmlContent
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class HtmlContent
|
class ListCreativesResponse
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
@ -172,19 +166,13 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class AddDealAssociationRequest
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class ListDealAssociationsResponse
|
class ListDealAssociationsResponse
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class Disapproval
|
class AddDealAssociationRequest
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
@ -196,6 +184,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class Disapproval
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class ServingRestriction
|
class ServingRestriction
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -209,9 +203,9 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
class Empty
|
class Empty
|
||||||
# @private
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
end
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class WatchCreativeRequest
|
class WatchCreativeRequest
|
||||||
|
@ -228,6 +222,15 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ListClientsResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :clients, as: 'clients', class: Google::Apis::Adexchangebuyer2V2beta1::Client, decorator: Google::Apis::Adexchangebuyer2V2beta1::Client::Representation
|
||||||
|
|
||||||
|
property :next_page_token, as: 'nextPageToken'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class NativeContent
|
class NativeContent
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -250,15 +253,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class ListClientsResponse
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
collection :clients, as: 'clients', class: Google::Apis::Adexchangebuyer2V2beta1::Client, decorator: Google::Apis::Adexchangebuyer2V2beta1::Client::Representation
|
|
||||||
|
|
||||||
property :next_page_token, as: 'nextPageToken'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class SecurityContext
|
class SecurityContext
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -266,6 +260,15 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class HtmlContent
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :width, as: 'width'
|
||||||
|
property :snippet, as: 'snippet'
|
||||||
|
property :height, as: 'height'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class ListCreativesResponse
|
class ListCreativesResponse
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -275,15 +278,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class HtmlContent
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :height, as: 'height'
|
|
||||||
property :width, as: 'width'
|
|
||||||
property :snippet, as: 'snippet'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class ServingContext
|
class ServingContext
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -328,9 +322,9 @@ module Google
|
||||||
class ClientUserInvitation
|
class ClientUserInvitation
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :email, as: 'email'
|
||||||
property :client_account_id, as: 'clientAccountId'
|
property :client_account_id, as: 'clientAccountId'
|
||||||
property :invitation_id, as: 'invitationId'
|
property :invitation_id, as: 'invitationId'
|
||||||
property :email, as: 'email'
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -386,29 +380,42 @@ module Google
|
||||||
class CreativeDealAssociation
|
class CreativeDealAssociation
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :account_id, as: 'accountId'
|
|
||||||
property :creative_id, as: 'creativeId'
|
property :creative_id, as: 'creativeId'
|
||||||
property :deals_id, as: 'dealsId'
|
property :deals_id, as: 'dealsId'
|
||||||
|
property :account_id, as: 'accountId'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class FilteringStats
|
class FilteringStats
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
collection :reasons, as: 'reasons', class: Google::Apis::Adexchangebuyer2V2beta1::Reason, decorator: Google::Apis::Adexchangebuyer2V2beta1::Reason::Representation
|
|
||||||
|
|
||||||
property :date, as: 'date', class: Google::Apis::Adexchangebuyer2V2beta1::Date, decorator: Google::Apis::Adexchangebuyer2V2beta1::Date::Representation
|
property :date, as: 'date', class: Google::Apis::Adexchangebuyer2V2beta1::Date, decorator: Google::Apis::Adexchangebuyer2V2beta1::Date::Representation
|
||||||
|
|
||||||
|
collection :reasons, as: 'reasons', class: Google::Apis::Adexchangebuyer2V2beta1::Reason, decorator: Google::Apis::Adexchangebuyer2V2beta1::Reason::Representation
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class Creative
|
class Creative
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :video, as: 'video', class: Google::Apis::Adexchangebuyer2V2beta1::VideoContent, decorator: Google::Apis::Adexchangebuyer2V2beta1::VideoContent::Representation
|
property :open_auction_status, as: 'openAuctionStatus'
|
||||||
|
property :advertiser_name, as: 'advertiserName'
|
||||||
|
collection :detected_advertiser_ids, as: 'detectedAdvertiserIds'
|
||||||
|
collection :detected_domains, as: 'detectedDomains'
|
||||||
|
property :filtering_stats, as: 'filteringStats', class: Google::Apis::Adexchangebuyer2V2beta1::FilteringStats, decorator: Google::Apis::Adexchangebuyer2V2beta1::FilteringStats::Representation
|
||||||
|
|
||||||
|
collection :attributes, as: 'attributes'
|
||||||
|
property :api_update_time, as: 'apiUpdateTime'
|
||||||
|
collection :detected_languages, as: 'detectedLanguages'
|
||||||
|
property :creative_id, as: 'creativeId'
|
||||||
|
property :account_id, as: 'accountId'
|
||||||
|
property :native, as: 'native', class: Google::Apis::Adexchangebuyer2V2beta1::NativeContent, decorator: Google::Apis::Adexchangebuyer2V2beta1::NativeContent::Representation
|
||||||
|
|
||||||
collection :serving_restrictions, as: 'servingRestrictions', class: Google::Apis::Adexchangebuyer2V2beta1::ServingRestriction, decorator: Google::Apis::Adexchangebuyer2V2beta1::ServingRestriction::Representation
|
collection :serving_restrictions, as: 'servingRestrictions', class: Google::Apis::Adexchangebuyer2V2beta1::ServingRestriction, decorator: Google::Apis::Adexchangebuyer2V2beta1::ServingRestriction::Representation
|
||||||
|
|
||||||
|
property :video, as: 'video', class: Google::Apis::Adexchangebuyer2V2beta1::VideoContent, decorator: Google::Apis::Adexchangebuyer2V2beta1::VideoContent::Representation
|
||||||
|
|
||||||
property :agency_id, as: 'agencyId'
|
property :agency_id, as: 'agencyId'
|
||||||
collection :click_through_urls, as: 'clickThroughUrls'
|
collection :click_through_urls, as: 'clickThroughUrls'
|
||||||
property :ad_choices_destination_url, as: 'adChoicesDestinationUrl'
|
property :ad_choices_destination_url, as: 'adChoicesDestinationUrl'
|
||||||
|
@ -423,19 +430,6 @@ module Google
|
||||||
|
|
||||||
property :deals_status, as: 'dealsStatus'
|
property :deals_status, as: 'dealsStatus'
|
||||||
collection :detected_product_categories, as: 'detectedProductCategories'
|
collection :detected_product_categories, as: 'detectedProductCategories'
|
||||||
property :open_auction_status, as: 'openAuctionStatus'
|
|
||||||
property :advertiser_name, as: 'advertiserName'
|
|
||||||
collection :detected_domains, as: 'detectedDomains'
|
|
||||||
collection :detected_advertiser_ids, as: 'detectedAdvertiserIds'
|
|
||||||
property :filtering_stats, as: 'filteringStats', class: Google::Apis::Adexchangebuyer2V2beta1::FilteringStats, decorator: Google::Apis::Adexchangebuyer2V2beta1::FilteringStats::Representation
|
|
||||||
|
|
||||||
collection :attributes, as: 'attributes'
|
|
||||||
property :api_update_time, as: 'apiUpdateTime'
|
|
||||||
collection :detected_languages, as: 'detectedLanguages'
|
|
||||||
property :creative_id, as: 'creativeId'
|
|
||||||
property :account_id, as: 'accountId'
|
|
||||||
property :native, as: 'native', class: Google::Apis::Adexchangebuyer2V2beta1::NativeContent, decorator: Google::Apis::Adexchangebuyer2V2beta1::NativeContent::Representation
|
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -450,32 +444,24 @@ module Google
|
||||||
class Client
|
class Client
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :entity_name, as: 'entityName'
|
||||||
|
property :status, as: 'status'
|
||||||
|
property :entity_type, as: 'entityType'
|
||||||
property :client_name, as: 'clientName'
|
property :client_name, as: 'clientName'
|
||||||
property :role, as: 'role'
|
property :role, as: 'role'
|
||||||
property :visible_to_seller, as: 'visibleToSeller'
|
property :visible_to_seller, as: 'visibleToSeller'
|
||||||
property :entity_id, as: 'entityId'
|
property :entity_id, as: 'entityId'
|
||||||
property :client_account_id, as: 'clientAccountId'
|
property :client_account_id, as: 'clientAccountId'
|
||||||
property :entity_name, as: 'entityName'
|
|
||||||
property :status, as: 'status'
|
|
||||||
property :entity_type, as: 'entityType'
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class Correction
|
class Correction
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :details, as: 'details'
|
||||||
property :type, as: 'type'
|
property :type, as: 'type'
|
||||||
collection :contexts, as: 'contexts', class: Google::Apis::Adexchangebuyer2V2beta1::ServingContext, decorator: Google::Apis::Adexchangebuyer2V2beta1::ServingContext::Representation
|
collection :contexts, as: 'contexts', class: Google::Apis::Adexchangebuyer2V2beta1::ServingContext, decorator: Google::Apis::Adexchangebuyer2V2beta1::ServingContext::Representation
|
||||||
|
|
||||||
collection :details, as: 'details'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class AddDealAssociationRequest
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :association, as: 'association', class: Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation, decorator: Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation::Representation
|
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -488,11 +474,11 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class Disapproval
|
class AddDealAssociationRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
collection :details, as: 'details'
|
property :association, as: 'association', class: Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation, decorator: Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation::Representation
|
||||||
property :reason, as: 'reason'
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -502,14 +488,22 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class Disapproval
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :details, as: 'details'
|
||||||
|
property :reason, as: 'reason'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class ServingRestriction
|
class ServingRestriction
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
collection :disapproval_reasons, as: 'disapprovalReasons', class: Google::Apis::Adexchangebuyer2V2beta1::Disapproval, decorator: Google::Apis::Adexchangebuyer2V2beta1::Disapproval::Representation
|
|
||||||
|
|
||||||
collection :contexts, as: 'contexts', class: Google::Apis::Adexchangebuyer2V2beta1::ServingContext, decorator: Google::Apis::Adexchangebuyer2V2beta1::ServingContext::Representation
|
collection :contexts, as: 'contexts', class: Google::Apis::Adexchangebuyer2V2beta1::ServingContext, decorator: Google::Apis::Adexchangebuyer2V2beta1::ServingContext::Representation
|
||||||
|
|
||||||
property :status, as: 'status'
|
property :status, as: 'status'
|
||||||
|
collection :disapproval_reasons, as: 'disapprovalReasons', class: Google::Apis::Adexchangebuyer2V2beta1::Disapproval, decorator: Google::Apis::Adexchangebuyer2V2beta1::Disapproval::Representation
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -521,6 +515,12 @@ module Google
|
||||||
property :month, as: 'month'
|
property :month, as: 'month'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class Empty
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://developers.google.com/admin-sdk/directory/
|
# @see https://developers.google.com/admin-sdk/directory/
|
||||||
module AdminDirectoryV1
|
module AdminDirectoryV1
|
||||||
VERSION = 'DirectoryV1'
|
VERSION = 'DirectoryV1'
|
||||||
REVISION = '20161214'
|
REVISION = '20170216'
|
||||||
|
|
||||||
# View and manage customer related information
|
# View and manage customer related information
|
||||||
AUTH_ADMIN_DIRECTORY_CUSTOMER = 'https://www.googleapis.com/auth/admin.directory.customer'
|
AUTH_ADMIN_DIRECTORY_CUSTOMER = 'https://www.googleapis.com/auth/admin.directory.customer'
|
||||||
|
|
|
@ -2463,6 +2463,11 @@ module Google
|
||||||
# @return [Object]
|
# @return [Object]
|
||||||
attr_accessor :phones
|
attr_accessor :phones
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `posixAccounts`
|
||||||
|
# @return [Object]
|
||||||
|
attr_accessor :posix_accounts
|
||||||
|
|
||||||
# username of User
|
# username of User
|
||||||
# Corresponds to the JSON property `primaryEmail`
|
# Corresponds to the JSON property `primaryEmail`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -2473,6 +2478,11 @@ module Google
|
||||||
# @return [Object]
|
# @return [Object]
|
||||||
attr_accessor :relations
|
attr_accessor :relations
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `sshPublicKeys`
|
||||||
|
# @return [Object]
|
||||||
|
attr_accessor :ssh_public_keys
|
||||||
|
|
||||||
# Indicates if user is suspended
|
# Indicates if user is suspended
|
||||||
# Corresponds to the JSON property `suspended`
|
# Corresponds to the JSON property `suspended`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
|
@ -2535,8 +2545,10 @@ module Google
|
||||||
@organizations = args[:organizations] if args.key?(:organizations)
|
@organizations = args[:organizations] if args.key?(:organizations)
|
||||||
@password = args[:password] if args.key?(:password)
|
@password = args[:password] if args.key?(:password)
|
||||||
@phones = args[:phones] if args.key?(:phones)
|
@phones = args[:phones] if args.key?(:phones)
|
||||||
|
@posix_accounts = args[:posix_accounts] if args.key?(:posix_accounts)
|
||||||
@primary_email = args[:primary_email] if args.key?(:primary_email)
|
@primary_email = args[:primary_email] if args.key?(:primary_email)
|
||||||
@relations = args[:relations] if args.key?(:relations)
|
@relations = args[:relations] if args.key?(:relations)
|
||||||
|
@ssh_public_keys = args[:ssh_public_keys] if args.key?(:ssh_public_keys)
|
||||||
@suspended = args[:suspended] if args.key?(:suspended)
|
@suspended = args[:suspended] if args.key?(:suspended)
|
||||||
@suspension_reason = args[:suspension_reason] if args.key?(:suspension_reason)
|
@suspension_reason = args[:suspension_reason] if args.key?(:suspension_reason)
|
||||||
@thumbnail_photo_etag = args[:thumbnail_photo_etag] if args.key?(:thumbnail_photo_etag)
|
@thumbnail_photo_etag = args[:thumbnail_photo_etag] if args.key?(:thumbnail_photo_etag)
|
||||||
|
@ -3033,6 +3045,69 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# JSON template for a POSIX account entry. Description of the field family: go/
|
||||||
|
# fbs-posix.
|
||||||
|
class UserPosixAccount
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The GECOS (user information) entry for this account.
|
||||||
|
# Corresponds to the JSON property `gecos`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :gecos
|
||||||
|
|
||||||
|
# The default group ID.
|
||||||
|
# Corresponds to the JSON property `gid`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :gid
|
||||||
|
|
||||||
|
# The path to the home directory for this account.
|
||||||
|
# Corresponds to the JSON property `homeDirectory`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :home_directory
|
||||||
|
|
||||||
|
# If this is user's primary account within the SystemId.
|
||||||
|
# Corresponds to the JSON property `primary`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :primary
|
||||||
|
alias_method :primary?, :primary
|
||||||
|
|
||||||
|
# The path to the login shell for this account.
|
||||||
|
# Corresponds to the JSON property `shell`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :shell
|
||||||
|
|
||||||
|
# System identifier for which account Username or Uid apply to.
|
||||||
|
# Corresponds to the JSON property `systemId`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :system_id
|
||||||
|
|
||||||
|
# The user ID.
|
||||||
|
# Corresponds to the JSON property `uid`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :uid
|
||||||
|
|
||||||
|
# The username of the account.
|
||||||
|
# Corresponds to the JSON property `username`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :username
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@gecos = args[:gecos] if args.key?(:gecos)
|
||||||
|
@gid = args[:gid] if args.key?(:gid)
|
||||||
|
@home_directory = args[:home_directory] if args.key?(:home_directory)
|
||||||
|
@primary = args[:primary] if args.key?(:primary)
|
||||||
|
@shell = args[:shell] if args.key?(:shell)
|
||||||
|
@system_id = args[:system_id] if args.key?(:system_id)
|
||||||
|
@uid = args[:uid] if args.key?(:uid)
|
||||||
|
@username = args[:username] if args.key?(:username)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# JSON template for a relation entry.
|
# JSON template for a relation entry.
|
||||||
class UserRelation
|
class UserRelation
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -3065,6 +3140,37 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# JSON template for a POSIX account entry.
|
||||||
|
class UserSshPublicKey
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# An expiration time in microseconds since epoch.
|
||||||
|
# Corresponds to the JSON property `expirationTimeUsec`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :expiration_time_usec
|
||||||
|
|
||||||
|
# A SHA-256 fingerprint of the SSH public key. (Read-only)
|
||||||
|
# Corresponds to the JSON property `fingerprint`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :fingerprint
|
||||||
|
|
||||||
|
# An SSH public key.
|
||||||
|
# Corresponds to the JSON property `key`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :key
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@expiration_time_usec = args[:expiration_time_usec] if args.key?(:expiration_time_usec)
|
||||||
|
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
||||||
|
@key = args[:key] if args.key?(:key)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# JSON request template to undelete a user in Directory API.
|
# JSON request template to undelete a user in Directory API.
|
||||||
class UserUndelete
|
class UserUndelete
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
|
@ -346,12 +346,24 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class UserPosixAccount
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class UserRelation
|
class UserRelation
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class UserSshPublicKey
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class UserUndelete
|
class UserUndelete
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -985,8 +997,10 @@ module Google
|
||||||
property :organizations, as: 'organizations'
|
property :organizations, as: 'organizations'
|
||||||
property :password, as: 'password'
|
property :password, as: 'password'
|
||||||
property :phones, as: 'phones'
|
property :phones, as: 'phones'
|
||||||
|
property :posix_accounts, as: 'posixAccounts'
|
||||||
property :primary_email, as: 'primaryEmail'
|
property :primary_email, as: 'primaryEmail'
|
||||||
property :relations, as: 'relations'
|
property :relations, as: 'relations'
|
||||||
|
property :ssh_public_keys, as: 'sshPublicKeys'
|
||||||
property :suspended, as: 'suspended'
|
property :suspended, as: 'suspended'
|
||||||
property :suspension_reason, as: 'suspensionReason'
|
property :suspension_reason, as: 'suspensionReason'
|
||||||
property :thumbnail_photo_etag, as: 'thumbnailPhotoEtag'
|
property :thumbnail_photo_etag, as: 'thumbnailPhotoEtag'
|
||||||
|
@ -1110,6 +1124,20 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class UserPosixAccount
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :gecos, as: 'gecos'
|
||||||
|
property :gid, as: 'gid'
|
||||||
|
property :home_directory, as: 'homeDirectory'
|
||||||
|
property :primary, as: 'primary'
|
||||||
|
property :shell, as: 'shell'
|
||||||
|
property :system_id, as: 'systemId'
|
||||||
|
property :uid, as: 'uid'
|
||||||
|
property :username, as: 'username'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class UserRelation
|
class UserRelation
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -1119,6 +1147,15 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class UserSshPublicKey
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :expiration_time_usec, as: 'expirationTimeUsec'
|
||||||
|
property :fingerprint, as: 'fingerprint'
|
||||||
|
property :key, as: 'key'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class UserUndelete
|
class UserUndelete
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
|
@ -20,13 +20,13 @@ module Google
|
||||||
module Apis
|
module Apis
|
||||||
# Admin Reports API
|
# Admin Reports API
|
||||||
#
|
#
|
||||||
# Fetches reports for the administrators of Google Apps customers about the
|
# Fetches reports for the administrators of G Suite customers about the usage,
|
||||||
# usage, collaboration, security, and risk for their users.
|
# collaboration, security, and risk for their users.
|
||||||
#
|
#
|
||||||
# @see https://developers.google.com/admin-sdk/reports/
|
# @see https://developers.google.com/admin-sdk/reports/
|
||||||
module AdminReportsV1
|
module AdminReportsV1
|
||||||
VERSION = 'ReportsV1'
|
VERSION = 'ReportsV1'
|
||||||
REVISION = '20160704'
|
REVISION = '20170315'
|
||||||
|
|
||||||
# View audit reports for your G Suite domain
|
# View audit reports for your G Suite domain
|
||||||
AUTH_ADMIN_REPORTS_AUDIT_READONLY = 'https://www.googleapis.com/auth/admin.reports.audit.readonly'
|
AUTH_ADMIN_REPORTS_AUDIT_READONLY = 'https://www.googleapis.com/auth/admin.reports.audit.readonly'
|
||||||
|
|
|
@ -22,8 +22,8 @@ module Google
|
||||||
module AdminReportsV1
|
module AdminReportsV1
|
||||||
# Admin Reports API
|
# Admin Reports API
|
||||||
#
|
#
|
||||||
# Fetches reports for the administrators of Google Apps customers about the
|
# Fetches reports for the administrators of G Suite customers about the usage,
|
||||||
# usage, collaboration, security, and risk for their users.
|
# collaboration, security, and risk for their users.
|
||||||
#
|
#
|
||||||
# @example
|
# @example
|
||||||
# require 'google/apis/admin_reports_v1'
|
# require 'google/apis/admin_reports_v1'
|
||||||
|
@ -66,7 +66,7 @@ module Google
|
||||||
# @param [String] customer_id
|
# @param [String] customer_id
|
||||||
# Represents the customer for which the data is to be fetched.
|
# Represents the customer for which the data is to be fetched.
|
||||||
# @param [String] end_time
|
# @param [String] end_time
|
||||||
# Return events which occured at or before this time.
|
# Return events which occurred at or before this time.
|
||||||
# @param [String] event_name
|
# @param [String] event_name
|
||||||
# Name of the event being queried.
|
# Name of the event being queried.
|
||||||
# @param [String] filters
|
# @param [String] filters
|
||||||
|
@ -77,7 +77,7 @@ module Google
|
||||||
# @param [String] page_token
|
# @param [String] page_token
|
||||||
# Token to specify next page.
|
# Token to specify next page.
|
||||||
# @param [String] start_time
|
# @param [String] start_time
|
||||||
# Return events which occured at or after this time.
|
# Return events which occurred at or after this time.
|
||||||
# @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
|
||||||
|
@ -133,7 +133,7 @@ module Google
|
||||||
# @param [String] customer_id
|
# @param [String] customer_id
|
||||||
# Represents the customer for which the data is to be fetched.
|
# Represents the customer for which the data is to be fetched.
|
||||||
# @param [String] end_time
|
# @param [String] end_time
|
||||||
# Return events which occured at or before this time.
|
# Return events which occurred at or before this time.
|
||||||
# @param [String] event_name
|
# @param [String] event_name
|
||||||
# Name of the event being queried.
|
# Name of the event being queried.
|
||||||
# @param [String] filters
|
# @param [String] filters
|
||||||
|
@ -144,7 +144,7 @@ module Google
|
||||||
# @param [String] page_token
|
# @param [String] page_token
|
||||||
# Token to specify next page.
|
# Token to specify next page.
|
||||||
# @param [String] start_time
|
# @param [String] start_time
|
||||||
# Return events which occured at or after this time.
|
# Return events which occurred at or after this time.
|
||||||
# @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
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/adsense/management/
|
# @see https://developers.google.com/adsense/management/
|
||||||
module AdsenseV1_4
|
module AdsenseV1_4
|
||||||
VERSION = 'V1_4'
|
VERSION = 'V1_4'
|
||||||
REVISION = '20170304'
|
REVISION = '20170325'
|
||||||
|
|
||||||
# View and manage your AdSense data
|
# View and manage your AdSense data
|
||||||
AUTH_ADSENSE = 'https://www.googleapis.com/auth/adsense'
|
AUTH_ADSENSE = 'https://www.googleapis.com/auth/adsense'
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://developers.google.com/adsense/host/
|
# @see https://developers.google.com/adsense/host/
|
||||||
module AdsensehostV4_1
|
module AdsensehostV4_1
|
||||||
VERSION = 'V4_1'
|
VERSION = 'V4_1'
|
||||||
REVISION = '20170304'
|
REVISION = '20170325'
|
||||||
|
|
||||||
# View and manage your AdSense host data and associated accounts
|
# View and manage your AdSense host data and associated accounts
|
||||||
AUTH_ADSENSEHOST = 'https://www.googleapis.com/auth/adsensehost'
|
AUTH_ADSENSEHOST = 'https://www.googleapis.com/auth/adsensehost'
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/analytics/
|
# @see https://developers.google.com/analytics/
|
||||||
module AnalyticsV3
|
module AnalyticsV3
|
||||||
VERSION = 'V3'
|
VERSION = 'V3'
|
||||||
REVISION = '20170302'
|
REVISION = '20170321'
|
||||||
|
|
||||||
# View and manage your Google Analytics data
|
# View and manage your Google Analytics data
|
||||||
AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics'
|
AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics'
|
||||||
|
|
|
@ -2450,6 +2450,45 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Delete a remarketing audience.
|
||||||
|
# @param [String] account_id
|
||||||
|
# Account ID to which the remarketing audience belongs.
|
||||||
|
# @param [String] web_property_id
|
||||||
|
# Web property ID to which the remarketing audience belongs.
|
||||||
|
# @param [String] remarketing_audience_id
|
||||||
|
# The ID of the remarketing audience to delete.
|
||||||
|
# @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.
|
||||||
|
# Overrides userIp if both are provided.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# IP address of the site where the request originates. Use this if you want to
|
||||||
|
# enforce per-user limits.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [NilClass] No result returned for this method
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [void]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def delete_management_remarketing_audience(account_id, web_property_id, remarketing_audience_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:delete, 'management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}', options)
|
||||||
|
command.params['accountId'] = account_id unless account_id.nil?
|
||||||
|
command.params['webPropertyId'] = web_property_id unless web_property_id.nil?
|
||||||
|
command.params['remarketingAudienceId'] = remarketing_audience_id unless remarketing_audience_id.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
# Gets a remarketing audience to which the user has access.
|
# Gets a remarketing audience to which the user has access.
|
||||||
# @param [String] account_id
|
# @param [String] account_id
|
||||||
# The account ID of the remarketing audience to retrieve.
|
# The account ID of the remarketing audience to retrieve.
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -22,132 +22,6 @@ module Google
|
||||||
module Apis
|
module Apis
|
||||||
module AnalyticsreportingV4
|
module AnalyticsreportingV4
|
||||||
|
|
||||||
class PivotHeaderEntry
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class SegmentFilter
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class SegmentDefinition
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class MetricHeaderEntry
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class ReportData
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class DimensionFilter
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class Segment
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class OrderBy
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class SegmentDimensionFilter
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class SegmentSequenceStep
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class Metric
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class PivotValueRegion
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class Report
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class PivotHeader
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class DateRange
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class ReportRequest
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class MetricFilter
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class Dimension
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class DynamicSegment
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class SimpleSegment
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class ColumnHeader
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class SegmentFilterClause
|
class SegmentFilterClause
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -233,241 +107,139 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
class PivotHeaderEntry
|
class PivotHeaderEntry
|
||||||
# @private
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
collection :dimension_names, as: 'dimensionNames'
|
|
||||||
property :metric, as: 'metric', class: Google::Apis::AnalyticsreportingV4::MetricHeaderEntry, decorator: Google::Apis::AnalyticsreportingV4::MetricHeaderEntry::Representation
|
|
||||||
|
|
||||||
collection :dimension_values, as: 'dimensionValues'
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
class SegmentFilter
|
class SegmentFilter
|
||||||
# @private
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :not, as: 'not'
|
|
||||||
property :simple_segment, as: 'simpleSegment', class: Google::Apis::AnalyticsreportingV4::SimpleSegment, decorator: Google::Apis::AnalyticsreportingV4::SimpleSegment::Representation
|
|
||||||
|
|
||||||
property :sequence_segment, as: 'sequenceSegment', class: Google::Apis::AnalyticsreportingV4::SequenceSegment, decorator: Google::Apis::AnalyticsreportingV4::SequenceSegment::Representation
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
class SegmentDefinition
|
class SegmentDefinition
|
||||||
# @private
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
collection :segment_filters, as: 'segmentFilters', class: Google::Apis::AnalyticsreportingV4::SegmentFilter, decorator: Google::Apis::AnalyticsreportingV4::SegmentFilter::Representation
|
|
||||||
|
|
||||||
end
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class MetricHeaderEntry
|
class MetricHeaderEntry
|
||||||
# @private
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :name, as: 'name'
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
property :type, as: 'type'
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
class ReportData
|
class ReportData
|
||||||
# @private
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
collection :sampling_space_sizes, as: 'samplingSpaceSizes'
|
|
||||||
collection :minimums, as: 'minimums', class: Google::Apis::AnalyticsreportingV4::DateRangeValues, decorator: Google::Apis::AnalyticsreportingV4::DateRangeValues::Representation
|
|
||||||
|
|
||||||
collection :totals, as: 'totals', class: Google::Apis::AnalyticsreportingV4::DateRangeValues, decorator: Google::Apis::AnalyticsreportingV4::DateRangeValues::Representation
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
|
||||||
collection :samples_read_counts, as: 'samplesReadCounts'
|
|
||||||
property :row_count, as: 'rowCount'
|
|
||||||
collection :rows, as: 'rows', class: Google::Apis::AnalyticsreportingV4::ReportRow, decorator: Google::Apis::AnalyticsreportingV4::ReportRow::Representation
|
|
||||||
|
|
||||||
property :is_data_golden, as: 'isDataGolden'
|
|
||||||
property :data_last_refreshed, as: 'dataLastRefreshed'
|
|
||||||
collection :maximums, as: 'maximums', class: Google::Apis::AnalyticsreportingV4::DateRangeValues, decorator: Google::Apis::AnalyticsreportingV4::DateRangeValues::Representation
|
|
||||||
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
class DimensionFilter
|
class DimensionFilter
|
||||||
# @private
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :dimension_name, as: 'dimensionName'
|
|
||||||
property :operator, as: 'operator'
|
|
||||||
property :not, as: 'not'
|
|
||||||
collection :expressions, as: 'expressions'
|
|
||||||
property :case_sensitive, as: 'caseSensitive'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class Segment
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :dynamic_segment, as: 'dynamicSegment', class: Google::Apis::AnalyticsreportingV4::DynamicSegment, decorator: Google::Apis::AnalyticsreportingV4::DynamicSegment::Representation
|
|
||||||
|
|
||||||
property :segment_id, as: 'segmentId'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class OrderBy
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :field_name, as: 'fieldName'
|
|
||||||
property :order_type, as: 'orderType'
|
|
||||||
property :sort_order, as: 'sortOrder'
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
class SegmentDimensionFilter
|
class SegmentDimensionFilter
|
||||||
# @private
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :case_sensitive, as: 'caseSensitive'
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
property :min_comparison_value, as: 'minComparisonValue'
|
end
|
||||||
property :max_comparison_value, as: 'maxComparisonValue'
|
|
||||||
property :dimension_name, as: 'dimensionName'
|
class OrderBy
|
||||||
property :operator, as: 'operator'
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
collection :expressions, as: 'expressions'
|
|
||||||
end
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class Segment
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class SegmentSequenceStep
|
class SegmentSequenceStep
|
||||||
# @private
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
collection :or_filters_for_segment, as: 'orFiltersForSegment', class: Google::Apis::AnalyticsreportingV4::OrFiltersForSegment, decorator: Google::Apis::AnalyticsreportingV4::OrFiltersForSegment::Representation
|
|
||||||
|
|
||||||
property :match_type, as: 'matchType'
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
class Metric
|
class Metric
|
||||||
# @private
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :expression, as: 'expression'
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
property :formatting_type, as: 'formattingType'
|
|
||||||
property :alias, as: 'alias'
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
class PivotValueRegion
|
class PivotValueRegion
|
||||||
# @private
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
collection :values, as: 'values'
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
class Report
|
class Report
|
||||||
# @private
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :column_header, as: 'columnHeader', class: Google::Apis::AnalyticsreportingV4::ColumnHeader, decorator: Google::Apis::AnalyticsreportingV4::ColumnHeader::Representation
|
|
||||||
|
|
||||||
property :data, as: 'data', class: Google::Apis::AnalyticsreportingV4::ReportData, decorator: Google::Apis::AnalyticsreportingV4::ReportData::Representation
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
|
||||||
property :next_page_token, as: 'nextPageToken'
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
class PivotHeader
|
class PivotHeader
|
||||||
# @private
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
collection :pivot_header_entries, as: 'pivotHeaderEntries', class: Google::Apis::AnalyticsreportingV4::PivotHeaderEntry, decorator: Google::Apis::AnalyticsreportingV4::PivotHeaderEntry::Representation
|
|
||||||
|
|
||||||
property :total_pivot_groups_count, as: 'totalPivotGroupsCount'
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
class DateRange
|
class DateRange
|
||||||
# @private
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :start_date, as: 'startDate'
|
|
||||||
property :end_date, as: 'endDate'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class ReportRequest
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
collection :metric_filter_clauses, as: 'metricFilterClauses', class: Google::Apis::AnalyticsreportingV4::MetricFilterClause, decorator: Google::Apis::AnalyticsreportingV4::MetricFilterClause::Representation
|
|
||||||
|
|
||||||
property :page_size, as: 'pageSize'
|
|
||||||
property :hide_value_ranges, as: 'hideValueRanges'
|
|
||||||
property :hide_totals, as: 'hideTotals'
|
|
||||||
property :filters_expression, as: 'filtersExpression'
|
|
||||||
property :cohort_group, as: 'cohortGroup', class: Google::Apis::AnalyticsreportingV4::CohortGroup, decorator: Google::Apis::AnalyticsreportingV4::CohortGroup::Representation
|
|
||||||
|
|
||||||
property :view_id, as: 'viewId'
|
|
||||||
collection :metrics, as: 'metrics', class: Google::Apis::AnalyticsreportingV4::Metric, decorator: Google::Apis::AnalyticsreportingV4::Metric::Representation
|
|
||||||
|
|
||||||
collection :dimension_filter_clauses, as: 'dimensionFilterClauses', class: Google::Apis::AnalyticsreportingV4::DimensionFilterClause, decorator: Google::Apis::AnalyticsreportingV4::DimensionFilterClause::Representation
|
|
||||||
|
|
||||||
collection :order_bys, as: 'orderBys', class: Google::Apis::AnalyticsreportingV4::OrderBy, decorator: Google::Apis::AnalyticsreportingV4::OrderBy::Representation
|
|
||||||
|
|
||||||
collection :segments, as: 'segments', class: Google::Apis::AnalyticsreportingV4::Segment, decorator: Google::Apis::AnalyticsreportingV4::Segment::Representation
|
|
||||||
|
|
||||||
property :sampling_level, as: 'samplingLevel'
|
|
||||||
collection :dimensions, as: 'dimensions', class: Google::Apis::AnalyticsreportingV4::Dimension, decorator: Google::Apis::AnalyticsreportingV4::Dimension::Representation
|
|
||||||
|
|
||||||
property :page_token, as: 'pageToken'
|
|
||||||
collection :date_ranges, as: 'dateRanges', class: Google::Apis::AnalyticsreportingV4::DateRange, decorator: Google::Apis::AnalyticsreportingV4::DateRange::Representation
|
|
||||||
|
|
||||||
collection :pivots, as: 'pivots', class: Google::Apis::AnalyticsreportingV4::Pivot, decorator: Google::Apis::AnalyticsreportingV4::Pivot::Representation
|
|
||||||
|
|
||||||
property :include_empty_rows, as: 'includeEmptyRows'
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
class MetricFilter
|
class MetricFilter
|
||||||
# @private
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :metric_name, as: 'metricName'
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
property :comparison_value, as: 'comparisonValue'
|
end
|
||||||
property :operator, as: 'operator'
|
|
||||||
property :not, as: 'not'
|
class ReportRequest
|
||||||
end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class Dimension
|
class Dimension
|
||||||
# @private
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
collection :histogram_buckets, as: 'histogramBuckets'
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
property :name, as: 'name'
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
class DynamicSegment
|
class DynamicSegment
|
||||||
# @private
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :session_segment, as: 'sessionSegment', class: Google::Apis::AnalyticsreportingV4::SegmentDefinition, decorator: Google::Apis::AnalyticsreportingV4::SegmentDefinition::Representation
|
|
||||||
|
|
||||||
property :name, as: 'name'
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
property :user_segment, as: 'userSegment', class: Google::Apis::AnalyticsreportingV4::SegmentDefinition, decorator: Google::Apis::AnalyticsreportingV4::SegmentDefinition::Representation
|
|
||||||
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
class SimpleSegment
|
class SimpleSegment
|
||||||
# @private
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
collection :or_filters_for_segment, as: 'orFiltersForSegment', class: Google::Apis::AnalyticsreportingV4::OrFiltersForSegment, decorator: Google::Apis::AnalyticsreportingV4::OrFiltersForSegment::Representation
|
|
||||||
|
|
||||||
end
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class ColumnHeader
|
class ColumnHeader
|
||||||
# @private
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :metric_header, as: 'metricHeader', class: Google::Apis::AnalyticsreportingV4::MetricHeader, decorator: Google::Apis::AnalyticsreportingV4::MetricHeader::Representation
|
|
||||||
|
|
||||||
collection :dimensions, as: 'dimensions'
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
class SegmentFilterClause
|
class SegmentFilterClause
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :metric_filter, as: 'metricFilter', class: Google::Apis::AnalyticsreportingV4::SegmentMetricFilter, decorator: Google::Apis::AnalyticsreportingV4::SegmentMetricFilter::Representation
|
||||||
|
|
||||||
property :not, as: 'not'
|
property :not, as: 'not'
|
||||||
property :dimension_filter, as: 'dimensionFilter', class: Google::Apis::AnalyticsreportingV4::SegmentDimensionFilter, decorator: Google::Apis::AnalyticsreportingV4::SegmentDimensionFilter::Representation
|
property :dimension_filter, as: 'dimensionFilter', class: Google::Apis::AnalyticsreportingV4::SegmentDimensionFilter, decorator: Google::Apis::AnalyticsreportingV4::SegmentDimensionFilter::Representation
|
||||||
|
|
||||||
property :metric_filter, as: 'metricFilter', class: Google::Apis::AnalyticsreportingV4::SegmentMetricFilter, decorator: Google::Apis::AnalyticsreportingV4::SegmentMetricFilter::Representation
|
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -483,10 +255,10 @@ module Google
|
||||||
class Cohort
|
class Cohort
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :type, as: 'type'
|
|
||||||
property :name, as: 'name'
|
property :name, as: 'name'
|
||||||
property :date_range, as: 'dateRange', class: Google::Apis::AnalyticsreportingV4::DateRange, decorator: Google::Apis::AnalyticsreportingV4::DateRange::Representation
|
property :date_range, as: 'dateRange', class: Google::Apis::AnalyticsreportingV4::DateRange, decorator: Google::Apis::AnalyticsreportingV4::DateRange::Representation
|
||||||
|
|
||||||
|
property :type, as: 'type'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -510,10 +282,10 @@ module Google
|
||||||
class MetricHeader
|
class MetricHeader
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
collection :metric_header_entries, as: 'metricHeaderEntries', class: Google::Apis::AnalyticsreportingV4::MetricHeaderEntry, decorator: Google::Apis::AnalyticsreportingV4::MetricHeaderEntry::Representation
|
|
||||||
|
|
||||||
collection :pivot_headers, as: 'pivotHeaders', class: Google::Apis::AnalyticsreportingV4::PivotHeader, decorator: Google::Apis::AnalyticsreportingV4::PivotHeader::Representation
|
collection :pivot_headers, as: 'pivotHeaders', class: Google::Apis::AnalyticsreportingV4::PivotHeader, decorator: Google::Apis::AnalyticsreportingV4::PivotHeader::Representation
|
||||||
|
|
||||||
|
collection :metric_header_entries, as: 'metricHeaderEntries', class: Google::Apis::AnalyticsreportingV4::MetricHeaderEntry, decorator: Google::Apis::AnalyticsreportingV4::MetricHeaderEntry::Representation
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -593,6 +365,234 @@ module Google
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class PivotHeaderEntry
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :dimension_names, as: 'dimensionNames'
|
||||||
|
property :metric, as: 'metric', class: Google::Apis::AnalyticsreportingV4::MetricHeaderEntry, decorator: Google::Apis::AnalyticsreportingV4::MetricHeaderEntry::Representation
|
||||||
|
|
||||||
|
collection :dimension_values, as: 'dimensionValues'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class SegmentFilter
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :sequence_segment, as: 'sequenceSegment', class: Google::Apis::AnalyticsreportingV4::SequenceSegment, decorator: Google::Apis::AnalyticsreportingV4::SequenceSegment::Representation
|
||||||
|
|
||||||
|
property :not, as: 'not'
|
||||||
|
property :simple_segment, as: 'simpleSegment', class: Google::Apis::AnalyticsreportingV4::SimpleSegment, decorator: Google::Apis::AnalyticsreportingV4::SimpleSegment::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class SegmentDefinition
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :segment_filters, as: 'segmentFilters', class: Google::Apis::AnalyticsreportingV4::SegmentFilter, decorator: Google::Apis::AnalyticsreportingV4::SegmentFilter::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class MetricHeaderEntry
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :type, as: 'type'
|
||||||
|
property :name, as: 'name'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class ReportData
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :minimums, as: 'minimums', class: Google::Apis::AnalyticsreportingV4::DateRangeValues, decorator: Google::Apis::AnalyticsreportingV4::DateRangeValues::Representation
|
||||||
|
|
||||||
|
collection :sampling_space_sizes, as: 'samplingSpaceSizes'
|
||||||
|
collection :totals, as: 'totals', class: Google::Apis::AnalyticsreportingV4::DateRangeValues, decorator: Google::Apis::AnalyticsreportingV4::DateRangeValues::Representation
|
||||||
|
|
||||||
|
collection :samples_read_counts, as: 'samplesReadCounts'
|
||||||
|
property :is_data_golden, as: 'isDataGolden'
|
||||||
|
collection :rows, as: 'rows', class: Google::Apis::AnalyticsreportingV4::ReportRow, decorator: Google::Apis::AnalyticsreportingV4::ReportRow::Representation
|
||||||
|
|
||||||
|
property :row_count, as: 'rowCount'
|
||||||
|
property :data_last_refreshed, as: 'dataLastRefreshed'
|
||||||
|
collection :maximums, as: 'maximums', class: Google::Apis::AnalyticsreportingV4::DateRangeValues, decorator: Google::Apis::AnalyticsreportingV4::DateRangeValues::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class DimensionFilter
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :case_sensitive, as: 'caseSensitive'
|
||||||
|
property :dimension_name, as: 'dimensionName'
|
||||||
|
property :operator, as: 'operator'
|
||||||
|
property :not, as: 'not'
|
||||||
|
collection :expressions, as: 'expressions'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class SegmentDimensionFilter
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :min_comparison_value, as: 'minComparisonValue'
|
||||||
|
property :max_comparison_value, as: 'maxComparisonValue'
|
||||||
|
property :dimension_name, as: 'dimensionName'
|
||||||
|
property :operator, as: 'operator'
|
||||||
|
collection :expressions, as: 'expressions'
|
||||||
|
property :case_sensitive, as: 'caseSensitive'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class OrderBy
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :field_name, as: 'fieldName'
|
||||||
|
property :order_type, as: 'orderType'
|
||||||
|
property :sort_order, as: 'sortOrder'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class Segment
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :dynamic_segment, as: 'dynamicSegment', class: Google::Apis::AnalyticsreportingV4::DynamicSegment, decorator: Google::Apis::AnalyticsreportingV4::DynamicSegment::Representation
|
||||||
|
|
||||||
|
property :segment_id, as: 'segmentId'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class SegmentSequenceStep
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :or_filters_for_segment, as: 'orFiltersForSegment', class: Google::Apis::AnalyticsreportingV4::OrFiltersForSegment, decorator: Google::Apis::AnalyticsreportingV4::OrFiltersForSegment::Representation
|
||||||
|
|
||||||
|
property :match_type, as: 'matchType'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class Metric
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :expression, as: 'expression'
|
||||||
|
property :formatting_type, as: 'formattingType'
|
||||||
|
property :alias, as: 'alias'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class PivotValueRegion
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :values, as: 'values'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class Report
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :data, as: 'data', class: Google::Apis::AnalyticsreportingV4::ReportData, decorator: Google::Apis::AnalyticsreportingV4::ReportData::Representation
|
||||||
|
|
||||||
|
property :next_page_token, as: 'nextPageToken'
|
||||||
|
property :column_header, as: 'columnHeader', class: Google::Apis::AnalyticsreportingV4::ColumnHeader, decorator: Google::Apis::AnalyticsreportingV4::ColumnHeader::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class PivotHeader
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :pivot_header_entries, as: 'pivotHeaderEntries', class: Google::Apis::AnalyticsreportingV4::PivotHeaderEntry, decorator: Google::Apis::AnalyticsreportingV4::PivotHeaderEntry::Representation
|
||||||
|
|
||||||
|
property :total_pivot_groups_count, as: 'totalPivotGroupsCount'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class DateRange
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :start_date, as: 'startDate'
|
||||||
|
property :end_date, as: 'endDate'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class MetricFilter
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :metric_name, as: 'metricName'
|
||||||
|
property :comparison_value, as: 'comparisonValue'
|
||||||
|
property :operator, as: 'operator'
|
||||||
|
property :not, as: 'not'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class ReportRequest
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :metric_filter_clauses, as: 'metricFilterClauses', class: Google::Apis::AnalyticsreportingV4::MetricFilterClause, decorator: Google::Apis::AnalyticsreportingV4::MetricFilterClause::Representation
|
||||||
|
|
||||||
|
property :page_size, as: 'pageSize'
|
||||||
|
property :hide_totals, as: 'hideTotals'
|
||||||
|
property :hide_value_ranges, as: 'hideValueRanges'
|
||||||
|
property :filters_expression, as: 'filtersExpression'
|
||||||
|
property :cohort_group, as: 'cohortGroup', class: Google::Apis::AnalyticsreportingV4::CohortGroup, decorator: Google::Apis::AnalyticsreportingV4::CohortGroup::Representation
|
||||||
|
|
||||||
|
property :view_id, as: 'viewId'
|
||||||
|
collection :metrics, as: 'metrics', class: Google::Apis::AnalyticsreportingV4::Metric, decorator: Google::Apis::AnalyticsreportingV4::Metric::Representation
|
||||||
|
|
||||||
|
collection :dimension_filter_clauses, as: 'dimensionFilterClauses', class: Google::Apis::AnalyticsreportingV4::DimensionFilterClause, decorator: Google::Apis::AnalyticsreportingV4::DimensionFilterClause::Representation
|
||||||
|
|
||||||
|
collection :order_bys, as: 'orderBys', class: Google::Apis::AnalyticsreportingV4::OrderBy, decorator: Google::Apis::AnalyticsreportingV4::OrderBy::Representation
|
||||||
|
|
||||||
|
collection :segments, as: 'segments', class: Google::Apis::AnalyticsreportingV4::Segment, decorator: Google::Apis::AnalyticsreportingV4::Segment::Representation
|
||||||
|
|
||||||
|
property :sampling_level, as: 'samplingLevel'
|
||||||
|
collection :dimensions, as: 'dimensions', class: Google::Apis::AnalyticsreportingV4::Dimension, decorator: Google::Apis::AnalyticsreportingV4::Dimension::Representation
|
||||||
|
|
||||||
|
property :page_token, as: 'pageToken'
|
||||||
|
collection :date_ranges, as: 'dateRanges', class: Google::Apis::AnalyticsreportingV4::DateRange, decorator: Google::Apis::AnalyticsreportingV4::DateRange::Representation
|
||||||
|
|
||||||
|
collection :pivots, as: 'pivots', class: Google::Apis::AnalyticsreportingV4::Pivot, decorator: Google::Apis::AnalyticsreportingV4::Pivot::Representation
|
||||||
|
|
||||||
|
property :include_empty_rows, as: 'includeEmptyRows'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class Dimension
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :histogram_buckets, as: 'histogramBuckets'
|
||||||
|
property :name, as: 'name'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class DynamicSegment
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :session_segment, as: 'sessionSegment', class: Google::Apis::AnalyticsreportingV4::SegmentDefinition, decorator: Google::Apis::AnalyticsreportingV4::SegmentDefinition::Representation
|
||||||
|
|
||||||
|
property :name, as: 'name'
|
||||||
|
property :user_segment, as: 'userSegment', class: Google::Apis::AnalyticsreportingV4::SegmentDefinition, decorator: Google::Apis::AnalyticsreportingV4::SegmentDefinition::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class SimpleSegment
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :or_filters_for_segment, as: 'orFiltersForSegment', class: Google::Apis::AnalyticsreportingV4::OrFiltersForSegment, decorator: Google::Apis::AnalyticsreportingV4::OrFiltersForSegment::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class ColumnHeader
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :metric_header, as: 'metricHeader', class: Google::Apis::AnalyticsreportingV4::MetricHeader, decorator: Google::Apis::AnalyticsreportingV4::MetricHeader::Representation
|
||||||
|
|
||||||
|
collection :dimensions, as: 'dimensions'
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -48,11 +48,11 @@ module Google
|
||||||
|
|
||||||
# Returns the Analytics data.
|
# Returns the Analytics data.
|
||||||
# @param [Google::Apis::AnalyticsreportingV4::GetReportsRequest] get_reports_request_object
|
# @param [Google::Apis::AnalyticsreportingV4::GetReportsRequest] get_reports_request_object
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
# Available to use for quota purposes for server-side applications. Can be any
|
# 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.
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
# @param [Google::Apis::RequestOptions] options
|
||||||
# Request-specific options
|
# Request-specific options
|
||||||
#
|
#
|
||||||
|
@ -65,14 +65,14 @@ 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 batch_get_reports(get_reports_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
def batch_get_reports(get_reports_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
command = make_simple_command(:post, 'v4/reports:batchGet', options)
|
command = make_simple_command(:post, 'v4/reports:batchGet', options)
|
||||||
command.request_representation = Google::Apis::AnalyticsreportingV4::GetReportsRequest::Representation
|
command.request_representation = Google::Apis::AnalyticsreportingV4::GetReportsRequest::Representation
|
||||||
command.request_object = get_reports_request_object
|
command.request_object = get_reports_request_object
|
||||||
command.response_representation = Google::Apis::AnalyticsreportingV4::GetReportsResponse::Representation
|
command.response_representation = Google::Apis::AnalyticsreportingV4::GetReportsResponse::Representation
|
||||||
command.response_class = Google::Apis::AnalyticsreportingV4::GetReportsResponse
|
command.response_class = Google::Apis::AnalyticsreportingV4::GetReportsResponse
|
||||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
||||||
command.query['fields'] = fields unless fields.nil?
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/android/work/play/emm-api
|
# @see https://developers.google.com/android/work/play/emm-api
|
||||||
module AndroidenterpriseV1
|
module AndroidenterpriseV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20170301'
|
REVISION = '20170322'
|
||||||
|
|
||||||
# Manage corporate Android devices
|
# Manage corporate Android devices
|
||||||
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
|
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
|
||||||
|
|
|
@ -1941,12 +1941,10 @@ module Google
|
||||||
class StoreLayout
|
class StoreLayout
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# The ID of the store page to be used as the homepage. The homepage will be used
|
# The ID of the store page to be used as the homepage. The homepage is the first
|
||||||
# as the first page shown in the managed Google Play store.
|
# page shown in the managed Google Play Store.
|
||||||
# If a homepage has not been set, the Play store shown on devices will be empty.
|
# Not specifying a homepage is equivalent to setting the store layout type to "
|
||||||
# Not specifying a homepage on a store layout effectively empties the store.
|
# basic".
|
||||||
# If there exists at least one page, this field must be set to the ID of a valid
|
|
||||||
# page.
|
|
||||||
# Corresponds to the JSON property `homepageId`
|
# Corresponds to the JSON property `homepageId`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :homepage_id
|
attr_accessor :homepage_id
|
||||||
|
@ -1957,13 +1955,10 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :kind
|
attr_accessor :kind
|
||||||
|
|
||||||
# The store layout type. By default, this value is set to "basic". If set to "
|
# The store layout type. By default, this value is set to "basic" if the
|
||||||
# custom", "homepageId" must be specified. If set to "basic", the layout will
|
# homepageId field is not set, and to "custom" otherwise. If set to "basic", the
|
||||||
# consist of all approved apps accessible by the user, split in pages of 100
|
# layout will consist of all approved apps that have been whitelisted for the
|
||||||
# each; in this case, "homepageId" must not be specified. The "basic" setting
|
# user.
|
||||||
# takes precedence over any existing collections setup for this enterprise (if
|
|
||||||
# any). Should the enterprise use collectionViewers for controlling access
|
|
||||||
# rights, these will still be respected.
|
|
||||||
# Corresponds to the JSON property `storeLayoutType`
|
# Corresponds to the JSON property `storeLayoutType`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :store_layout_type
|
attr_accessor :store_layout_type
|
||||||
|
|
|
@ -539,7 +539,7 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
# Returns the store layout for the enterprise. If the store layout has not been
|
# Returns the store layout for the enterprise. If the store layout has not been
|
||||||
# set, or if the store layout has no homepageId set, returns a NOT_FOUND error.
|
# set, returns "basic" as the store layout type and no homepage.
|
||||||
# @param [String] enterprise_id
|
# @param [String] enterprise_id
|
||||||
# The ID of the enterprise.
|
# The ID of the enterprise.
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
|
@ -787,8 +787,8 @@ module Google
|
||||||
# contains apps approved by the admin, and that have been added to the available
|
# contains apps approved by the admin, and that have been added to the available
|
||||||
# product set for a user (using the setAvailableProductSet call). Apps on the
|
# product set for a user (using the setAvailableProductSet call). Apps on the
|
||||||
# page are sorted in order of their product ID value. If you create a custom
|
# page are sorted in order of their product ID value. If you create a custom
|
||||||
# store layout (by setting storeLayoutType = "custom"), the basic store layout
|
# store layout (by setting storeLayoutType = "custom" and setting a homepage),
|
||||||
# is disabled.
|
# the basic store layout is disabled.
|
||||||
# @param [String] enterprise_id
|
# @param [String] enterprise_id
|
||||||
# The ID of the enterprise.
|
# The ID of the enterprise.
|
||||||
# @param [Google::Apis::AndroidenterpriseV1::StoreLayout] store_layout_object
|
# @param [Google::Apis::AndroidenterpriseV1::StoreLayout] store_layout_object
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/appengine/docs/admin-api/
|
# @see https://cloud.google.com/appengine/docs/admin-api/
|
||||||
module AppengineV1beta5
|
module AppengineV1beta5
|
||||||
VERSION = 'V1beta5'
|
VERSION = 'V1beta5'
|
||||||
REVISION = '20161208'
|
REVISION = '20170324'
|
||||||
|
|
||||||
# View and manage your applications deployed on Google App Engine
|
# View and manage your applications deployed on Google App Engine
|
||||||
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
||||||
|
|
|
@ -259,6 +259,11 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :default_bucket
|
attr_accessor :default_bucket
|
||||||
|
|
||||||
|
# Identity-Aware Proxy
|
||||||
|
# Corresponds to the JSON property `iap`
|
||||||
|
# @return [Google::Apis::AppengineV1beta5::IdentityAwareProxy]
|
||||||
|
attr_accessor :iap
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
@ -274,6 +279,7 @@ module Google
|
||||||
@default_cookie_expiration = args[:default_cookie_expiration] if args.key?(:default_cookie_expiration)
|
@default_cookie_expiration = args[:default_cookie_expiration] if args.key?(:default_cookie_expiration)
|
||||||
@default_hostname = args[:default_hostname] if args.key?(:default_hostname)
|
@default_hostname = args[:default_hostname] if args.key?(:default_hostname)
|
||||||
@default_bucket = args[:default_bucket] if args.key?(:default_bucket)
|
@default_bucket = args[:default_bucket] if args.key?(:default_bucket)
|
||||||
|
@iap = args[:iap] if args.key?(:iap)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -312,6 +318,48 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Identity-Aware Proxy
|
||||||
|
class IdentityAwareProxy
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Whether the serving infrastructure will authenticate and authorize all
|
||||||
|
# incoming requests.If true, the oauth2_client_id and oauth2_client_secret
|
||||||
|
# fields must be non-empty.
|
||||||
|
# Corresponds to the JSON property `enabled`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :enabled
|
||||||
|
alias_method :enabled?, :enabled
|
||||||
|
|
||||||
|
# OAuth2 client ID to use for the authentication flow.
|
||||||
|
# Corresponds to the JSON property `oauth2ClientId`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :oauth2_client_id
|
||||||
|
|
||||||
|
# For security reasons, this value cannot be retrieved via the API. Instead, the
|
||||||
|
# SHA-256 hash of the value is returned in the oauth2_client_secret_sha256 field.
|
||||||
|
# @InputOnly
|
||||||
|
# Corresponds to the JSON property `oauth2ClientSecret`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :oauth2_client_secret
|
||||||
|
|
||||||
|
# Hex-encoded SHA-256 hash of the client secret.@OutputOnly
|
||||||
|
# Corresponds to the JSON property `oauth2ClientSecretSha256`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :oauth2_client_secret_sha256
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@enabled = args[:enabled] if args.key?(:enabled)
|
||||||
|
@oauth2_client_id = args[:oauth2_client_id] if args.key?(:oauth2_client_id)
|
||||||
|
@oauth2_client_secret = args[:oauth2_client_secret] if args.key?(:oauth2_client_secret)
|
||||||
|
@oauth2_client_secret_sha256 = args[:oauth2_client_secret_sha256] if args.key?(:oauth2_client_secret_sha256)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# A Version resource is a specific set of source code and configuration files
|
# A Version resource is a specific set of source code and configuration files
|
||||||
# that are deployed into a service.
|
# that are deployed into a service.
|
||||||
class Version
|
class Version
|
||||||
|
@ -1260,7 +1308,9 @@ module Google
|
||||||
# @return [Hash<String,Google::Apis::AppengineV1beta5::FileInfo>]
|
# @return [Hash<String,Google::Apis::AppengineV1beta5::FileInfo>]
|
||||||
attr_accessor :files
|
attr_accessor :files
|
||||||
|
|
||||||
# Docker image that is used to start a VM container for the version you deploy.
|
# Docker image that is used to create a container and start a VM instance for
|
||||||
|
# the version that you deploy. Only applicable for instances running in the App
|
||||||
|
# Engine flexible environment.
|
||||||
# Corresponds to the JSON property `container`
|
# Corresponds to the JSON property `container`
|
||||||
# @return [Google::Apis::AppengineV1beta5::ContainerInfo]
|
# @return [Google::Apis::AppengineV1beta5::ContainerInfo]
|
||||||
attr_accessor :container
|
attr_accessor :container
|
||||||
|
@ -1317,12 +1367,14 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Docker image that is used to start a VM container for the version you deploy.
|
# Docker image that is used to create a container and start a VM instance for
|
||||||
|
# the version that you deploy. Only applicable for instances running in the App
|
||||||
|
# Engine flexible environment.
|
||||||
class ContainerInfo
|
class ContainerInfo
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# URI to the hosted container image in a Docker repository. The URI must be
|
# URI to the hosted container image in Google Container Registry. The URI must
|
||||||
# fully qualified and include a tag or digest. Examples: "gcr.io/my-project/
|
# be fully qualified and include a tag or digest. Examples: "gcr.io/my-project/
|
||||||
# image:tag" or "gcr.io/my-project/image@digest"
|
# image:tag" or "gcr.io/my-project/image@digest"
|
||||||
# Corresponds to the JSON property `image`
|
# Corresponds to the JSON property `image`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -1688,7 +1740,7 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# The response message for LocationService.ListLocations.
|
# The response message for Locations.ListLocations.
|
||||||
class ListLocationsResponse
|
class ListLocationsResponse
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -1895,6 +1947,64 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Metadata for the given google.longrunning.Operation.
|
||||||
|
class OperationMetadataV1Beta
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# API method that initiated this operation. Example: google.appengine.v1beta.
|
||||||
|
# Versions.CreateVersion.@OutputOnly
|
||||||
|
# Corresponds to the JSON property `method`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :method_prop
|
||||||
|
|
||||||
|
# Time that this operation was created.@OutputOnly
|
||||||
|
# Corresponds to the JSON property `insertTime`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :insert_time
|
||||||
|
|
||||||
|
# Time that this operation completed.@OutputOnly
|
||||||
|
# Corresponds to the JSON property `endTime`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :end_time
|
||||||
|
|
||||||
|
# User who requested this operation.@OutputOnly
|
||||||
|
# Corresponds to the JSON property `user`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :user
|
||||||
|
|
||||||
|
# Name of the resource that this operation is acting on. Example: apps/myapp/
|
||||||
|
# services/default.@OutputOnly
|
||||||
|
# Corresponds to the JSON property `target`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :target
|
||||||
|
|
||||||
|
# Ephemeral message that may change every time the operation is polled. @
|
||||||
|
# OutputOnly
|
||||||
|
# Corresponds to the JSON property `ephemeralMessage`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :ephemeral_message
|
||||||
|
|
||||||
|
# Durable messages that persist on every operation poll. @OutputOnly
|
||||||
|
# Corresponds to the JSON property `warning`
|
||||||
|
# @return [Array<String>]
|
||||||
|
attr_accessor :warning
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@method_prop = args[:method_prop] if args.key?(:method_prop)
|
||||||
|
@insert_time = args[:insert_time] if args.key?(:insert_time)
|
||||||
|
@end_time = args[:end_time] if args.key?(:end_time)
|
||||||
|
@user = args[:user] if args.key?(:user)
|
||||||
|
@target = args[:target] if args.key?(:target)
|
||||||
|
@ephemeral_message = args[:ephemeral_message] if args.key?(:ephemeral_message)
|
||||||
|
@warning = args[:warning] if args.key?(:warning)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Metadata for the given google.longrunning.Operation.
|
# Metadata for the given google.longrunning.Operation.
|
||||||
class OperationMetadataV1
|
class OperationMetadataV1
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
|
@ -52,6 +52,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class IdentityAwareProxy
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class Version
|
class Version
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -268,6 +274,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class OperationMetadataV1Beta
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class OperationMetadataV1
|
class OperationMetadataV1
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -323,6 +335,8 @@ module Google
|
||||||
property :default_cookie_expiration, as: 'defaultCookieExpiration'
|
property :default_cookie_expiration, as: 'defaultCookieExpiration'
|
||||||
property :default_hostname, as: 'defaultHostname'
|
property :default_hostname, as: 'defaultHostname'
|
||||||
property :default_bucket, as: 'defaultBucket'
|
property :default_bucket, as: 'defaultBucket'
|
||||||
|
property :iap, as: 'iap', class: Google::Apis::AppengineV1beta5::IdentityAwareProxy, decorator: Google::Apis::AppengineV1beta5::IdentityAwareProxy::Representation
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -335,6 +349,16 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class IdentityAwareProxy
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :enabled, as: 'enabled'
|
||||||
|
property :oauth2_client_id, as: 'oauth2ClientId'
|
||||||
|
property :oauth2_client_secret, as: 'oauth2ClientSecret'
|
||||||
|
property :oauth2_client_secret_sha256, as: 'oauth2ClientSecretSha256'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class Version
|
class Version
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -740,6 +764,19 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class OperationMetadataV1Beta
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :method_prop, as: 'method'
|
||||||
|
property :insert_time, as: 'insertTime'
|
||||||
|
property :end_time, as: 'endTime'
|
||||||
|
property :user, as: 'user'
|
||||||
|
property :target, as: 'target'
|
||||||
|
property :ephemeral_message, as: 'ephemeralMessage'
|
||||||
|
collection :warning, as: 'warning'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class OperationMetadataV1
|
class OperationMetadataV1
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
|
@ -46,11 +46,12 @@ module Google
|
||||||
super('https://appengine.googleapis.com/', '')
|
super('https://appengine.googleapis.com/', '')
|
||||||
end
|
end
|
||||||
|
|
||||||
# Creates an App Engine application for a Google Cloud Platform project. This
|
# Creates an App Engine application for a Google Cloud Platform project.
|
||||||
# requires a project that excludes an App Engine application. For details about
|
# Required fields: id - The ID of the target Cloud Platform project. location -
|
||||||
# creating a project without an application, see the Google Cloud Resource
|
# The region (https://cloud.google.com/appengine/docs/locations) where you want
|
||||||
# Manager create project topic (https://cloud.google.com/resource-manager/docs/
|
# the App Engine application located.For more information about App Engine
|
||||||
# creating-project).
|
# applications, see Managing Projects, Applications, and Billing (https://cloud.
|
||||||
|
# google.com/appengine/docs/python/console/).
|
||||||
# @param [Google::Apis::AppengineV1beta5::Application] application_object
|
# @param [Google::Apis::AppengineV1beta5::Application] application_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.
|
||||||
|
@ -349,9 +350,9 @@ module Google
|
||||||
# @param [String] mask
|
# @param [String] mask
|
||||||
# Standard field mask for the set of fields to be updated.
|
# Standard field mask for the set of fields to be updated.
|
||||||
# @param [Boolean] migrate_traffic
|
# @param [Boolean] migrate_traffic
|
||||||
# Set to true to gradually shift traffic from one version to another single
|
# Set to true to gradually shift traffic to one or more versions that you
|
||||||
# version. By default, traffic is shifted immediately. For gradual traffic
|
# specify. By default, traffic is shifted immediately. For gradual traffic
|
||||||
# migration, the target version must be located within instances that are
|
# migration, the target versions must be located within instances that are
|
||||||
# configured for both warmup requests (https://cloud.google.com/appengine/docs/
|
# configured for both warmup requests (https://cloud.google.com/appengine/docs/
|
||||||
# admin-api/reference/rest/v1beta5/apps.services.versions#inboundservicetype)
|
# admin-api/reference/rest/v1beta5/apps.services.versions#inboundservicetype)
|
||||||
# and automatic scaling (https://cloud.google.com/appengine/docs/admin-api/
|
# and automatic scaling (https://cloud.google.com/appengine/docs/admin-api/
|
||||||
|
@ -689,7 +690,9 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Lists the instances of a version.
|
# Lists the instances of a version.Tip: To aggregate details about instances
|
||||||
|
# over time, see the Stackdriver Monitoring API (https://cloud.google.com/
|
||||||
|
# monitoring/api/ref_v3/rest/v3/projects.timeSeries/list).
|
||||||
# @param [String] apps_id
|
# @param [String] apps_id
|
||||||
# Part of `name`. Name of the resource requested. Example: apps/myapp/services/
|
# Part of `name`. Name of the resource requested. Example: apps/myapp/services/
|
||||||
# default/versions/v1.
|
# default/versions/v1.
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/games/services/web/api/states
|
# @see https://developers.google.com/games/services/web/api/states
|
||||||
module AppstateV1
|
module AppstateV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20170302'
|
REVISION = '20170323'
|
||||||
|
|
||||||
# View and manage your data for this application
|
# View and manage your data for this application
|
||||||
AUTH_APPSTATE = 'https://www.googleapis.com/auth/appstate'
|
AUTH_APPSTATE = 'https://www.googleapis.com/auth/appstate'
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/bigquery/
|
# @see https://cloud.google.com/bigquery/
|
||||||
module BigqueryV2
|
module BigqueryV2
|
||||||
VERSION = 'V2'
|
VERSION = 'V2'
|
||||||
REVISION = '20170224'
|
REVISION = '20170319'
|
||||||
|
|
||||||
# View and manage your data in Google BigQuery
|
# View and manage your data in Google BigQuery
|
||||||
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
||||||
|
|
|
@ -334,9 +334,9 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :kind
|
attr_accessor :kind
|
||||||
|
|
||||||
# [Experimental] The labels associated with this dataset. You can use these to
|
# The labels associated with this dataset. You can use these to organize and
|
||||||
# organize and group your datasets. You can set this property when inserting or
|
# group your datasets. You can set this property when inserting or updating a
|
||||||
# updating a dataset. See Labeling Datasets for more information.
|
# dataset. See Labeling Datasets for more information.
|
||||||
# Corresponds to the JSON property `labels`
|
# Corresponds to the JSON property `labels`
|
||||||
# @return [Hash<String,String>]
|
# @return [Hash<String,String>]
|
||||||
attr_accessor :labels
|
attr_accessor :labels
|
||||||
|
@ -347,8 +347,8 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :last_modified_time
|
attr_accessor :last_modified_time
|
||||||
|
|
||||||
# [Experimental] The geographic location where the dataset should reside.
|
# The geographic location where the dataset should reside. Possible values
|
||||||
# Possible values include EU and US. The default value is US.
|
# include EU and US. The default value is US.
|
||||||
# Corresponds to the JSON property `location`
|
# Corresponds to the JSON property `location`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :location
|
attr_accessor :location
|
||||||
|
@ -507,8 +507,8 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :kind
|
attr_accessor :kind
|
||||||
|
|
||||||
# [Experimental] The labels associated with this dataset. You can use these to
|
# The labels associated with this dataset. You can use these to organize and
|
||||||
# organize and group your datasets.
|
# group your datasets.
|
||||||
# Corresponds to the JSON property `labels`
|
# Corresponds to the JSON property `labels`
|
||||||
# @return [Hash<String,String>]
|
# @return [Hash<String,String>]
|
||||||
attr_accessor :labels
|
attr_accessor :labels
|
||||||
|
@ -720,8 +720,8 @@ module Google
|
||||||
class ExternalDataConfiguration
|
class ExternalDataConfiguration
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# [Experimental] Try to detect schema and format options automatically. Any
|
# Try to detect schema and format options automatically. Any option specified
|
||||||
# option specified explicitly will be honored.
|
# explicitly will be honored.
|
||||||
# Corresponds to the JSON property `autodetect`
|
# Corresponds to the JSON property `autodetect`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :autodetect
|
attr_accessor :autodetect
|
||||||
|
@ -782,10 +782,8 @@ module Google
|
||||||
# [Required] The data format. For CSV files, specify "CSV". For Google sheets,
|
# [Required] The data format. For CSV files, specify "CSV". For Google sheets,
|
||||||
# specify "GOOGLE_SHEETS". For newline-delimited JSON, specify "
|
# specify "GOOGLE_SHEETS". For newline-delimited JSON, specify "
|
||||||
# NEWLINE_DELIMITED_JSON". For Avro files, specify "AVRO". For Google Cloud
|
# NEWLINE_DELIMITED_JSON". For Avro files, specify "AVRO". For Google Cloud
|
||||||
# Datastore backups, specify "DATASTORE_BACKUP". [Experimental] For Google Cloud
|
# Datastore backups, specify "DATASTORE_BACKUP". [Beta] For Google Cloud
|
||||||
# Bigtable, specify "BIGTABLE". Please note that reading from Google Cloud
|
# Bigtable, specify "BIGTABLE".
|
||||||
# Bigtable is experimental and has to be enabled for your project. Please
|
|
||||||
# contact Google Cloud Support to enable this for your project.
|
|
||||||
# Corresponds to the JSON property `sourceFormat`
|
# Corresponds to the JSON property `sourceFormat`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :source_format
|
attr_accessor :source_format
|
||||||
|
@ -864,8 +862,8 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :kind
|
attr_accessor :kind
|
||||||
|
|
||||||
# [Output-only, Experimental] The number of rows affected by a DML statement.
|
# [Output-only] The number of rows affected by a DML statement. Present only for
|
||||||
# Present only for DML statements INSERT, UPDATE or DELETE.
|
# DML statements INSERT, UPDATE or DELETE.
|
||||||
# Corresponds to the JSON property `numDmlAffectedRows`
|
# Corresponds to the JSON property `numDmlAffectedRows`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :num_dml_affected_rows
|
attr_accessor :num_dml_affected_rows
|
||||||
|
@ -1185,8 +1183,8 @@ module Google
|
||||||
attr_accessor :allow_quoted_newlines
|
attr_accessor :allow_quoted_newlines
|
||||||
alias_method :allow_quoted_newlines?, :allow_quoted_newlines
|
alias_method :allow_quoted_newlines?, :allow_quoted_newlines
|
||||||
|
|
||||||
# [Experimental] Indicates if we should automatically infer the options and
|
# Indicates if we should automatically infer the options and schema for CSV and
|
||||||
# schema for CSV and JSON sources.
|
# JSON sources.
|
||||||
# Corresponds to the JSON property `autodetect`
|
# Corresponds to the JSON property `autodetect`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :autodetect
|
attr_accessor :autodetect
|
||||||
|
@ -1255,12 +1253,11 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :null_marker
|
attr_accessor :null_marker
|
||||||
|
|
||||||
# [Experimental] If sourceFormat is set to "DATASTORE_BACKUP", indicates which
|
# If sourceFormat is set to "DATASTORE_BACKUP", indicates which entity
|
||||||
# entity properties to load into BigQuery from a Cloud Datastore backup.
|
# properties to load into BigQuery from a Cloud Datastore backup. Property names
|
||||||
# Property names are case sensitive and must be top-level properties. If no
|
# are case sensitive and must be top-level properties. If no properties are
|
||||||
# properties are specified, BigQuery loads all properties. If any named property
|
# specified, BigQuery loads all properties. If any named property isn't found in
|
||||||
# isn't found in the Cloud Datastore backup, an invalid error is returned in the
|
# the Cloud Datastore backup, an invalid error is returned in the job result.
|
||||||
# job result.
|
|
||||||
# Corresponds to the JSON property `projectionFields`
|
# Corresponds to the JSON property `projectionFields`
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
attr_accessor :projection_fields
|
attr_accessor :projection_fields
|
||||||
|
@ -1423,9 +1420,8 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :maximum_bytes_billed
|
attr_accessor :maximum_bytes_billed
|
||||||
|
|
||||||
# [Experimental] Standard SQL only. Set to POSITIONAL to use positional (?)
|
# Standard SQL only. Set to POSITIONAL to use positional (?) query parameters or
|
||||||
# query parameters or to NAMED to use named (@myparam) query parameters in this
|
# to NAMED to use named (@myparam) query parameters in this query.
|
||||||
# query.
|
|
||||||
# Corresponds to the JSON property `parameterMode`
|
# Corresponds to the JSON property `parameterMode`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :parameter_mode
|
attr_accessor :parameter_mode
|
||||||
|
@ -1492,7 +1488,7 @@ module Google
|
||||||
attr_accessor :use_query_cache
|
attr_accessor :use_query_cache
|
||||||
alias_method :use_query_cache?, :use_query_cache
|
alias_method :use_query_cache?, :use_query_cache
|
||||||
|
|
||||||
# [Experimental] Describes user-defined function resources used in the query.
|
# Describes user-defined function resources used in the query.
|
||||||
# Corresponds to the JSON property `userDefinedFunctionResources`
|
# Corresponds to the JSON property `userDefinedFunctionResources`
|
||||||
# @return [Array<Google::Apis::BigqueryV2::UserDefinedFunctionResource>]
|
# @return [Array<Google::Apis::BigqueryV2::UserDefinedFunctionResource>]
|
||||||
attr_accessor :user_defined_function_resources
|
attr_accessor :user_defined_function_resources
|
||||||
|
@ -1799,13 +1795,13 @@ module Google
|
||||||
attr_accessor :cache_hit
|
attr_accessor :cache_hit
|
||||||
alias_method :cache_hit?, :cache_hit
|
alias_method :cache_hit?, :cache_hit
|
||||||
|
|
||||||
# [Output-only, Experimental] The number of rows affected by a DML statement.
|
# [Output-only] The number of rows affected by a DML statement. Present only for
|
||||||
# Present only for DML statements INSERT, UPDATE or DELETE.
|
# DML statements INSERT, UPDATE or DELETE.
|
||||||
# Corresponds to the JSON property `numDmlAffectedRows`
|
# Corresponds to the JSON property `numDmlAffectedRows`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :num_dml_affected_rows
|
attr_accessor :num_dml_affected_rows
|
||||||
|
|
||||||
# [Output-only, Experimental] Describes execution plan for the query.
|
# [Output-only] Describes execution plan for the query.
|
||||||
# Corresponds to the JSON property `queryPlan`
|
# Corresponds to the JSON property `queryPlan`
|
||||||
# @return [Array<Google::Apis::BigqueryV2::ExplainQueryStage>]
|
# @return [Array<Google::Apis::BigqueryV2::ExplainQueryStage>]
|
||||||
attr_accessor :query_plan
|
attr_accessor :query_plan
|
||||||
|
@ -2221,9 +2217,8 @@ module Google
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :max_results
|
attr_accessor :max_results
|
||||||
|
|
||||||
# [Experimental] Standard SQL only. Set to POSITIONAL to use positional (?)
|
# Standard SQL only. Set to POSITIONAL to use positional (?) query parameters or
|
||||||
# query parameters or to NAMED to use named (@myparam) query parameters in this
|
# to NAMED to use named (@myparam) query parameters in this query.
|
||||||
# query.
|
|
||||||
# Corresponds to the JSON property `parameterMode`
|
# Corresponds to the JSON property `parameterMode`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :parameter_mode
|
attr_accessor :parameter_mode
|
||||||
|
@ -2241,7 +2236,7 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :query
|
attr_accessor :query
|
||||||
|
|
||||||
# [Experimental] Query parameters for Standard SQL queries.
|
# Query parameters for Standard SQL queries.
|
||||||
# Corresponds to the JSON property `queryParameters`
|
# Corresponds to the JSON property `queryParameters`
|
||||||
# @return [Array<Google::Apis::BigqueryV2::QueryParameter>]
|
# @return [Array<Google::Apis::BigqueryV2::QueryParameter>]
|
||||||
attr_accessor :query_parameters
|
attr_accessor :query_parameters
|
||||||
|
@ -2332,8 +2327,8 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :kind
|
attr_accessor :kind
|
||||||
|
|
||||||
# [Output-only, Experimental] The number of rows affected by a DML statement.
|
# [Output-only] The number of rows affected by a DML statement. Present only for
|
||||||
# Present only for DML statements INSERT, UPDATE or DELETE.
|
# DML statements INSERT, UPDATE or DELETE.
|
||||||
# Corresponds to the JSON property `numDmlAffectedRows`
|
# Corresponds to the JSON property `numDmlAffectedRows`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :num_dml_affected_rows
|
attr_accessor :num_dml_affected_rows
|
||||||
|
@ -3086,7 +3081,7 @@ module Google
|
||||||
attr_accessor :use_legacy_sql
|
attr_accessor :use_legacy_sql
|
||||||
alias_method :use_legacy_sql?, :use_legacy_sql
|
alias_method :use_legacy_sql?, :use_legacy_sql
|
||||||
|
|
||||||
# [Experimental] Describes user-defined function resources used in the query.
|
# Describes user-defined function resources used in the query.
|
||||||
# Corresponds to the JSON property `userDefinedFunctionResources`
|
# Corresponds to the JSON property `userDefinedFunctionResources`
|
||||||
# @return [Array<Google::Apis::BigqueryV2::UserDefinedFunctionResource>]
|
# @return [Array<Google::Apis::BigqueryV2::UserDefinedFunctionResource>]
|
||||||
attr_accessor :user_defined_function_resources
|
attr_accessor :user_defined_function_resources
|
||||||
|
|
|
@ -676,6 +676,9 @@ module Google
|
||||||
# Maximum number of results to return
|
# Maximum number of results to return
|
||||||
# @param [String] page_token
|
# @param [String] page_token
|
||||||
# Page token, returned by a previous call, identifying the result set
|
# Page token, returned by a previous call, identifying the result set
|
||||||
|
# @param [String] selected_fields
|
||||||
|
# List of fields to return (comma-separated). If unspecified, all fields are
|
||||||
|
# returned
|
||||||
# @param [String] start_index
|
# @param [String] start_index
|
||||||
# Zero-based index of the starting row to read
|
# Zero-based index of the starting row to read
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
|
@ -699,7 +702,7 @@ 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 list_table_data(project_id, dataset_id, table_id, max_results: nil, page_token: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
def list_table_data(project_id, dataset_id, table_id, max_results: nil, page_token: nil, selected_fields: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
command = make_simple_command(:get, 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}/data', options)
|
command = make_simple_command(:get, 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}/data', options)
|
||||||
command.response_representation = Google::Apis::BigqueryV2::TableDataList::Representation
|
command.response_representation = Google::Apis::BigqueryV2::TableDataList::Representation
|
||||||
command.response_class = Google::Apis::BigqueryV2::TableDataList
|
command.response_class = Google::Apis::BigqueryV2::TableDataList
|
||||||
|
@ -708,6 +711,7 @@ module Google
|
||||||
command.params['tableId'] = table_id unless table_id.nil?
|
command.params['tableId'] = table_id unless table_id.nil?
|
||||||
command.query['maxResults'] = max_results unless max_results.nil?
|
command.query['maxResults'] = max_results unless max_results.nil?
|
||||||
command.query['pageToken'] = page_token unless page_token.nil?
|
command.query['pageToken'] = page_token unless page_token.nil?
|
||||||
|
command.query['selectedFields'] = selected_fields unless selected_fields.nil?
|
||||||
command.query['startIndex'] = start_index unless start_index.nil?
|
command.query['startIndex'] = start_index unless start_index.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?
|
||||||
|
@ -764,6 +768,9 @@ module Google
|
||||||
# Dataset ID of the requested table
|
# Dataset ID of the requested table
|
||||||
# @param [String] table_id
|
# @param [String] table_id
|
||||||
# Table ID of the requested table
|
# Table ID of the requested table
|
||||||
|
# @param [String] selected_fields
|
||||||
|
# List of fields to return (comma-separated). If unspecified, all fields are
|
||||||
|
# returned
|
||||||
# @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
|
||||||
|
@ -785,13 +792,14 @@ 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 get_table(project_id, dataset_id, table_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
def get_table(project_id, dataset_id, table_id, selected_fields: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
command = make_simple_command(:get, 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}', options)
|
command = make_simple_command(:get, 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}', options)
|
||||||
command.response_representation = Google::Apis::BigqueryV2::Table::Representation
|
command.response_representation = Google::Apis::BigqueryV2::Table::Representation
|
||||||
command.response_class = Google::Apis::BigqueryV2::Table
|
command.response_class = Google::Apis::BigqueryV2::Table
|
||||||
command.params['projectId'] = project_id unless project_id.nil?
|
command.params['projectId'] = project_id unless project_id.nil?
|
||||||
command.params['datasetId'] = dataset_id unless dataset_id.nil?
|
command.params['datasetId'] = dataset_id unless dataset_id.nil?
|
||||||
command.params['tableId'] = table_id unless table_id.nil?
|
command.params['tableId'] = table_id unless table_id.nil?
|
||||||
|
command.query['selectedFields'] = selected_fields unless selected_fields.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?
|
||||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/google-apps/calendar/firstapp
|
# @see https://developers.google.com/google-apps/calendar/firstapp
|
||||||
module CalendarV3
|
module CalendarV3
|
||||||
VERSION = 'V3'
|
VERSION = 'V3'
|
||||||
REVISION = '20170221'
|
REVISION = '20170319'
|
||||||
|
|
||||||
# Manage your calendars
|
# Manage your calendars
|
||||||
AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
|
AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
|
||||||
|
|
|
@ -599,6 +599,74 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class DeepLinkData
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `links`
|
||||||
|
# @return [Array<Google::Apis::CalendarV3::Link>]
|
||||||
|
attr_accessor :links
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `url`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :url
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@links = args[:links] if args.key?(:links)
|
||||||
|
@url = args[:url] if args.key?(:url)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class DisplayInfo
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `appIconUrl`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :app_icon_url
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `appShortTitle`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :app_short_title
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `appTitle`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :app_title
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `linkShortTitle`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :link_short_title
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `linkTitle`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :link_title
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@app_icon_url = args[:app_icon_url] if args.key?(:app_icon_url)
|
||||||
|
@app_short_title = args[:app_short_title] if args.key?(:app_short_title)
|
||||||
|
@app_title = args[:app_title] if args.key?(:app_title)
|
||||||
|
@link_short_title = args[:link_short_title] if args.key?(:link_short_title)
|
||||||
|
@link_title = args[:link_title] if args.key?(:link_title)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
#
|
#
|
||||||
class Error
|
class Error
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -1339,6 +1407,31 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class EventHabitInstance
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Metadata specific to this instance.
|
||||||
|
# Corresponds to the JSON property `data`
|
||||||
|
# @return [Google::Apis::CalendarV3::HabitInstanceData]
|
||||||
|
attr_accessor :data
|
||||||
|
|
||||||
|
# Id of the habit this instance belongs to.
|
||||||
|
# Corresponds to the JSON property `parentId`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :parent_id
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@data = args[:data] if args.key?(:data)
|
||||||
|
@parent_id = args[:parent_id] if args.key?(:parent_id)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
#
|
#
|
||||||
class EventReminder
|
class EventReminder
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -1627,6 +1720,118 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class HabitInstanceData
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `status`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :status
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `statusInferred`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :status_inferred
|
||||||
|
alias_method :status_inferred?, :status_inferred
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `type`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :type
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@status = args[:status] if args.key?(:status)
|
||||||
|
@status_inferred = args[:status_inferred] if args.key?(:status_inferred)
|
||||||
|
@type = args[:type] if args.key?(:type)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class LaunchInfo
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `appId`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :app_id
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `installUrl`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :install_url
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `intentAction`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :intent_action
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `uri`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :uri
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@app_id = args[:app_id] if args.key?(:app_id)
|
||||||
|
@install_url = args[:install_url] if args.key?(:install_url)
|
||||||
|
@intent_action = args[:intent_action] if args.key?(:intent_action)
|
||||||
|
@uri = args[:uri] if args.key?(:uri)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class Link
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `applinkingSource`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :applinking_source
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `displayInfo`
|
||||||
|
# @return [Google::Apis::CalendarV3::DisplayInfo]
|
||||||
|
attr_accessor :display_info
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `launchInfo`
|
||||||
|
# @return [Google::Apis::CalendarV3::LaunchInfo]
|
||||||
|
attr_accessor :launch_info
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `platform`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :platform
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `url`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :url
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@applinking_source = args[:applinking_source] if args.key?(:applinking_source)
|
||||||
|
@display_info = args[:display_info] if args.key?(:display_info)
|
||||||
|
@launch_info = args[:launch_info] if args.key?(:launch_info)
|
||||||
|
@platform = args[:platform] if args.key?(:platform)
|
||||||
|
@url = args[:url] if args.key?(:url)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
#
|
#
|
||||||
class Setting
|
class Setting
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
|
@ -88,6 +88,18 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class DeepLinkData
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class DisplayInfo
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class Error
|
class Error
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -154,6 +166,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class EventHabitInstance
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class EventReminder
|
class EventReminder
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -196,6 +214,24 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class HabitInstanceData
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class LaunchInfo
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class Link
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class Setting
|
class Setting
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -350,6 +386,26 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class DeepLinkData
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :links, as: 'links', class: Google::Apis::CalendarV3::Link, decorator: Google::Apis::CalendarV3::Link::Representation
|
||||||
|
|
||||||
|
property :url, as: 'url'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class DisplayInfo
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :app_icon_url, as: 'appIconUrl'
|
||||||
|
property :app_short_title, as: 'appShortTitle'
|
||||||
|
property :app_title, as: 'appTitle'
|
||||||
|
property :link_short_title, as: 'linkShortTitle'
|
||||||
|
property :link_title, as: 'linkTitle'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class Error
|
class Error
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -511,6 +567,15 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class EventHabitInstance
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :data, as: 'data', class: Google::Apis::CalendarV3::HabitInstanceData, decorator: Google::Apis::CalendarV3::HabitInstanceData::Representation
|
||||||
|
|
||||||
|
property :parent_id, as: 'parentId'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class EventReminder
|
class EventReminder
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -595,6 +660,38 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class HabitInstanceData
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :status, as: 'status'
|
||||||
|
property :status_inferred, as: 'statusInferred'
|
||||||
|
property :type, as: 'type'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class LaunchInfo
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :app_id, as: 'appId'
|
||||||
|
property :install_url, as: 'installUrl'
|
||||||
|
property :intent_action, as: 'intentAction'
|
||||||
|
property :uri, as: 'uri'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class Link
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :applinking_source, as: 'applinkingSource'
|
||||||
|
property :display_info, as: 'displayInfo', class: Google::Apis::CalendarV3::DisplayInfo, decorator: Google::Apis::CalendarV3::DisplayInfo::Representation
|
||||||
|
|
||||||
|
property :launch_info, as: 'launchInfo', class: Google::Apis::CalendarV3::LaunchInfo, decorator: Google::Apis::CalendarV3::LaunchInfo::Representation
|
||||||
|
|
||||||
|
property :platform, as: 'platform'
|
||||||
|
property :url, as: 'url'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class Setting
|
class Setting
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
|
@ -25,37 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/classroom/
|
# @see https://developers.google.com/classroom/
|
||||||
module ClassroomV1
|
module ClassroomV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20170110'
|
REVISION = '20170322'
|
||||||
|
|
||||||
# View instructions for teacher-assigned work in your Google Classroom classes
|
|
||||||
AUTH_CLASSROOM_COURSE_WORK_READONLY = 'https://www.googleapis.com/auth/classroom.course-work.readonly'
|
|
||||||
|
|
||||||
# Manage your Google Classroom classes
|
|
||||||
AUTH_CLASSROOM_COURSES = 'https://www.googleapis.com/auth/classroom.courses'
|
|
||||||
|
|
||||||
# View your Google Classroom classes
|
|
||||||
AUTH_CLASSROOM_COURSES_READONLY = 'https://www.googleapis.com/auth/classroom.courses.readonly'
|
|
||||||
|
|
||||||
# Manage your course work and view your grades in Google Classroom
|
|
||||||
AUTH_CLASSROOM_COURSEWORK_ME = 'https://www.googleapis.com/auth/classroom.coursework.me'
|
|
||||||
|
|
||||||
# View your course work and grades in Google Classroom
|
|
||||||
AUTH_CLASSROOM_COURSEWORK_ME_READONLY = 'https://www.googleapis.com/auth/classroom.coursework.me.readonly'
|
|
||||||
|
|
||||||
# Manage course work and grades for students in the Google Classroom classes you teach and view the course work and grades for classes you administer
|
|
||||||
AUTH_CLASSROOM_COURSEWORK_STUDENTS = 'https://www.googleapis.com/auth/classroom.coursework.students'
|
|
||||||
|
|
||||||
# View course work and grades for students in the Google Classroom classes you teach or administer
|
|
||||||
AUTH_CLASSROOM_COURSEWORK_STUDENTS_READONLY = 'https://www.googleapis.com/auth/classroom.coursework.students.readonly'
|
|
||||||
|
|
||||||
# View the email addresses of people in your classes
|
|
||||||
AUTH_CLASSROOM_PROFILE_EMAILS = 'https://www.googleapis.com/auth/classroom.profile.emails'
|
|
||||||
|
|
||||||
# View the profile photos of people in your classes
|
|
||||||
AUTH_CLASSROOM_PROFILE_PHOTOS = 'https://www.googleapis.com/auth/classroom.profile.photos'
|
|
||||||
|
|
||||||
# Manage your Google Classroom class rosters
|
|
||||||
AUTH_CLASSROOM_ROSTERS = 'https://www.googleapis.com/auth/classroom.rosters'
|
|
||||||
|
|
||||||
# View your Google Classroom class rosters
|
# View your Google Classroom class rosters
|
||||||
AUTH_CLASSROOM_ROSTERS_READONLY = 'https://www.googleapis.com/auth/classroom.rosters.readonly'
|
AUTH_CLASSROOM_ROSTERS_READONLY = 'https://www.googleapis.com/auth/classroom.rosters.readonly'
|
||||||
|
@ -63,8 +33,35 @@ module Google
|
||||||
# View your course work and grades in Google Classroom
|
# View your course work and grades in Google Classroom
|
||||||
AUTH_CLASSROOM_STUDENT_SUBMISSIONS_ME_READONLY = 'https://www.googleapis.com/auth/classroom.student-submissions.me.readonly'
|
AUTH_CLASSROOM_STUDENT_SUBMISSIONS_ME_READONLY = 'https://www.googleapis.com/auth/classroom.student-submissions.me.readonly'
|
||||||
|
|
||||||
|
# View course work and grades for students in the Google Classroom classes you teach or administer
|
||||||
|
AUTH_CLASSROOM_COURSEWORK_STUDENTS_READONLY = 'https://www.googleapis.com/auth/classroom.coursework.students.readonly'
|
||||||
|
|
||||||
# View course work and grades for students in the Google Classroom classes you teach or administer
|
# View course work and grades for students in the Google Classroom classes you teach or administer
|
||||||
AUTH_CLASSROOM_STUDENT_SUBMISSIONS_STUDENTS_READONLY = 'https://www.googleapis.com/auth/classroom.student-submissions.students.readonly'
|
AUTH_CLASSROOM_STUDENT_SUBMISSIONS_STUDENTS_READONLY = 'https://www.googleapis.com/auth/classroom.student-submissions.students.readonly'
|
||||||
|
|
||||||
|
# Manage your Google Classroom class rosters
|
||||||
|
AUTH_CLASSROOM_ROSTERS = 'https://www.googleapis.com/auth/classroom.rosters'
|
||||||
|
|
||||||
|
# View your course work and grades in Google Classroom
|
||||||
|
AUTH_CLASSROOM_COURSEWORK_ME_READONLY = 'https://www.googleapis.com/auth/classroom.coursework.me.readonly'
|
||||||
|
|
||||||
|
# View your Google Classroom classes
|
||||||
|
AUTH_CLASSROOM_COURSES_READONLY = 'https://www.googleapis.com/auth/classroom.courses.readonly'
|
||||||
|
|
||||||
|
# Manage your Google Classroom classes
|
||||||
|
AUTH_CLASSROOM_COURSES = 'https://www.googleapis.com/auth/classroom.courses'
|
||||||
|
|
||||||
|
# Manage your course work and view your grades in Google Classroom
|
||||||
|
AUTH_CLASSROOM_COURSEWORK_ME = 'https://www.googleapis.com/auth/classroom.coursework.me'
|
||||||
|
|
||||||
|
# Manage course work and grades for students in the Google Classroom classes you teach and view the course work and grades for classes you administer
|
||||||
|
AUTH_CLASSROOM_COURSEWORK_STUDENTS = 'https://www.googleapis.com/auth/classroom.coursework.students'
|
||||||
|
|
||||||
|
# View the profile photos of people in your classes
|
||||||
|
AUTH_CLASSROOM_PROFILE_PHOTOS = 'https://www.googleapis.com/auth/classroom.profile.photos'
|
||||||
|
|
||||||
|
# View the email addresses of people in your classes
|
||||||
|
AUTH_CLASSROOM_PROFILE_EMAILS = 'https://www.googleapis.com/auth/classroom.profile.emails'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/container-builder/docs/
|
# @see https://cloud.google.com/container-builder/docs/
|
||||||
module CloudbuildV1
|
module CloudbuildV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20170306'
|
REVISION = '20170327'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -27,14 +27,6 @@ module Google
|
||||||
class Operation
|
class Operation
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# If the value is `false`, it means the operation is still in progress.
|
|
||||||
# If true, the operation is completed, and either `error` or `response` is
|
|
||||||
# available.
|
|
||||||
# Corresponds to the JSON property `done`
|
|
||||||
# @return [Boolean]
|
|
||||||
attr_accessor :done
|
|
||||||
alias_method :done?, :done
|
|
||||||
|
|
||||||
# The normal response of the operation in case of success. If the original
|
# The normal response of the operation in case of success. If the original
|
||||||
# method returns no data on success, such as `Delete`, the response is
|
# method returns no data on success, such as `Delete`, the response is
|
||||||
# `google.protobuf.Empty`. If the original method is standard
|
# `google.protobuf.Empty`. If the original method is standard
|
||||||
|
@ -105,17 +97,25 @@ module Google
|
||||||
# @return [Hash<String,Object>]
|
# @return [Hash<String,Object>]
|
||||||
attr_accessor :metadata
|
attr_accessor :metadata
|
||||||
|
|
||||||
|
# If the value is `false`, it means the operation is still in progress.
|
||||||
|
# If true, the operation is completed, and either `error` or `response` is
|
||||||
|
# available.
|
||||||
|
# Corresponds to the JSON property `done`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :done
|
||||||
|
alias_method :done?, :done
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@done = args[:done] if args.key?(:done)
|
|
||||||
@response = args[:response] if args.key?(:response)
|
@response = args[:response] if args.key?(:response)
|
||||||
@name = args[:name] if args.key?(:name)
|
@name = args[:name] if args.key?(:name)
|
||||||
@error = args[:error] if args.key?(:error)
|
@error = args[:error] if args.key?(:error)
|
||||||
@metadata = args[:metadata] if args.key?(:metadata)
|
@metadata = args[:metadata] if args.key?(:metadata)
|
||||||
|
@done = args[:done] if args.key?(:done)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -209,16 +209,60 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Container message for hash values.
|
||||||
|
class HashProp
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The type of hash that was performed.
|
||||||
|
# Corresponds to the JSON property `type`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :type
|
||||||
|
|
||||||
|
# The hash value.
|
||||||
|
# Corresponds to the JSON property `value`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :value
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@type = args[:type] if args.key?(:type)
|
||||||
|
@value = args[:value] if args.key?(:value)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# BuildStep describes a step to perform in the build pipeline.
|
# BuildStep describes a step to perform in the build pipeline.
|
||||||
class BuildStep
|
class BuildStep
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Optional entrypoint to be used instead of the build step image's default
|
||||||
|
# If unset, the image's default will be used.
|
||||||
|
# Corresponds to the JSON property `entrypoint`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :entrypoint
|
||||||
|
|
||||||
|
# Optional unique identifier for this build step, used in wait_for to
|
||||||
|
# reference this build step as a dependency.
|
||||||
|
# Corresponds to the JSON property `id`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :id
|
||||||
|
|
||||||
# Working directory (relative to project source root) to use when running
|
# Working directory (relative to project source root) to use when running
|
||||||
# this operation's container.
|
# this operation's container.
|
||||||
# Corresponds to the JSON property `dir`
|
# Corresponds to the JSON property `dir`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :dir
|
attr_accessor :dir
|
||||||
|
|
||||||
|
# A list of environment variable definitions to be used when running a step.
|
||||||
|
# The elements are of the form "KEY=VALUE" for the environment variable "KEY"
|
||||||
|
# being given the value "VALUE".
|
||||||
|
# Corresponds to the JSON property `env`
|
||||||
|
# @return [Array<String>]
|
||||||
|
attr_accessor :env
|
||||||
|
|
||||||
# The ID(s) of the step(s) that this build step depends on.
|
# The ID(s) of the step(s) that this build step depends on.
|
||||||
# This build step will not start until all the build steps in wait_for
|
# This build step will not start until all the build steps in wait_for
|
||||||
# have completed successfully. If wait_for is empty, this build step will
|
# have completed successfully. If wait_for is empty, this build step will
|
||||||
|
@ -228,13 +272,6 @@ module Google
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
attr_accessor :wait_for
|
attr_accessor :wait_for
|
||||||
|
|
||||||
# A list of environment variable definitions to be used when running a step.
|
|
||||||
# The elements are of the form "KEY=VALUE" for the environment variable "KEY"
|
|
||||||
# being given the value "VALUE".
|
|
||||||
# Corresponds to the JSON property `env`
|
|
||||||
# @return [Array<String>]
|
|
||||||
attr_accessor :env
|
|
||||||
|
|
||||||
# A list of arguments that will be presented to the step when it is started.
|
# A list of arguments that will be presented to the step when it is started.
|
||||||
# If the image used to run the step's container has an entrypoint, these args
|
# If the image used to run the step's container has an entrypoint, these args
|
||||||
# will be used as arguments to that entrypoint. If the image does not define
|
# will be used as arguments to that entrypoint. If the image does not define
|
||||||
|
@ -250,10 +287,11 @@ module Google
|
||||||
# first, using the builder service account's credentials if necessary.
|
# first, using the builder service account's credentials if necessary.
|
||||||
# The Docker daemon's cache will already have the latest versions of all of
|
# The Docker daemon's cache will already have the latest versions of all of
|
||||||
# the officially supported build steps
|
# the officially supported build steps
|
||||||
# (https://github.com/GoogleCloudPlatform/cloud-builders). The Docker daemon
|
# ([https://github.com/GoogleCloudPlatform/cloud-builders](https://github.com/
|
||||||
# will also have cached many of the layers for some popular images, like
|
# GoogleCloudPlatform/cloud-builders)).
|
||||||
# "ubuntu", "debian", but they will be refreshed at the time you attempt to
|
# The Docker daemon will also have cached many of the layers for some popular
|
||||||
# use them.
|
# images, like "ubuntu", "debian", but they will be refreshed at the time you
|
||||||
|
# attempt to use them.
|
||||||
# If you built an image in a previous build step, it will be stored in the
|
# If you built an image in a previous build step, it will be stored in the
|
||||||
# host's Docker daemon's cache and is available to use as the name for a
|
# host's Docker daemon's cache and is available to use as the name for a
|
||||||
# later build step.
|
# later build step.
|
||||||
|
@ -261,56 +299,19 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :name
|
attr_accessor :name
|
||||||
|
|
||||||
# Optional entrypoint to be used instead of the build step image's default
|
|
||||||
# If unset, the image's default will be used.
|
|
||||||
# Corresponds to the JSON property `entrypoint`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :entrypoint
|
|
||||||
|
|
||||||
# Optional unique identifier for this build step, used in wait_for to
|
|
||||||
# reference this build step as a dependency.
|
|
||||||
# Corresponds to the JSON property `id`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :id
|
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@dir = args[:dir] if args.key?(:dir)
|
|
||||||
@wait_for = args[:wait_for] if args.key?(:wait_for)
|
|
||||||
@env = args[:env] if args.key?(:env)
|
|
||||||
@args = args[:args] if args.key?(:args)
|
|
||||||
@name = args[:name] if args.key?(:name)
|
|
||||||
@entrypoint = args[:entrypoint] if args.key?(:entrypoint)
|
@entrypoint = args[:entrypoint] if args.key?(:entrypoint)
|
||||||
@id = args[:id] if args.key?(:id)
|
@id = args[:id] if args.key?(:id)
|
||||||
end
|
@dir = args[:dir] if args.key?(:dir)
|
||||||
end
|
@env = args[:env] if args.key?(:env)
|
||||||
|
@wait_for = args[:wait_for] if args.key?(:wait_for)
|
||||||
# Container message for hash values.
|
@args = args[:args] if args.key?(:args)
|
||||||
class HashProp
|
@name = args[:name] if args.key?(:name)
|
||||||
include Google::Apis::Core::Hashable
|
|
||||||
|
|
||||||
# The hash value.
|
|
||||||
# Corresponds to the JSON property `value`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :value
|
|
||||||
|
|
||||||
# The type of hash that was performed.
|
|
||||||
# Corresponds to the JSON property `type`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :type
|
|
||||||
|
|
||||||
def initialize(**args)
|
|
||||||
update!(**args)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Update properties of this object
|
|
||||||
def update!(**args)
|
|
||||||
@value = args[:value] if args.key?(:value)
|
|
||||||
@type = args[:type] if args.key?(:type)
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -430,11 +431,17 @@ module Google
|
||||||
class BuildTrigger
|
class BuildTrigger
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Path, from the source root, to a file whose contents is used for the
|
# If true, the trigger will never result in a build.
|
||||||
# template.
|
# Corresponds to the JSON property `disabled`
|
||||||
# Corresponds to the JSON property `filename`
|
# @return [Boolean]
|
||||||
|
attr_accessor :disabled
|
||||||
|
alias_method :disabled?, :disabled
|
||||||
|
|
||||||
|
# Time when the trigger was created.
|
||||||
|
# @OutputOnly
|
||||||
|
# Corresponds to the JSON property `createTime`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :filename
|
attr_accessor :create_time
|
||||||
|
|
||||||
# RepoSource describes the location of the source in a Google Cloud Source
|
# RepoSource describes the location of the source in a Google Cloud Source
|
||||||
# Repository.
|
# Repository.
|
||||||
|
@ -442,6 +449,12 @@ module Google
|
||||||
# @return [Google::Apis::CloudbuildV1::RepoSource]
|
# @return [Google::Apis::CloudbuildV1::RepoSource]
|
||||||
attr_accessor :trigger_template
|
attr_accessor :trigger_template
|
||||||
|
|
||||||
|
# Path, from the source root, to a file whose contents is used for the
|
||||||
|
# template.
|
||||||
|
# Corresponds to the JSON property `filename`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :filename
|
||||||
|
|
||||||
# Unique identifier of the trigger.
|
# Unique identifier of the trigger.
|
||||||
# @OutputOnly
|
# @OutputOnly
|
||||||
# Corresponds to the JSON property `id`
|
# Corresponds to the JSON property `id`
|
||||||
|
@ -475,32 +488,20 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :description
|
attr_accessor :description
|
||||||
|
|
||||||
# If true, the trigger will never result in a build.
|
|
||||||
# Corresponds to the JSON property `disabled`
|
|
||||||
# @return [Boolean]
|
|
||||||
attr_accessor :disabled
|
|
||||||
alias_method :disabled?, :disabled
|
|
||||||
|
|
||||||
# Time when the trigger was created.
|
|
||||||
# @OutputOnly
|
|
||||||
# Corresponds to the JSON property `createTime`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :create_time
|
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@filename = args[:filename] if args.key?(:filename)
|
@disabled = args[:disabled] if args.key?(:disabled)
|
||||||
|
@create_time = args[:create_time] if args.key?(:create_time)
|
||||||
@trigger_template = args[:trigger_template] if args.key?(:trigger_template)
|
@trigger_template = args[:trigger_template] if args.key?(:trigger_template)
|
||||||
|
@filename = args[:filename] if args.key?(:filename)
|
||||||
@id = args[:id] if args.key?(:id)
|
@id = args[:id] if args.key?(:id)
|
||||||
@build = args[:build] if args.key?(:build)
|
@build = args[:build] if args.key?(:build)
|
||||||
@substitutions = args[:substitutions] if args.key?(:substitutions)
|
@substitutions = args[:substitutions] if args.key?(:substitutions)
|
||||||
@description = args[:description] if args.key?(:description)
|
@description = args[:description] if args.key?(:description)
|
||||||
@disabled = args[:disabled] if args.key?(:disabled)
|
|
||||||
@create_time = args[:create_time] if args.key?(:create_time)
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -520,28 +521,58 @@ module Google
|
||||||
class Build
|
class Build
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Source describes the location of the source in a supported storage
|
# Time at which the request to create the build was received.
|
||||||
# service.
|
# @OutputOnly
|
||||||
# Corresponds to the JSON property `source`
|
# Corresponds to the JSON property `createTime`
|
||||||
# @return [Google::Apis::CloudbuildV1::Source]
|
# @return [String]
|
||||||
attr_accessor :source
|
attr_accessor :create_time
|
||||||
|
|
||||||
|
# Provenance of the source. Ways to find the original source, or verify that
|
||||||
|
# some source was used for this build.
|
||||||
|
# Corresponds to the JSON property `sourceProvenance`
|
||||||
|
# @return [Google::Apis::CloudbuildV1::SourceProvenance]
|
||||||
|
attr_accessor :source_provenance
|
||||||
|
|
||||||
|
# A list of images to be pushed upon the successful completion of all build
|
||||||
|
# steps.
|
||||||
|
# The images will be pushed using the builder service account's credentials.
|
||||||
|
# The digests of the pushed images will be stored in the Build resource's
|
||||||
|
# results field.
|
||||||
|
# If any of the images fail to be pushed, the build is marked FAILURE.
|
||||||
|
# Corresponds to the JSON property `images`
|
||||||
|
# @return [Array<String>]
|
||||||
|
attr_accessor :images
|
||||||
|
|
||||||
|
# ID of the project.
|
||||||
|
# @OutputOnly.
|
||||||
|
# Corresponds to the JSON property `projectId`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :project_id
|
||||||
|
|
||||||
|
# URL to logs for this build in Google Cloud Logging.
|
||||||
|
# @OutputOnly
|
||||||
|
# Corresponds to the JSON property `logUrl`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :log_url
|
||||||
|
|
||||||
|
# Time at which execution of the build was finished.
|
||||||
|
# The difference between finish_time and start_time is the duration of the
|
||||||
|
# build's execution.
|
||||||
|
# @OutputOnly
|
||||||
|
# Corresponds to the JSON property `finishTime`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :finish_time
|
||||||
|
|
||||||
# Optional arguments to enable specific features of builds.
|
# Optional arguments to enable specific features of builds.
|
||||||
# Corresponds to the JSON property `options`
|
# Corresponds to the JSON property `options`
|
||||||
# @return [Google::Apis::CloudbuildV1::BuildOptions]
|
# @return [Google::Apis::CloudbuildV1::BuildOptions]
|
||||||
attr_accessor :options
|
attr_accessor :options
|
||||||
|
|
||||||
# Customer-readable message about the current status.
|
# Source describes the location of the source in a supported storage
|
||||||
# @OutputOnly
|
# service.
|
||||||
# Corresponds to the JSON property `statusDetail`
|
# Corresponds to the JSON property `source`
|
||||||
# @return [String]
|
# @return [Google::Apis::CloudbuildV1::Source]
|
||||||
attr_accessor :status_detail
|
attr_accessor :source
|
||||||
|
|
||||||
# Status of the build.
|
|
||||||
# @OutputOnly
|
|
||||||
# Corresponds to the JSON property `status`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :status
|
|
||||||
|
|
||||||
# Amount of time that this build should be allowed to run, to second
|
# Amount of time that this build should be allowed to run, to second
|
||||||
# granularity. If this amount of time elapses, work on the build will cease
|
# granularity. If this amount of time elapses, work on the build will cease
|
||||||
|
@ -551,6 +582,18 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :timeout
|
attr_accessor :timeout
|
||||||
|
|
||||||
|
# Status of the build.
|
||||||
|
# @OutputOnly
|
||||||
|
# Corresponds to the JSON property `status`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :status
|
||||||
|
|
||||||
|
# Customer-readable message about the current status.
|
||||||
|
# @OutputOnly
|
||||||
|
# Corresponds to the JSON property `statusDetail`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :status_detail
|
||||||
|
|
||||||
# Results describes the artifacts created by the build pipeline.
|
# Results describes the artifacts created by the build pipeline.
|
||||||
# Corresponds to the JSON property `results`
|
# Corresponds to the JSON property `results`
|
||||||
# @return [Google::Apis::CloudbuildV1::Results]
|
# @return [Google::Apis::CloudbuildV1::Results]
|
||||||
|
@ -583,58 +626,16 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :id
|
attr_accessor :id
|
||||||
|
|
||||||
# Substitutions data for Build resource.
|
|
||||||
# Corresponds to the JSON property `substitutions`
|
|
||||||
# @return [Hash<String,String>]
|
|
||||||
attr_accessor :substitutions
|
|
||||||
|
|
||||||
# Time at which execution of the build was started.
|
# Time at which execution of the build was started.
|
||||||
# @OutputOnly
|
# @OutputOnly
|
||||||
# Corresponds to the JSON property `startTime`
|
# Corresponds to the JSON property `startTime`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :start_time
|
attr_accessor :start_time
|
||||||
|
|
||||||
# Provenance of the source. Ways to find the original source, or verify that
|
# Substitutions data for Build resource.
|
||||||
# some source was used for this build.
|
# Corresponds to the JSON property `substitutions`
|
||||||
# Corresponds to the JSON property `sourceProvenance`
|
# @return [Hash<String,String>]
|
||||||
# @return [Google::Apis::CloudbuildV1::SourceProvenance]
|
attr_accessor :substitutions
|
||||||
attr_accessor :source_provenance
|
|
||||||
|
|
||||||
# Time at which the request to create the build was received.
|
|
||||||
# @OutputOnly
|
|
||||||
# Corresponds to the JSON property `createTime`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :create_time
|
|
||||||
|
|
||||||
# A list of images to be pushed upon the successful completion of all build
|
|
||||||
# steps.
|
|
||||||
# The images will be pushed using the builder service account's credentials.
|
|
||||||
# The digests of the pushed images will be stored in the Build resource's
|
|
||||||
# results field.
|
|
||||||
# If any of the images fail to be pushed, the build is marked FAILURE.
|
|
||||||
# Corresponds to the JSON property `images`
|
|
||||||
# @return [Array<String>]
|
|
||||||
attr_accessor :images
|
|
||||||
|
|
||||||
# ID of the project.
|
|
||||||
# @OutputOnly.
|
|
||||||
# Corresponds to the JSON property `projectId`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :project_id
|
|
||||||
|
|
||||||
# Time at which execution of the build was finished.
|
|
||||||
# The difference between finish_time and start_time is the duration of the
|
|
||||||
# build's execution.
|
|
||||||
# @OutputOnly
|
|
||||||
# Corresponds to the JSON property `finishTime`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :finish_time
|
|
||||||
|
|
||||||
# URL to logs for this build in Google Cloud Logging.
|
|
||||||
# @OutputOnly
|
|
||||||
# Corresponds to the JSON property `logUrl`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :log_url
|
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
|
@ -642,24 +643,24 @@ module Google
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@source = args[:source] if args.key?(:source)
|
@create_time = args[:create_time] if args.key?(:create_time)
|
||||||
|
@source_provenance = args[:source_provenance] if args.key?(:source_provenance)
|
||||||
|
@images = args[:images] if args.key?(:images)
|
||||||
|
@project_id = args[:project_id] if args.key?(:project_id)
|
||||||
|
@log_url = args[:log_url] if args.key?(:log_url)
|
||||||
|
@finish_time = args[:finish_time] if args.key?(:finish_time)
|
||||||
@options = args[:options] if args.key?(:options)
|
@options = args[:options] if args.key?(:options)
|
||||||
@status_detail = args[:status_detail] if args.key?(:status_detail)
|
@source = args[:source] if args.key?(:source)
|
||||||
@status = args[:status] if args.key?(:status)
|
|
||||||
@timeout = args[:timeout] if args.key?(:timeout)
|
@timeout = args[:timeout] if args.key?(:timeout)
|
||||||
|
@status = args[:status] if args.key?(:status)
|
||||||
|
@status_detail = args[:status_detail] if args.key?(:status_detail)
|
||||||
@results = args[:results] if args.key?(:results)
|
@results = args[:results] if args.key?(:results)
|
||||||
@logs_bucket = args[:logs_bucket] if args.key?(:logs_bucket)
|
@logs_bucket = args[:logs_bucket] if args.key?(:logs_bucket)
|
||||||
@steps = args[:steps] if args.key?(:steps)
|
@steps = args[:steps] if args.key?(:steps)
|
||||||
@build_trigger_id = args[:build_trigger_id] if args.key?(:build_trigger_id)
|
@build_trigger_id = args[:build_trigger_id] if args.key?(:build_trigger_id)
|
||||||
@id = args[:id] if args.key?(:id)
|
@id = args[:id] if args.key?(:id)
|
||||||
@substitutions = args[:substitutions] if args.key?(:substitutions)
|
|
||||||
@start_time = args[:start_time] if args.key?(:start_time)
|
@start_time = args[:start_time] if args.key?(:start_time)
|
||||||
@source_provenance = args[:source_provenance] if args.key?(:source_provenance)
|
@substitutions = args[:substitutions] if args.key?(:substitutions)
|
||||||
@create_time = args[:create_time] if args.key?(:create_time)
|
|
||||||
@images = args[:images] if args.key?(:images)
|
|
||||||
@project_id = args[:project_id] if args.key?(:project_id)
|
|
||||||
@finish_time = args[:finish_time] if args.key?(:finish_time)
|
|
||||||
@log_url = args[:log_url] if args.key?(:log_url)
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -821,24 +822,24 @@ module Google
|
||||||
class Results
|
class Results
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Images that were built as a part of the build.
|
|
||||||
# Corresponds to the JSON property `images`
|
|
||||||
# @return [Array<Google::Apis::CloudbuildV1::BuiltImage>]
|
|
||||||
attr_accessor :images
|
|
||||||
|
|
||||||
# List of build step digests, in order corresponding to build step indices.
|
# List of build step digests, in order corresponding to build step indices.
|
||||||
# Corresponds to the JSON property `buildStepImages`
|
# Corresponds to the JSON property `buildStepImages`
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
attr_accessor :build_step_images
|
attr_accessor :build_step_images
|
||||||
|
|
||||||
|
# Images that were built as a part of the build.
|
||||||
|
# Corresponds to the JSON property `images`
|
||||||
|
# @return [Array<Google::Apis::CloudbuildV1::BuiltImage>]
|
||||||
|
attr_accessor :images
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@images = args[:images] if args.key?(:images)
|
|
||||||
@build_step_images = args[:build_step_images] if args.key?(:build_step_images)
|
@build_step_images = args[:build_step_images] if args.key?(:build_step_images)
|
||||||
|
@images = args[:images] if args.key?(:images)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -878,12 +879,6 @@ module Google
|
||||||
class SourceProvenance
|
class SourceProvenance
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# StorageSource describes the location of the source in an archive file in
|
|
||||||
# Google Cloud Storage.
|
|
||||||
# Corresponds to the JSON property `resolvedStorageSource`
|
|
||||||
# @return [Google::Apis::CloudbuildV1::StorageSource]
|
|
||||||
attr_accessor :resolved_storage_source
|
|
||||||
|
|
||||||
# Hash(es) of the build source, which can be used to verify that the original
|
# Hash(es) of the build source, which can be used to verify that the original
|
||||||
# source integrity was maintained in the build. Note that FileHashes will
|
# source integrity was maintained in the build. Note that FileHashes will
|
||||||
# only be populated if BuildOptions has requested a SourceProvenanceHash.
|
# only be populated if BuildOptions has requested a SourceProvenanceHash.
|
||||||
|
@ -902,15 +897,21 @@ module Google
|
||||||
# @return [Google::Apis::CloudbuildV1::RepoSource]
|
# @return [Google::Apis::CloudbuildV1::RepoSource]
|
||||||
attr_accessor :resolved_repo_source
|
attr_accessor :resolved_repo_source
|
||||||
|
|
||||||
|
# StorageSource describes the location of the source in an archive file in
|
||||||
|
# Google Cloud Storage.
|
||||||
|
# Corresponds to the JSON property `resolvedStorageSource`
|
||||||
|
# @return [Google::Apis::CloudbuildV1::StorageSource]
|
||||||
|
attr_accessor :resolved_storage_source
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@resolved_storage_source = args[:resolved_storage_source] if args.key?(:resolved_storage_source)
|
|
||||||
@file_hashes = args[:file_hashes] if args.key?(:file_hashes)
|
@file_hashes = args[:file_hashes] if args.key?(:file_hashes)
|
||||||
@resolved_repo_source = args[:resolved_repo_source] if args.key?(:resolved_repo_source)
|
@resolved_repo_source = args[:resolved_repo_source] if args.key?(:resolved_repo_source)
|
||||||
|
@resolved_storage_source = args[:resolved_storage_source] if args.key?(:resolved_storage_source)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -46,13 +46,13 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class BuildStep
|
class HashProp
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class HashProp
|
class BuildStep
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
@ -151,12 +151,12 @@ module Google
|
||||||
class Operation
|
class Operation
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :done, as: 'done'
|
|
||||||
hash :response, as: 'response'
|
hash :response, as: 'response'
|
||||||
property :name, as: 'name'
|
property :name, as: 'name'
|
||||||
property :error, as: 'error', class: Google::Apis::CloudbuildV1::Status, decorator: Google::Apis::CloudbuildV1::Status::Representation
|
property :error, as: 'error', class: Google::Apis::CloudbuildV1::Status, decorator: Google::Apis::CloudbuildV1::Status::Representation
|
||||||
|
|
||||||
hash :metadata, as: 'metadata'
|
hash :metadata, as: 'metadata'
|
||||||
|
property :done, as: 'done'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -187,24 +187,24 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class BuildStep
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :dir, as: 'dir'
|
|
||||||
collection :wait_for, as: 'waitFor'
|
|
||||||
collection :env, as: 'env'
|
|
||||||
collection :args, as: 'args'
|
|
||||||
property :name, as: 'name'
|
|
||||||
property :entrypoint, as: 'entrypoint'
|
|
||||||
property :id, as: 'id'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class HashProp
|
class HashProp
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :value, :base64 => true, as: 'value'
|
|
||||||
property :type, as: 'type'
|
property :type, as: 'type'
|
||||||
|
property :value, :base64 => true, as: 'value'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class BuildStep
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :entrypoint, as: 'entrypoint'
|
||||||
|
property :id, as: 'id'
|
||||||
|
property :dir, as: 'dir'
|
||||||
|
collection :env, as: 'env'
|
||||||
|
collection :wait_for, as: 'waitFor'
|
||||||
|
collection :args, as: 'args'
|
||||||
|
property :name, as: 'name'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -234,29 +234,36 @@ module Google
|
||||||
class BuildTrigger
|
class BuildTrigger
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :filename, as: 'filename'
|
property :disabled, as: 'disabled'
|
||||||
|
property :create_time, as: 'createTime'
|
||||||
property :trigger_template, as: 'triggerTemplate', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::Representation
|
property :trigger_template, as: 'triggerTemplate', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::Representation
|
||||||
|
|
||||||
|
property :filename, as: 'filename'
|
||||||
property :id, as: 'id'
|
property :id, as: 'id'
|
||||||
property :build, as: 'build', class: Google::Apis::CloudbuildV1::Build, decorator: Google::Apis::CloudbuildV1::Build::Representation
|
property :build, as: 'build', class: Google::Apis::CloudbuildV1::Build, decorator: Google::Apis::CloudbuildV1::Build::Representation
|
||||||
|
|
||||||
hash :substitutions, as: 'substitutions'
|
hash :substitutions, as: 'substitutions'
|
||||||
property :description, as: 'description'
|
property :description, as: 'description'
|
||||||
property :disabled, as: 'disabled'
|
|
||||||
property :create_time, as: 'createTime'
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class Build
|
class Build
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :source, as: 'source', class: Google::Apis::CloudbuildV1::Source, decorator: Google::Apis::CloudbuildV1::Source::Representation
|
property :create_time, as: 'createTime'
|
||||||
|
property :source_provenance, as: 'sourceProvenance', class: Google::Apis::CloudbuildV1::SourceProvenance, decorator: Google::Apis::CloudbuildV1::SourceProvenance::Representation
|
||||||
|
|
||||||
|
collection :images, as: 'images'
|
||||||
|
property :project_id, as: 'projectId'
|
||||||
|
property :log_url, as: 'logUrl'
|
||||||
|
property :finish_time, as: 'finishTime'
|
||||||
property :options, as: 'options', class: Google::Apis::CloudbuildV1::BuildOptions, decorator: Google::Apis::CloudbuildV1::BuildOptions::Representation
|
property :options, as: 'options', class: Google::Apis::CloudbuildV1::BuildOptions, decorator: Google::Apis::CloudbuildV1::BuildOptions::Representation
|
||||||
|
|
||||||
property :status_detail, as: 'statusDetail'
|
property :source, as: 'source', class: Google::Apis::CloudbuildV1::Source, decorator: Google::Apis::CloudbuildV1::Source::Representation
|
||||||
property :status, as: 'status'
|
|
||||||
property :timeout, as: 'timeout'
|
property :timeout, as: 'timeout'
|
||||||
|
property :status, as: 'status'
|
||||||
|
property :status_detail, as: 'statusDetail'
|
||||||
property :results, as: 'results', class: Google::Apis::CloudbuildV1::Results, decorator: Google::Apis::CloudbuildV1::Results::Representation
|
property :results, as: 'results', class: Google::Apis::CloudbuildV1::Results, decorator: Google::Apis::CloudbuildV1::Results::Representation
|
||||||
|
|
||||||
property :logs_bucket, as: 'logsBucket'
|
property :logs_bucket, as: 'logsBucket'
|
||||||
|
@ -264,15 +271,8 @@ module Google
|
||||||
|
|
||||||
property :build_trigger_id, as: 'buildTriggerId'
|
property :build_trigger_id, as: 'buildTriggerId'
|
||||||
property :id, as: 'id'
|
property :id, as: 'id'
|
||||||
hash :substitutions, as: 'substitutions'
|
|
||||||
property :start_time, as: 'startTime'
|
property :start_time, as: 'startTime'
|
||||||
property :source_provenance, as: 'sourceProvenance', class: Google::Apis::CloudbuildV1::SourceProvenance, decorator: Google::Apis::CloudbuildV1::SourceProvenance::Representation
|
hash :substitutions, as: 'substitutions'
|
||||||
|
|
||||||
property :create_time, as: 'createTime'
|
|
||||||
collection :images, as: 'images'
|
|
||||||
property :project_id, as: 'projectId'
|
|
||||||
property :finish_time, as: 'finishTime'
|
|
||||||
property :log_url, as: 'logUrl'
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -330,9 +330,9 @@ module Google
|
||||||
class Results
|
class Results
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :build_step_images, as: 'buildStepImages'
|
||||||
collection :images, as: 'images', class: Google::Apis::CloudbuildV1::BuiltImage, decorator: Google::Apis::CloudbuildV1::BuiltImage::Representation
|
collection :images, as: 'images', class: Google::Apis::CloudbuildV1::BuiltImage, decorator: Google::Apis::CloudbuildV1::BuiltImage::Representation
|
||||||
|
|
||||||
collection :build_step_images, as: 'buildStepImages'
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -347,12 +347,12 @@ module Google
|
||||||
class SourceProvenance
|
class SourceProvenance
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :resolved_storage_source, as: 'resolvedStorageSource', class: Google::Apis::CloudbuildV1::StorageSource, decorator: Google::Apis::CloudbuildV1::StorageSource::Representation
|
|
||||||
|
|
||||||
hash :file_hashes, as: 'fileHashes', class: Google::Apis::CloudbuildV1::FileHashes, decorator: Google::Apis::CloudbuildV1::FileHashes::Representation
|
hash :file_hashes, as: 'fileHashes', class: Google::Apis::CloudbuildV1::FileHashes, decorator: Google::Apis::CloudbuildV1::FileHashes::Representation
|
||||||
|
|
||||||
property :resolved_repo_source, as: 'resolvedRepoSource', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::Representation
|
property :resolved_repo_source, as: 'resolvedRepoSource', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::Representation
|
||||||
|
|
||||||
|
property :resolved_storage_source, as: 'resolvedStorageSource', class: Google::Apis::CloudbuildV1::StorageSource, decorator: Google::Apis::CloudbuildV1::StorageSource::Representation
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -46,53 +46,17 @@ module Google
|
||||||
super('https://cloudbuild.googleapis.com/', '')
|
super('https://cloudbuild.googleapis.com/', '')
|
||||||
end
|
end
|
||||||
|
|
||||||
# Starts a build with the specified configuration.
|
|
||||||
# The long-running Operation returned by this method will include the ID of
|
|
||||||
# the build, which can be passed to GetBuild to determine its status (e.g.,
|
|
||||||
# success or failure).
|
|
||||||
# @param [String] project_id
|
|
||||||
# ID of the project.
|
|
||||||
# @param [Google::Apis::CloudbuildV1::Build] build_object
|
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [String] quota_user
|
|
||||||
# Available to use for quota purposes for server-side applications. Can be any
|
|
||||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::CloudbuildV1::Operation] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::CloudbuildV1::Operation]
|
|
||||||
#
|
|
||||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
||||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
||||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
||||||
def create_project_build(project_id, build_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:post, 'v1/projects/{projectId}/builds', options)
|
|
||||||
command.request_representation = Google::Apis::CloudbuildV1::Build::Representation
|
|
||||||
command.request_object = build_object
|
|
||||||
command.response_representation = Google::Apis::CloudbuildV1::Operation::Representation
|
|
||||||
command.response_class = Google::Apis::CloudbuildV1::Operation
|
|
||||||
command.params['projectId'] = project_id unless project_id.nil?
|
|
||||||
command.query['fields'] = fields unless fields.nil?
|
|
||||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
||||||
execute_or_queue_command(command, &block)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Cancels a requested build in progress.
|
# Cancels a requested build in progress.
|
||||||
# @param [String] project_id
|
# @param [String] project_id
|
||||||
# ID of the project.
|
# ID of the project.
|
||||||
# @param [String] id
|
# @param [String] id
|
||||||
# ID of the build.
|
# ID of the build.
|
||||||
# @param [Google::Apis::CloudbuildV1::CancelBuildRequest] cancel_build_request_object
|
# @param [Google::Apis::CloudbuildV1::CancelBuildRequest] cancel_build_request_object
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
# Available to use for quota purposes for server-side applications. Can be any
|
# 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.
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [Google::Apis::RequestOptions] options
|
# @param [Google::Apis::RequestOptions] options
|
||||||
# Request-specific options
|
# Request-specific options
|
||||||
#
|
#
|
||||||
|
@ -105,7 +69,7 @@ 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 cancel_build(project_id, id, cancel_build_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
def cancel_build(project_id, id, cancel_build_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
||||||
command = make_simple_command(:post, 'v1/projects/{projectId}/builds/{id}:cancel', options)
|
command = make_simple_command(:post, 'v1/projects/{projectId}/builds/{id}:cancel', options)
|
||||||
command.request_representation = Google::Apis::CloudbuildV1::CancelBuildRequest::Representation
|
command.request_representation = Google::Apis::CloudbuildV1::CancelBuildRequest::Representation
|
||||||
command.request_object = cancel_build_request_object
|
command.request_object = cancel_build_request_object
|
||||||
|
@ -113,8 +77,8 @@ module Google
|
||||||
command.response_class = Google::Apis::CloudbuildV1::Build
|
command.response_class = Google::Apis::CloudbuildV1::Build
|
||||||
command.params['projectId'] = project_id unless project_id.nil?
|
command.params['projectId'] = project_id unless project_id.nil?
|
||||||
command.params['id'] = id unless id.nil?
|
command.params['id'] = id unless id.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?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -125,11 +89,11 @@ module Google
|
||||||
# ID of the project.
|
# ID of the project.
|
||||||
# @param [String] id
|
# @param [String] id
|
||||||
# ID of the build.
|
# ID of the build.
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
# Available to use for quota purposes for server-side applications. Can be any
|
# 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.
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [Google::Apis::RequestOptions] options
|
# @param [Google::Apis::RequestOptions] options
|
||||||
# Request-specific options
|
# Request-specific options
|
||||||
#
|
#
|
||||||
|
@ -142,14 +106,14 @@ 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 get_project_build(project_id, id, fields: nil, quota_user: nil, options: nil, &block)
|
def get_project_build(project_id, id, quota_user: nil, fields: nil, options: nil, &block)
|
||||||
command = make_simple_command(:get, 'v1/projects/{projectId}/builds/{id}', options)
|
command = make_simple_command(:get, 'v1/projects/{projectId}/builds/{id}', options)
|
||||||
command.response_representation = Google::Apis::CloudbuildV1::Build::Representation
|
command.response_representation = Google::Apis::CloudbuildV1::Build::Representation
|
||||||
command.response_class = Google::Apis::CloudbuildV1::Build
|
command.response_class = Google::Apis::CloudbuildV1::Build
|
||||||
command.params['projectId'] = project_id unless project_id.nil?
|
command.params['projectId'] = project_id unless project_id.nil?
|
||||||
command.params['id'] = id unless id.nil?
|
command.params['id'] = id unless id.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?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -158,17 +122,17 @@ module Google
|
||||||
# successfully or unsuccessfully.
|
# successfully or unsuccessfully.
|
||||||
# @param [String] project_id
|
# @param [String] project_id
|
||||||
# ID of the project.
|
# ID of the project.
|
||||||
|
# @param [String] filter
|
||||||
|
# The raw filter text to constrain the results.
|
||||||
# @param [String] page_token
|
# @param [String] page_token
|
||||||
# Token to provide to skip to a particular spot in the list.
|
# Token to provide to skip to a particular spot in the list.
|
||||||
# @param [Fixnum] page_size
|
# @param [Fixnum] page_size
|
||||||
# Number of results to return in the list.
|
# Number of results to return in the list.
|
||||||
# @param [String] filter
|
|
||||||
# The raw filter text to constrain the results.
|
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
# Available to use for quota purposes for server-side applications. Can be any
|
# 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.
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [Google::Apis::RequestOptions] options
|
# @param [Google::Apis::RequestOptions] options
|
||||||
# Request-specific options
|
# Request-specific options
|
||||||
#
|
#
|
||||||
|
@ -181,16 +145,86 @@ 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 list_project_builds(project_id, page_token: nil, page_size: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
|
def list_project_builds(project_id, filter: nil, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
|
||||||
command = make_simple_command(:get, 'v1/projects/{projectId}/builds', options)
|
command = make_simple_command(:get, 'v1/projects/{projectId}/builds', options)
|
||||||
command.response_representation = Google::Apis::CloudbuildV1::ListBuildsResponse::Representation
|
command.response_representation = Google::Apis::CloudbuildV1::ListBuildsResponse::Representation
|
||||||
command.response_class = Google::Apis::CloudbuildV1::ListBuildsResponse
|
command.response_class = Google::Apis::CloudbuildV1::ListBuildsResponse
|
||||||
command.params['projectId'] = project_id unless project_id.nil?
|
command.params['projectId'] = project_id unless project_id.nil?
|
||||||
|
command.query['filter'] = filter unless filter.nil?
|
||||||
command.query['pageToken'] = page_token unless page_token.nil?
|
command.query['pageToken'] = page_token unless page_token.nil?
|
||||||
command.query['pageSize'] = page_size unless page_size.nil?
|
command.query['pageSize'] = page_size unless page_size.nil?
|
||||||
command.query['filter'] = filter unless filter.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?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Starts a build with the specified configuration.
|
||||||
|
# The long-running Operation returned by this method will include the ID of
|
||||||
|
# the build, which can be passed to GetBuild to determine its status (e.g.,
|
||||||
|
# success or failure).
|
||||||
|
# @param [String] project_id
|
||||||
|
# ID of the project.
|
||||||
|
# @param [Google::Apis::CloudbuildV1::Build] build_object
|
||||||
|
# @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 [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::CloudbuildV1::Operation] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::CloudbuildV1::Operation]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def create_project_build(project_id, build_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, 'v1/projects/{projectId}/builds', options)
|
||||||
|
command.request_representation = Google::Apis::CloudbuildV1::Build::Representation
|
||||||
|
command.request_object = build_object
|
||||||
|
command.response_representation = Google::Apis::CloudbuildV1::Operation::Representation
|
||||||
|
command.response_class = Google::Apis::CloudbuildV1::Operation
|
||||||
|
command.params['projectId'] = project_id unless project_id.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Creates a new BuildTrigger.
|
||||||
|
# This API is experimental.
|
||||||
|
# @param [String] project_id
|
||||||
|
# ID of the project for which to configure automatic builds.
|
||||||
|
# @param [Google::Apis::CloudbuildV1::BuildTrigger] build_trigger_object
|
||||||
|
# @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 [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::CloudbuildV1::BuildTrigger] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::CloudbuildV1::BuildTrigger]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def create_project_trigger(project_id, build_trigger_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, 'v1/projects/{projectId}/triggers', options)
|
||||||
|
command.request_representation = Google::Apis::CloudbuildV1::BuildTrigger::Representation
|
||||||
|
command.request_object = build_trigger_object
|
||||||
|
command.response_representation = Google::Apis::CloudbuildV1::BuildTrigger::Representation
|
||||||
|
command.response_class = Google::Apis::CloudbuildV1::BuildTrigger
|
||||||
|
command.params['projectId'] = project_id unless project_id.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -200,11 +234,11 @@ module Google
|
||||||
# ID of the project that owns the trigger.
|
# ID of the project that owns the trigger.
|
||||||
# @param [String] trigger_id
|
# @param [String] trigger_id
|
||||||
# ID of the BuildTrigger to delete.
|
# ID of the BuildTrigger to delete.
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
# Available to use for quota purposes for server-side applications. Can be any
|
# 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.
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [Google::Apis::RequestOptions] options
|
# @param [Google::Apis::RequestOptions] options
|
||||||
# Request-specific options
|
# Request-specific options
|
||||||
#
|
#
|
||||||
|
@ -217,14 +251,14 @@ 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 delete_project_trigger(project_id, trigger_id, fields: nil, quota_user: nil, options: nil, &block)
|
def delete_project_trigger(project_id, trigger_id, quota_user: nil, fields: nil, options: nil, &block)
|
||||||
command = make_simple_command(:delete, 'v1/projects/{projectId}/triggers/{triggerId}', options)
|
command = make_simple_command(:delete, 'v1/projects/{projectId}/triggers/{triggerId}', options)
|
||||||
command.response_representation = Google::Apis::CloudbuildV1::Empty::Representation
|
command.response_representation = Google::Apis::CloudbuildV1::Empty::Representation
|
||||||
command.response_class = Google::Apis::CloudbuildV1::Empty
|
command.response_class = Google::Apis::CloudbuildV1::Empty
|
||||||
command.params['projectId'] = project_id unless project_id.nil?
|
command.params['projectId'] = project_id unless project_id.nil?
|
||||||
command.params['triggerId'] = trigger_id unless trigger_id.nil?
|
command.params['triggerId'] = trigger_id unless trigger_id.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?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -234,11 +268,11 @@ module Google
|
||||||
# ID of the project that owns the trigger.
|
# ID of the project that owns the trigger.
|
||||||
# @param [String] trigger_id
|
# @param [String] trigger_id
|
||||||
# ID of the BuildTrigger to get.
|
# ID of the BuildTrigger to get.
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
# Available to use for quota purposes for server-side applications. Can be any
|
# 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.
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [Google::Apis::RequestOptions] options
|
# @param [Google::Apis::RequestOptions] options
|
||||||
# Request-specific options
|
# Request-specific options
|
||||||
#
|
#
|
||||||
|
@ -251,14 +285,14 @@ 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 get_project_trigger(project_id, trigger_id, fields: nil, quota_user: nil, options: nil, &block)
|
def get_project_trigger(project_id, trigger_id, quota_user: nil, fields: nil, options: nil, &block)
|
||||||
command = make_simple_command(:get, 'v1/projects/{projectId}/triggers/{triggerId}', options)
|
command = make_simple_command(:get, 'v1/projects/{projectId}/triggers/{triggerId}', options)
|
||||||
command.response_representation = Google::Apis::CloudbuildV1::BuildTrigger::Representation
|
command.response_representation = Google::Apis::CloudbuildV1::BuildTrigger::Representation
|
||||||
command.response_class = Google::Apis::CloudbuildV1::BuildTrigger
|
command.response_class = Google::Apis::CloudbuildV1::BuildTrigger
|
||||||
command.params['projectId'] = project_id unless project_id.nil?
|
command.params['projectId'] = project_id unless project_id.nil?
|
||||||
command.params['triggerId'] = trigger_id unless trigger_id.nil?
|
command.params['triggerId'] = trigger_id unless trigger_id.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?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -266,11 +300,11 @@ module Google
|
||||||
# This API is experimental.
|
# This API is experimental.
|
||||||
# @param [String] project_id
|
# @param [String] project_id
|
||||||
# ID of the project for which to list BuildTriggers.
|
# ID of the project for which to list BuildTriggers.
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
# Available to use for quota purposes for server-side applications. Can be any
|
# 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.
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [Google::Apis::RequestOptions] options
|
# @param [Google::Apis::RequestOptions] options
|
||||||
# Request-specific options
|
# Request-specific options
|
||||||
#
|
#
|
||||||
|
@ -283,13 +317,13 @@ 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 list_project_triggers(project_id, fields: nil, quota_user: nil, options: nil, &block)
|
def list_project_triggers(project_id, quota_user: nil, fields: nil, options: nil, &block)
|
||||||
command = make_simple_command(:get, 'v1/projects/{projectId}/triggers', options)
|
command = make_simple_command(:get, 'v1/projects/{projectId}/triggers', options)
|
||||||
command.response_representation = Google::Apis::CloudbuildV1::ListBuildTriggersResponse::Representation
|
command.response_representation = Google::Apis::CloudbuildV1::ListBuildTriggersResponse::Representation
|
||||||
command.response_class = Google::Apis::CloudbuildV1::ListBuildTriggersResponse
|
command.response_class = Google::Apis::CloudbuildV1::ListBuildTriggersResponse
|
||||||
command.params['projectId'] = project_id unless project_id.nil?
|
command.params['projectId'] = project_id unless project_id.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?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -300,11 +334,11 @@ module Google
|
||||||
# @param [String] trigger_id
|
# @param [String] trigger_id
|
||||||
# ID of the BuildTrigger to update.
|
# ID of the BuildTrigger to update.
|
||||||
# @param [Google::Apis::CloudbuildV1::BuildTrigger] build_trigger_object
|
# @param [Google::Apis::CloudbuildV1::BuildTrigger] build_trigger_object
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
# Available to use for quota purposes for server-side applications. Can be any
|
# 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.
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [Google::Apis::RequestOptions] options
|
# @param [Google::Apis::RequestOptions] options
|
||||||
# Request-specific options
|
# Request-specific options
|
||||||
#
|
#
|
||||||
|
@ -317,7 +351,7 @@ 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 patch_project_trigger(project_id, trigger_id, build_trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
def patch_project_trigger(project_id, trigger_id, build_trigger_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
||||||
command = make_simple_command(:patch, 'v1/projects/{projectId}/triggers/{triggerId}', options)
|
command = make_simple_command(:patch, 'v1/projects/{projectId}/triggers/{triggerId}', options)
|
||||||
command.request_representation = Google::Apis::CloudbuildV1::BuildTrigger::Representation
|
command.request_representation = Google::Apis::CloudbuildV1::BuildTrigger::Representation
|
||||||
command.request_object = build_trigger_object
|
command.request_object = build_trigger_object
|
||||||
|
@ -325,42 +359,8 @@ module Google
|
||||||
command.response_class = Google::Apis::CloudbuildV1::BuildTrigger
|
command.response_class = Google::Apis::CloudbuildV1::BuildTrigger
|
||||||
command.params['projectId'] = project_id unless project_id.nil?
|
command.params['projectId'] = project_id unless project_id.nil?
|
||||||
command.params['triggerId'] = trigger_id unless trigger_id.nil?
|
command.params['triggerId'] = trigger_id unless trigger_id.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)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Creates a new BuildTrigger.
|
|
||||||
# This API is experimental.
|
|
||||||
# @param [String] project_id
|
|
||||||
# ID of the project for which to configure automatic builds.
|
|
||||||
# @param [Google::Apis::CloudbuildV1::BuildTrigger] build_trigger_object
|
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [String] quota_user
|
|
||||||
# Available to use for quota purposes for server-side applications. Can be any
|
|
||||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::CloudbuildV1::BuildTrigger] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::CloudbuildV1::BuildTrigger]
|
|
||||||
#
|
|
||||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
||||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
||||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
||||||
def create_project_trigger(project_id, build_trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:post, 'v1/projects/{projectId}/triggers', options)
|
|
||||||
command.request_representation = Google::Apis::CloudbuildV1::BuildTrigger::Representation
|
|
||||||
command.request_object = build_trigger_object
|
|
||||||
command.response_representation = Google::Apis::CloudbuildV1::BuildTrigger::Representation
|
|
||||||
command.response_class = Google::Apis::CloudbuildV1::BuildTrigger
|
|
||||||
command.params['projectId'] = project_id unless project_id.nil?
|
|
||||||
command.query['fields'] = fields unless fields.nil?
|
command.query['fields'] = fields unless fields.nil?
|
||||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -377,11 +377,11 @@ module Google
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# The name of the operation resource to be cancelled.
|
# The name of the operation resource to be cancelled.
|
||||||
# @param [Google::Apis::CloudbuildV1::CancelOperationRequest] cancel_operation_request_object
|
# @param [Google::Apis::CloudbuildV1::CancelOperationRequest] cancel_operation_request_object
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
# Available to use for quota purposes for server-side applications. Can be any
|
# 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.
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [Google::Apis::RequestOptions] options
|
# @param [Google::Apis::RequestOptions] options
|
||||||
# Request-specific options
|
# Request-specific options
|
||||||
#
|
#
|
||||||
|
@ -394,15 +394,15 @@ 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 cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
def cancel_operation(name, cancel_operation_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
||||||
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
||||||
command.request_representation = Google::Apis::CloudbuildV1::CancelOperationRequest::Representation
|
command.request_representation = Google::Apis::CloudbuildV1::CancelOperationRequest::Representation
|
||||||
command.request_object = cancel_operation_request_object
|
command.request_object = cancel_operation_request_object
|
||||||
command.response_representation = Google::Apis::CloudbuildV1::Empty::Representation
|
command.response_representation = Google::Apis::CloudbuildV1::Empty::Representation
|
||||||
command.response_class = Google::Apis::CloudbuildV1::Empty
|
command.response_class = Google::Apis::CloudbuildV1::Empty
|
||||||
command.params['name'] = name unless name.nil?
|
command.params['name'] = name unless name.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?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -412,17 +412,17 @@ module Google
|
||||||
# to use different resource name schemes, such as `users/*/operations`.
|
# to use different resource name schemes, such as `users/*/operations`.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# The name of the operation collection.
|
# The name of the operation collection.
|
||||||
|
# @param [String] filter
|
||||||
|
# The standard list filter.
|
||||||
# @param [String] page_token
|
# @param [String] page_token
|
||||||
# The standard list page token.
|
# The standard list page token.
|
||||||
# @param [Fixnum] page_size
|
# @param [Fixnum] page_size
|
||||||
# The standard list page size.
|
# The standard list page size.
|
||||||
# @param [String] filter
|
|
||||||
# The standard list filter.
|
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
# Available to use for quota purposes for server-side applications. Can be any
|
# 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.
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [Google::Apis::RequestOptions] options
|
# @param [Google::Apis::RequestOptions] options
|
||||||
# Request-specific options
|
# Request-specific options
|
||||||
#
|
#
|
||||||
|
@ -435,16 +435,16 @@ 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 list_operations(name, page_token: nil, page_size: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
|
def list_operations(name, filter: nil, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
|
||||||
command = make_simple_command(:get, 'v1/{+name}', options)
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
||||||
command.response_representation = Google::Apis::CloudbuildV1::ListOperationsResponse::Representation
|
command.response_representation = Google::Apis::CloudbuildV1::ListOperationsResponse::Representation
|
||||||
command.response_class = Google::Apis::CloudbuildV1::ListOperationsResponse
|
command.response_class = Google::Apis::CloudbuildV1::ListOperationsResponse
|
||||||
command.params['name'] = name unless name.nil?
|
command.params['name'] = name unless name.nil?
|
||||||
|
command.query['filter'] = filter unless filter.nil?
|
||||||
command.query['pageToken'] = page_token unless page_token.nil?
|
command.query['pageToken'] = page_token unless page_token.nil?
|
||||||
command.query['pageSize'] = page_size unless page_size.nil?
|
command.query['pageSize'] = page_size unless page_size.nil?
|
||||||
command.query['filter'] = filter unless filter.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?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -453,11 +453,11 @@ module Google
|
||||||
# service.
|
# service.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# The name of the operation resource.
|
# The name of the operation resource.
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
# Available to use for quota purposes for server-side applications. Can be any
|
# 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.
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [Google::Apis::RequestOptions] options
|
# @param [Google::Apis::RequestOptions] options
|
||||||
# Request-specific options
|
# Request-specific options
|
||||||
#
|
#
|
||||||
|
@ -470,13 +470,13 @@ 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 get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
def get_operation(name, quota_user: nil, fields: nil, options: nil, &block)
|
||||||
command = make_simple_command(:get, 'v1/{+name}', options)
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
||||||
command.response_representation = Google::Apis::CloudbuildV1::Operation::Representation
|
command.response_representation = Google::Apis::CloudbuildV1::Operation::Representation
|
||||||
command.response_class = Google::Apis::CloudbuildV1::Operation
|
command.response_class = Google::Apis::CloudbuildV1::Operation
|
||||||
command.params['name'] = name unless name.nil?
|
command.params['name'] = name unless name.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?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see http://cloud.google.com/debugger
|
# @see http://cloud.google.com/debugger
|
||||||
module ClouddebuggerV2
|
module ClouddebuggerV2
|
||||||
VERSION = 'V2'
|
VERSION = 'V2'
|
||||||
REVISION = '20170214'
|
REVISION = '20170322'
|
||||||
|
|
||||||
# Manage cloud debugger
|
# Manage cloud debugger
|
||||||
AUTH_CLOUD_DEBUGGER = 'https://www.googleapis.com/auth/cloud_debugger'
|
AUTH_CLOUD_DEBUGGER = 'https://www.googleapis.com/auth/cloud_debugger'
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -22,6 +22,60 @@ module Google
|
||||||
module Apis
|
module Apis
|
||||||
module ClouddebuggerV2
|
module ClouddebuggerV2
|
||||||
|
|
||||||
|
class CloudWorkspaceSourceContext
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class UpdateActiveBreakpointResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class GerritSourceContext
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class CloudWorkspaceId
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class ListBreakpointsResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class Breakpoint
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class UpdateActiveBreakpointRequest
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class SetBreakpointResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class SourceContext
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class CloudRepoSourceContext
|
class CloudRepoSourceContext
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -88,13 +142,13 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class AliasContext
|
class ListDebuggeesResponse
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class ListDebuggeesResponse
|
class AliasContext
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
@ -118,81 +172,129 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class ListActiveBreakpointsResponse
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class ProjectRepoId
|
class ProjectRepoId
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class CloudWorkspaceSourceContext
|
class ListActiveBreakpointsResponse
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class GerritSourceContext
|
class CloudWorkspaceSourceContext
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :snapshot_id, as: 'snapshotId'
|
||||||
|
property :workspace_id, as: 'workspaceId', class: Google::Apis::ClouddebuggerV2::CloudWorkspaceId, decorator: Google::Apis::ClouddebuggerV2::CloudWorkspaceId::Representation
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class UpdateActiveBreakpointResponse
|
class UpdateActiveBreakpointResponse
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
class GerritSourceContext
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :gerrit_project, as: 'gerritProject'
|
||||||
|
property :alias_context, as: 'aliasContext', class: Google::Apis::ClouddebuggerV2::AliasContext, decorator: Google::Apis::ClouddebuggerV2::AliasContext::Representation
|
||||||
|
|
||||||
|
property :host_uri, as: 'hostUri'
|
||||||
|
property :revision_id, as: 'revisionId'
|
||||||
|
property :alias_name, as: 'aliasName'
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class CloudWorkspaceId
|
class CloudWorkspaceId
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :name, as: 'name'
|
||||||
|
property :repo_id, as: 'repoId', class: Google::Apis::ClouddebuggerV2::RepoId, decorator: Google::Apis::ClouddebuggerV2::RepoId::Representation
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class ListBreakpointsResponse
|
class ListBreakpointsResponse
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :breakpoints, as: 'breakpoints', class: Google::Apis::ClouddebuggerV2::Breakpoint, decorator: Google::Apis::ClouddebuggerV2::Breakpoint::Representation
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
property :next_wait_token, as: 'nextWaitToken'
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class Breakpoint
|
class Breakpoint
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :expressions, as: 'expressions'
|
||||||
|
collection :evaluated_expressions, as: 'evaluatedExpressions', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
property :is_final_state, as: 'isFinalState'
|
||||||
|
collection :stack_frames, as: 'stackFrames', class: Google::Apis::ClouddebuggerV2::StackFrame, decorator: Google::Apis::ClouddebuggerV2::StackFrame::Representation
|
||||||
|
|
||||||
|
property :condition, as: 'condition'
|
||||||
|
property :status, as: 'status', class: Google::Apis::ClouddebuggerV2::StatusMessage, decorator: Google::Apis::ClouddebuggerV2::StatusMessage::Representation
|
||||||
|
|
||||||
|
property :user_email, as: 'userEmail'
|
||||||
|
property :action, as: 'action'
|
||||||
|
property :log_level, as: 'logLevel'
|
||||||
|
property :id, as: 'id'
|
||||||
|
property :location, as: 'location', class: Google::Apis::ClouddebuggerV2::SourceLocation, decorator: Google::Apis::ClouddebuggerV2::SourceLocation::Representation
|
||||||
|
|
||||||
|
property :final_time, as: 'finalTime'
|
||||||
|
collection :variable_table, as: 'variableTable', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation
|
||||||
|
|
||||||
|
property :create_time, as: 'createTime'
|
||||||
|
property :log_message_format, as: 'logMessageFormat'
|
||||||
|
hash :labels, as: 'labels'
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class UpdateActiveBreakpointRequest
|
class UpdateActiveBreakpointRequest
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :breakpoint, as: 'breakpoint', class: Google::Apis::ClouddebuggerV2::Breakpoint, decorator: Google::Apis::ClouddebuggerV2::Breakpoint::Representation
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class SetBreakpointResponse
|
class SetBreakpointResponse
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :breakpoint, as: 'breakpoint', class: Google::Apis::ClouddebuggerV2::Breakpoint, decorator: Google::Apis::ClouddebuggerV2::Breakpoint::Representation
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class SourceContext
|
class SourceContext
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :git, as: 'git', class: Google::Apis::ClouddebuggerV2::GitSourceContext, decorator: Google::Apis::ClouddebuggerV2::GitSourceContext::Representation
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
property :gerrit, as: 'gerrit', class: Google::Apis::ClouddebuggerV2::GerritSourceContext, decorator: Google::Apis::ClouddebuggerV2::GerritSourceContext::Representation
|
||||||
|
|
||||||
|
property :cloud_repo, as: 'cloudRepo', class: Google::Apis::ClouddebuggerV2::CloudRepoSourceContext, decorator: Google::Apis::ClouddebuggerV2::CloudRepoSourceContext::Representation
|
||||||
|
|
||||||
|
property :cloud_workspace, as: 'cloudWorkspace', class: Google::Apis::ClouddebuggerV2::CloudWorkspaceSourceContext, decorator: Google::Apis::ClouddebuggerV2::CloudWorkspaceSourceContext::Representation
|
||||||
|
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class CloudRepoSourceContext
|
class CloudRepoSourceContext
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :revision_id, as: 'revisionId'
|
||||||
|
property :alias_name, as: 'aliasName'
|
||||||
property :repo_id, as: 'repoId', class: Google::Apis::ClouddebuggerV2::RepoId, decorator: Google::Apis::ClouddebuggerV2::RepoId::Representation
|
property :repo_id, as: 'repoId', class: Google::Apis::ClouddebuggerV2::RepoId, decorator: Google::Apis::ClouddebuggerV2::RepoId::Representation
|
||||||
|
|
||||||
property :alias_context, as: 'aliasContext', class: Google::Apis::ClouddebuggerV2::AliasContext, decorator: Google::Apis::ClouddebuggerV2::AliasContext::Representation
|
property :alias_context, as: 'aliasContext', class: Google::Apis::ClouddebuggerV2::AliasContext, decorator: Google::Apis::ClouddebuggerV2::AliasContext::Representation
|
||||||
|
|
||||||
property :revision_id, as: 'revisionId'
|
|
||||||
property :alias_name, as: 'aliasName'
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -241,36 +343,36 @@ module Google
|
||||||
class Variable
|
class Variable
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :type, as: 'type'
|
|
||||||
property :value, as: 'value'
|
|
||||||
property :var_table_index, as: 'varTableIndex'
|
property :var_table_index, as: 'varTableIndex'
|
||||||
|
property :value, as: 'value'
|
||||||
collection :members, as: 'members', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation
|
collection :members, as: 'members', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation
|
||||||
|
|
||||||
property :status, as: 'status', class: Google::Apis::ClouddebuggerV2::StatusMessage, decorator: Google::Apis::ClouddebuggerV2::StatusMessage::Representation
|
property :status, as: 'status', class: Google::Apis::ClouddebuggerV2::StatusMessage, decorator: Google::Apis::ClouddebuggerV2::StatusMessage::Representation
|
||||||
|
|
||||||
property :name, as: 'name'
|
property :name, as: 'name'
|
||||||
|
property :type, as: 'type'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class StackFrame
|
class StackFrame
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :function, as: 'function'
|
||||||
|
collection :arguments, as: 'arguments', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation
|
||||||
|
|
||||||
collection :locals, as: 'locals', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation
|
collection :locals, as: 'locals', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation
|
||||||
|
|
||||||
property :location, as: 'location', class: Google::Apis::ClouddebuggerV2::SourceLocation, decorator: Google::Apis::ClouddebuggerV2::SourceLocation::Representation
|
property :location, as: 'location', class: Google::Apis::ClouddebuggerV2::SourceLocation, decorator: Google::Apis::ClouddebuggerV2::SourceLocation::Representation
|
||||||
|
|
||||||
property :function, as: 'function'
|
|
||||||
collection :arguments, as: 'arguments', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation
|
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class RepoId
|
class RepoId
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :uid, as: 'uid'
|
||||||
property :project_repo_id, as: 'projectRepoId', class: Google::Apis::ClouddebuggerV2::ProjectRepoId, decorator: Google::Apis::ClouddebuggerV2::ProjectRepoId::Representation
|
property :project_repo_id, as: 'projectRepoId', class: Google::Apis::ClouddebuggerV2::ProjectRepoId, decorator: Google::Apis::ClouddebuggerV2::ProjectRepoId::Representation
|
||||||
|
|
||||||
property :uid, as: 'uid'
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -291,14 +393,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class AliasContext
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :name, as: 'name'
|
|
||||||
property :kind, as: 'kind'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class ListDebuggeesResponse
|
class ListDebuggeesResponse
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -307,6 +401,14 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class AliasContext
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :name, as: 'name'
|
||||||
|
property :kind, as: 'kind'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class Empty
|
class Empty
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -316,18 +418,17 @@ module Google
|
||||||
class SourceLocation
|
class SourceLocation
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :line, as: 'line'
|
|
||||||
property :path, as: 'path'
|
property :path, as: 'path'
|
||||||
|
property :line, as: 'line'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class Debuggee
|
class Debuggee
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :project, as: 'project'
|
|
||||||
property :id, as: 'id'
|
property :id, as: 'id'
|
||||||
property :is_disabled, as: 'isDisabled'
|
|
||||||
property :agent_version, as: 'agentVersion'
|
property :agent_version, as: 'agentVersion'
|
||||||
|
property :is_disabled, as: 'isDisabled'
|
||||||
property :uniquifier, as: 'uniquifier'
|
property :uniquifier, as: 'uniquifier'
|
||||||
property :description, as: 'description'
|
property :description, as: 'description'
|
||||||
collection :source_contexts, as: 'sourceContexts', class: Google::Apis::ClouddebuggerV2::SourceContext, decorator: Google::Apis::ClouddebuggerV2::SourceContext::Representation
|
collection :source_contexts, as: 'sourceContexts', class: Google::Apis::ClouddebuggerV2::SourceContext, decorator: Google::Apis::ClouddebuggerV2::SourceContext::Representation
|
||||||
|
@ -338,16 +439,7 @@ module Google
|
||||||
property :status, as: 'status', class: Google::Apis::ClouddebuggerV2::StatusMessage, decorator: Google::Apis::ClouddebuggerV2::StatusMessage::Representation
|
property :status, as: 'status', class: Google::Apis::ClouddebuggerV2::StatusMessage, decorator: Google::Apis::ClouddebuggerV2::StatusMessage::Representation
|
||||||
|
|
||||||
property :is_inactive, as: 'isInactive'
|
property :is_inactive, as: 'isInactive'
|
||||||
end
|
property :project, as: 'project'
|
||||||
end
|
|
||||||
|
|
||||||
class ListActiveBreakpointsResponse
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
collection :breakpoints, as: 'breakpoints', class: Google::Apis::ClouddebuggerV2::Breakpoint, decorator: Google::Apis::ClouddebuggerV2::Breakpoint::Representation
|
|
||||||
|
|
||||||
property :wait_expired, as: 'waitExpired'
|
|
||||||
property :next_wait_token, as: 'nextWaitToken'
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -359,105 +451,13 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class CloudWorkspaceSourceContext
|
class ListActiveBreakpointsResponse
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :snapshot_id, as: 'snapshotId'
|
|
||||||
property :workspace_id, as: 'workspaceId', class: Google::Apis::ClouddebuggerV2::CloudWorkspaceId, decorator: Google::Apis::ClouddebuggerV2::CloudWorkspaceId::Representation
|
|
||||||
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class GerritSourceContext
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :gerrit_project, as: 'gerritProject'
|
|
||||||
property :alias_context, as: 'aliasContext', class: Google::Apis::ClouddebuggerV2::AliasContext, decorator: Google::Apis::ClouddebuggerV2::AliasContext::Representation
|
|
||||||
|
|
||||||
property :host_uri, as: 'hostUri'
|
|
||||||
property :revision_id, as: 'revisionId'
|
|
||||||
property :alias_name, as: 'aliasName'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class UpdateActiveBreakpointResponse
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class CloudWorkspaceId
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :repo_id, as: 'repoId', class: Google::Apis::ClouddebuggerV2::RepoId, decorator: Google::Apis::ClouddebuggerV2::RepoId::Representation
|
|
||||||
|
|
||||||
property :name, as: 'name'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class ListBreakpointsResponse
|
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :next_wait_token, as: 'nextWaitToken'
|
||||||
collection :breakpoints, as: 'breakpoints', class: Google::Apis::ClouddebuggerV2::Breakpoint, decorator: Google::Apis::ClouddebuggerV2::Breakpoint::Representation
|
collection :breakpoints, as: 'breakpoints', class: Google::Apis::ClouddebuggerV2::Breakpoint, decorator: Google::Apis::ClouddebuggerV2::Breakpoint::Representation
|
||||||
|
|
||||||
property :next_wait_token, as: 'nextWaitToken'
|
property :wait_expired, as: 'waitExpired'
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class Breakpoint
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
collection :expressions, as: 'expressions'
|
|
||||||
collection :evaluated_expressions, as: 'evaluatedExpressions', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation
|
|
||||||
|
|
||||||
property :is_final_state, as: 'isFinalState'
|
|
||||||
collection :stack_frames, as: 'stackFrames', class: Google::Apis::ClouddebuggerV2::StackFrame, decorator: Google::Apis::ClouddebuggerV2::StackFrame::Representation
|
|
||||||
|
|
||||||
property :condition, as: 'condition'
|
|
||||||
property :status, as: 'status', class: Google::Apis::ClouddebuggerV2::StatusMessage, decorator: Google::Apis::ClouddebuggerV2::StatusMessage::Representation
|
|
||||||
|
|
||||||
property :user_email, as: 'userEmail'
|
|
||||||
property :action, as: 'action'
|
|
||||||
property :log_level, as: 'logLevel'
|
|
||||||
property :id, as: 'id'
|
|
||||||
property :location, as: 'location', class: Google::Apis::ClouddebuggerV2::SourceLocation, decorator: Google::Apis::ClouddebuggerV2::SourceLocation::Representation
|
|
||||||
|
|
||||||
property :final_time, as: 'finalTime'
|
|
||||||
collection :variable_table, as: 'variableTable', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation
|
|
||||||
|
|
||||||
hash :labels, as: 'labels'
|
|
||||||
property :log_message_format, as: 'logMessageFormat'
|
|
||||||
property :create_time, as: 'createTime'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class UpdateActiveBreakpointRequest
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :breakpoint, as: 'breakpoint', class: Google::Apis::ClouddebuggerV2::Breakpoint, decorator: Google::Apis::ClouddebuggerV2::Breakpoint::Representation
|
|
||||||
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class SetBreakpointResponse
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :breakpoint, as: 'breakpoint', class: Google::Apis::ClouddebuggerV2::Breakpoint, decorator: Google::Apis::ClouddebuggerV2::Breakpoint::Representation
|
|
||||||
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class SourceContext
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :git, as: 'git', class: Google::Apis::ClouddebuggerV2::GitSourceContext, decorator: Google::Apis::ClouddebuggerV2::GitSourceContext::Representation
|
|
||||||
|
|
||||||
property :gerrit, as: 'gerrit', class: Google::Apis::ClouddebuggerV2::GerritSourceContext, decorator: Google::Apis::ClouddebuggerV2::GerritSourceContext::Representation
|
|
||||||
|
|
||||||
property :cloud_repo, as: 'cloudRepo', class: Google::Apis::ClouddebuggerV2::CloudRepoSourceContext, decorator: Google::Apis::ClouddebuggerV2::CloudRepoSourceContext::Representation
|
|
||||||
|
|
||||||
property :cloud_workspace, as: 'cloudWorkspace', class: Google::Apis::ClouddebuggerV2::CloudWorkspaceSourceContext, decorator: Google::Apis::ClouddebuggerV2::CloudWorkspaceSourceContext::Representation
|
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -47,138 +47,6 @@ module Google
|
||||||
super('https://clouddebugger.googleapis.com/', '')
|
super('https://clouddebugger.googleapis.com/', '')
|
||||||
end
|
end
|
||||||
|
|
||||||
# Registers the debuggee with the controller service.
|
|
||||||
# All agents attached to the same application should call this method with
|
|
||||||
# the same request content to get back the same stable `debuggee_id`. Agents
|
|
||||||
# should call this method again whenever `google.rpc.Code.NOT_FOUND` is
|
|
||||||
# returned from any controller method.
|
|
||||||
# This allows the controller service to disable the agent or recover from any
|
|
||||||
# data loss. If the debuggee is disabled by the server, the response will
|
|
||||||
# have `is_disabled` set to `true`.
|
|
||||||
# @param [Google::Apis::ClouddebuggerV2::RegisterDebuggeeRequest] register_debuggee_request_object
|
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [String] quota_user
|
|
||||||
# Available to use for quota purposes for server-side applications. Can be any
|
|
||||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::ClouddebuggerV2::RegisterDebuggeeResponse] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::ClouddebuggerV2::RegisterDebuggeeResponse]
|
|
||||||
#
|
|
||||||
# @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 register_debuggee(register_debuggee_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:post, 'v2/controller/debuggees/register', options)
|
|
||||||
command.request_representation = Google::Apis::ClouddebuggerV2::RegisterDebuggeeRequest::Representation
|
|
||||||
command.request_object = register_debuggee_request_object
|
|
||||||
command.response_representation = Google::Apis::ClouddebuggerV2::RegisterDebuggeeResponse::Representation
|
|
||||||
command.response_class = Google::Apis::ClouddebuggerV2::RegisterDebuggeeResponse
|
|
||||||
command.query['fields'] = fields unless fields.nil?
|
|
||||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
||||||
execute_or_queue_command(command, &block)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Returns the list of all active breakpoints for the debuggee.
|
|
||||||
# The breakpoint specification (location, condition, and expression
|
|
||||||
# fields) is semantically immutable, although the field values may
|
|
||||||
# change. For example, an agent may update the location line number
|
|
||||||
# to reflect the actual line where the breakpoint was set, but this
|
|
||||||
# doesn't change the breakpoint semantics.
|
|
||||||
# This means that an agent does not need to check if a breakpoint has changed
|
|
||||||
# when it encounters the same breakpoint on a successive call.
|
|
||||||
# Moreover, an agent should remember the breakpoints that are completed
|
|
||||||
# until the controller removes them from the active list to avoid
|
|
||||||
# setting those breakpoints again.
|
|
||||||
# @param [String] debuggee_id
|
|
||||||
# Identifies the debuggee.
|
|
||||||
# @param [Boolean] success_on_timeout
|
|
||||||
# If set to `true`, returns `google.rpc.Code.OK` status and sets the
|
|
||||||
# `wait_expired` response field to `true` when the server-selected timeout
|
|
||||||
# has expired (recommended).
|
|
||||||
# If set to `false`, returns `google.rpc.Code.ABORTED` status when the
|
|
||||||
# server-selected timeout has expired (deprecated).
|
|
||||||
# @param [String] wait_token
|
|
||||||
# A wait token that, if specified, blocks the method call until the list
|
|
||||||
# of active breakpoints has changed, or a server selected timeout has
|
|
||||||
# expired. The value should be set from the last returned response.
|
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [String] quota_user
|
|
||||||
# Available to use for quota purposes for server-side applications. Can be any
|
|
||||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::ClouddebuggerV2::ListActiveBreakpointsResponse] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::ClouddebuggerV2::ListActiveBreakpointsResponse]
|
|
||||||
#
|
|
||||||
# @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_controller_debuggee_breakpoints(debuggee_id, success_on_timeout: nil, wait_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:get, 'v2/controller/debuggees/{debuggeeId}/breakpoints', options)
|
|
||||||
command.response_representation = Google::Apis::ClouddebuggerV2::ListActiveBreakpointsResponse::Representation
|
|
||||||
command.response_class = Google::Apis::ClouddebuggerV2::ListActiveBreakpointsResponse
|
|
||||||
command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil?
|
|
||||||
command.query['successOnTimeout'] = success_on_timeout unless success_on_timeout.nil?
|
|
||||||
command.query['waitToken'] = wait_token unless wait_token.nil?
|
|
||||||
command.query['fields'] = fields unless fields.nil?
|
|
||||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
||||||
execute_or_queue_command(command, &block)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Updates the breakpoint state or mutable fields.
|
|
||||||
# The entire Breakpoint message must be sent back to the controller
|
|
||||||
# service.
|
|
||||||
# Updates to active breakpoint fields are only allowed if the new value
|
|
||||||
# does not change the breakpoint specification. Updates to the `location`,
|
|
||||||
# `condition` and `expression` fields should not alter the breakpoint
|
|
||||||
# semantics. These may only make changes such as canonicalizing a value
|
|
||||||
# or snapping the location to the correct line of code.
|
|
||||||
# @param [String] debuggee_id
|
|
||||||
# Identifies the debuggee being debugged.
|
|
||||||
# @param [String] id
|
|
||||||
# Breakpoint identifier, unique in the scope of the debuggee.
|
|
||||||
# @param [Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointRequest] update_active_breakpoint_request_object
|
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [String] quota_user
|
|
||||||
# Available to use for quota purposes for server-side applications. Can be any
|
|
||||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointResponse] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointResponse]
|
|
||||||
#
|
|
||||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
||||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
||||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
||||||
def update_active_breakpoint(debuggee_id, id, update_active_breakpoint_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:put, 'v2/controller/debuggees/{debuggeeId}/breakpoints/{id}', options)
|
|
||||||
command.request_representation = Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointRequest::Representation
|
|
||||||
command.request_object = update_active_breakpoint_request_object
|
|
||||||
command.response_representation = Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointResponse::Representation
|
|
||||||
command.response_class = Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointResponse
|
|
||||||
command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil?
|
|
||||||
command.params['id'] = id unless id.nil?
|
|
||||||
command.query['fields'] = fields unless fields.nil?
|
|
||||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
||||||
execute_or_queue_command(command, &block)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Lists all the debuggees that the user can set breakpoints to.
|
# Lists all the debuggees that the user can set breakpoints to.
|
||||||
# @param [String] client_version
|
# @param [String] client_version
|
||||||
# The client version making the call.
|
# The client version making the call.
|
||||||
|
@ -384,6 +252,138 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Registers the debuggee with the controller service.
|
||||||
|
# All agents attached to the same application should call this method with
|
||||||
|
# the same request content to get back the same stable `debuggee_id`. Agents
|
||||||
|
# should call this method again whenever `google.rpc.Code.NOT_FOUND` is
|
||||||
|
# returned from any controller method.
|
||||||
|
# This allows the controller service to disable the agent or recover from any
|
||||||
|
# data loss. If the debuggee is disabled by the server, the response will
|
||||||
|
# have `is_disabled` set to `true`.
|
||||||
|
# @param [Google::Apis::ClouddebuggerV2::RegisterDebuggeeRequest] register_debuggee_request_object
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::ClouddebuggerV2::RegisterDebuggeeResponse] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::ClouddebuggerV2::RegisterDebuggeeResponse]
|
||||||
|
#
|
||||||
|
# @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 register_debuggee(register_debuggee_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, 'v2/controller/debuggees/register', options)
|
||||||
|
command.request_representation = Google::Apis::ClouddebuggerV2::RegisterDebuggeeRequest::Representation
|
||||||
|
command.request_object = register_debuggee_request_object
|
||||||
|
command.response_representation = Google::Apis::ClouddebuggerV2::RegisterDebuggeeResponse::Representation
|
||||||
|
command.response_class = Google::Apis::ClouddebuggerV2::RegisterDebuggeeResponse
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Updates the breakpoint state or mutable fields.
|
||||||
|
# The entire Breakpoint message must be sent back to the controller
|
||||||
|
# service.
|
||||||
|
# Updates to active breakpoint fields are only allowed if the new value
|
||||||
|
# does not change the breakpoint specification. Updates to the `location`,
|
||||||
|
# `condition` and `expression` fields should not alter the breakpoint
|
||||||
|
# semantics. These may only make changes such as canonicalizing a value
|
||||||
|
# or snapping the location to the correct line of code.
|
||||||
|
# @param [String] debuggee_id
|
||||||
|
# Identifies the debuggee being debugged.
|
||||||
|
# @param [String] id
|
||||||
|
# Breakpoint identifier, unique in the scope of the debuggee.
|
||||||
|
# @param [Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointRequest] update_active_breakpoint_request_object
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointResponse] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointResponse]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def update_active_breakpoint(debuggee_id, id, update_active_breakpoint_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:put, 'v2/controller/debuggees/{debuggeeId}/breakpoints/{id}', options)
|
||||||
|
command.request_representation = Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointRequest::Representation
|
||||||
|
command.request_object = update_active_breakpoint_request_object
|
||||||
|
command.response_representation = Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointResponse::Representation
|
||||||
|
command.response_class = Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointResponse
|
||||||
|
command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil?
|
||||||
|
command.params['id'] = id unless id.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Returns the list of all active breakpoints for the debuggee.
|
||||||
|
# The breakpoint specification (location, condition, and expression
|
||||||
|
# fields) is semantically immutable, although the field values may
|
||||||
|
# change. For example, an agent may update the location line number
|
||||||
|
# to reflect the actual line where the breakpoint was set, but this
|
||||||
|
# doesn't change the breakpoint semantics.
|
||||||
|
# This means that an agent does not need to check if a breakpoint has changed
|
||||||
|
# when it encounters the same breakpoint on a successive call.
|
||||||
|
# Moreover, an agent should remember the breakpoints that are completed
|
||||||
|
# until the controller removes them from the active list to avoid
|
||||||
|
# setting those breakpoints again.
|
||||||
|
# @param [String] debuggee_id
|
||||||
|
# Identifies the debuggee.
|
||||||
|
# @param [String] wait_token
|
||||||
|
# A wait token that, if specified, blocks the method call until the list
|
||||||
|
# of active breakpoints has changed, or a server selected timeout has
|
||||||
|
# expired. The value should be set from the last returned response.
|
||||||
|
# @param [Boolean] success_on_timeout
|
||||||
|
# If set to `true`, returns `google.rpc.Code.OK` status and sets the
|
||||||
|
# `wait_expired` response field to `true` when the server-selected timeout
|
||||||
|
# has expired (recommended).
|
||||||
|
# If set to `false`, returns `google.rpc.Code.ABORTED` status when the
|
||||||
|
# server-selected timeout has expired (deprecated).
|
||||||
|
# @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::ClouddebuggerV2::ListActiveBreakpointsResponse] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::ClouddebuggerV2::ListActiveBreakpointsResponse]
|
||||||
|
#
|
||||||
|
# @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_controller_debuggee_breakpoints(debuggee_id, wait_token: nil, success_on_timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, 'v2/controller/debuggees/{debuggeeId}/breakpoints', options)
|
||||||
|
command.response_representation = Google::Apis::ClouddebuggerV2::ListActiveBreakpointsResponse::Representation
|
||||||
|
command.response_class = Google::Apis::ClouddebuggerV2::ListActiveBreakpointsResponse
|
||||||
|
command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil?
|
||||||
|
command.query['waitToken'] = wait_token unless wait_token.nil?
|
||||||
|
command.query['successOnTimeout'] = success_on_timeout unless success_on_timeout.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
|
protected
|
||||||
|
|
||||||
def apply_command_defaults(command)
|
def apply_command_defaults(command)
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/kms/
|
# @see https://cloud.google.com/kms/
|
||||||
module CloudkmsV1
|
module CloudkmsV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20170301'
|
REVISION = '20170320'
|
||||||
|
|
||||||
# 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,6 +22,78 @@ module Google
|
||||||
module Apis
|
module Apis
|
||||||
module CloudkmsV1
|
module CloudkmsV1
|
||||||
|
|
||||||
|
# A resource that represents Google Cloud Platform location.
|
||||||
|
class Location
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Resource name for the location, which may vary between implementations.
|
||||||
|
# For example: `"projects/example-project/locations/us-east1"`
|
||||||
|
# Corresponds to the JSON property `name`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :name
|
||||||
|
|
||||||
|
# The canonical id for this location. For example: `"us-east1"`.
|
||||||
|
# Corresponds to the JSON property `locationId`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :location_id
|
||||||
|
|
||||||
|
# Service-specific metadata. For example the available capacity at the given
|
||||||
|
# location.
|
||||||
|
# Corresponds to the JSON property `metadata`
|
||||||
|
# @return [Hash<String,Object>]
|
||||||
|
attr_accessor :metadata
|
||||||
|
|
||||||
|
# Cross-service attributes for the location. For example
|
||||||
|
# `"cloud.googleapis.com/region": "us-east1"`
|
||||||
|
# Corresponds to the JSON property `labels`
|
||||||
|
# @return [Hash<String,String>]
|
||||||
|
attr_accessor :labels
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@name = args[:name] if args.key?(:name)
|
||||||
|
@location_id = args[:location_id] if args.key?(:location_id)
|
||||||
|
@metadata = args[:metadata] if args.key?(:metadata)
|
||||||
|
@labels = args[:labels] if args.key?(:labels)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# Response message for KeyManagementService.ListCryptoKeys.
|
||||||
|
class ListCryptoKeysResponse
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# A token to retrieve next page of results. Pass this value in
|
||||||
|
# ListCryptoKeysRequest.page_token to retrieve the next page of results.
|
||||||
|
# Corresponds to the JSON property `nextPageToken`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :next_page_token
|
||||||
|
|
||||||
|
# The list of CryptoKeys.
|
||||||
|
# Corresponds to the JSON property `cryptoKeys`
|
||||||
|
# @return [Array<Google::Apis::CloudkmsV1::CryptoKey>]
|
||||||
|
attr_accessor :crypto_keys
|
||||||
|
|
||||||
|
# The total number of CryptoKeys that matched the query.
|
||||||
|
# Corresponds to the JSON property `totalSize`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :total_size
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||||
|
@crypto_keys = args[:crypto_keys] if args.key?(:crypto_keys)
|
||||||
|
@total_size = args[:total_size] if args.key?(:total_size)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# A condition to be met.
|
# A condition to be met.
|
||||||
class Condition
|
class Condition
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -36,27 +108,27 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :svc
|
attr_accessor :svc
|
||||||
|
|
||||||
|
# DEPRECATED. Use 'values' instead.
|
||||||
|
# Corresponds to the JSON property `value`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :value
|
||||||
|
|
||||||
# Trusted attributes supplied by any service that owns resources and uses
|
# Trusted attributes supplied by any service that owns resources and uses
|
||||||
# the IAM system for access control.
|
# the IAM system for access control.
|
||||||
# Corresponds to the JSON property `sys`
|
# Corresponds to the JSON property `sys`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :sys
|
attr_accessor :sys
|
||||||
|
|
||||||
# DEPRECATED. Use 'values' instead.
|
# Trusted attributes supplied by the IAM system.
|
||||||
# Corresponds to the JSON property `value`
|
# Corresponds to the JSON property `iam`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :value
|
attr_accessor :iam
|
||||||
|
|
||||||
# The objects of the condition. This is mutually exclusive with 'value'.
|
# The objects of the condition. This is mutually exclusive with 'value'.
|
||||||
# Corresponds to the JSON property `values`
|
# Corresponds to the JSON property `values`
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
attr_accessor :values
|
attr_accessor :values
|
||||||
|
|
||||||
# Trusted attributes supplied by the IAM system.
|
|
||||||
# Corresponds to the JSON property `iam`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :iam
|
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
@ -65,10 +137,10 @@ module Google
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@op = args[:op] if args.key?(:op)
|
@op = args[:op] if args.key?(:op)
|
||||||
@svc = args[:svc] if args.key?(:svc)
|
@svc = args[:svc] if args.key?(:svc)
|
||||||
@sys = args[:sys] if args.key?(:sys)
|
|
||||||
@value = args[:value] if args.key?(:value)
|
@value = args[:value] if args.key?(:value)
|
||||||
@values = args[:values] if args.key?(:values)
|
@sys = args[:sys] if args.key?(:sys)
|
||||||
@iam = args[:iam] if args.key?(:iam)
|
@iam = args[:iam] if args.key?(:iam)
|
||||||
|
@values = args[:values] if args.key?(:values)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -181,31 +253,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# The response message for Locations.ListLocations.
|
|
||||||
class ListLocationsResponse
|
|
||||||
include Google::Apis::Core::Hashable
|
|
||||||
|
|
||||||
# A list of locations that matches the specified filter in the request.
|
|
||||||
# Corresponds to the JSON property `locations`
|
|
||||||
# @return [Array<Google::Apis::CloudkmsV1::Location>]
|
|
||||||
attr_accessor :locations
|
|
||||||
|
|
||||||
# The standard List next-page token.
|
|
||||||
# Corresponds to the JSON property `nextPageToken`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :next_page_token
|
|
||||||
|
|
||||||
def initialize(**args)
|
|
||||||
update!(**args)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Update properties of this object
|
|
||||||
def update!(**args)
|
|
||||||
@locations = args[:locations] if args.key?(:locations)
|
|
||||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
# Defines an Identity and Access Management (IAM) policy. It is used to
|
# Defines an Identity and Access Management (IAM) policy. It is used to
|
||||||
# specify access control policies for Cloud Platform resources.
|
# specify access control policies for Cloud Platform resources.
|
||||||
# A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
|
# A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
|
||||||
|
@ -299,19 +346,19 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Response message for KeyManagementService.Encrypt.
|
# The response message for Locations.ListLocations.
|
||||||
class EncryptResponse
|
class ListLocationsResponse
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# The encrypted data.
|
# A list of locations that matches the specified filter in the request.
|
||||||
# Corresponds to the JSON property `ciphertext`
|
# Corresponds to the JSON property `locations`
|
||||||
# @return [String]
|
# @return [Array<Google::Apis::CloudkmsV1::Location>]
|
||||||
attr_accessor :ciphertext
|
attr_accessor :locations
|
||||||
|
|
||||||
# The resource name of the CryptoKeyVersion used in encryption.
|
# The standard List next-page token.
|
||||||
# Corresponds to the JSON property `name`
|
# Corresponds to the JSON property `nextPageToken`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :name
|
attr_accessor :next_page_token
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
|
@ -319,8 +366,8 @@ module Google
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@ciphertext = args[:ciphertext] if args.key?(:ciphertext)
|
@locations = args[:locations] if args.key?(:locations)
|
||||||
@name = args[:name] if args.key?(:name)
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -328,25 +375,63 @@ module Google
|
||||||
class KeyRing
|
class KeyRing
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Output only. The time at which this KeyRing was created.
|
|
||||||
# Corresponds to the JSON property `createTime`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :create_time
|
|
||||||
|
|
||||||
# Output only. The resource name for the KeyRing in the format
|
# Output only. The resource name for the KeyRing in the format
|
||||||
# `projects/*/locations/*/keyRings/*`.
|
# `projects/*/locations/*/keyRings/*`.
|
||||||
# Corresponds to the JSON property `name`
|
# Corresponds to the JSON property `name`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :name
|
attr_accessor :name
|
||||||
|
|
||||||
|
# Output only. The time at which this KeyRing was created.
|
||||||
|
# Corresponds to the JSON property `createTime`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :create_time
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
|
||||||
# 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)
|
|
||||||
@name = args[:name] if args.key?(:name)
|
@name = args[:name] if args.key?(:name)
|
||||||
|
@create_time = args[:create_time] if args.key?(:create_time)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# Response message for KeyManagementService.Encrypt.
|
||||||
|
class EncryptResponse
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The resource name of the CryptoKeyVersion used in encryption.
|
||||||
|
# Corresponds to the JSON property `name`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :name
|
||||||
|
|
||||||
|
# The encrypted data.
|
||||||
|
# Corresponds to the JSON property `ciphertext`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :ciphertext
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@name = args[:name] if args.key?(:name)
|
||||||
|
@ciphertext = args[:ciphertext] if args.key?(:ciphertext)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# Request message for KeyManagementService.RestoreCryptoKeyVersion.
|
||||||
|
class RestoreCryptoKeyVersionRequest
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -369,32 +454,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Request message for KeyManagementService.RestoreCryptoKeyVersion.
|
|
||||||
class RestoreCryptoKeyVersionRequest
|
|
||||||
include Google::Apis::Core::Hashable
|
|
||||||
|
|
||||||
def initialize(**args)
|
|
||||||
update!(**args)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Update properties of this object
|
|
||||||
def update!(**args)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
# Write a Data Access (Gin) log
|
|
||||||
class DataAccessOptions
|
|
||||||
include Google::Apis::Core::Hashable
|
|
||||||
|
|
||||||
def initialize(**args)
|
|
||||||
update!(**args)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Update properties of this object
|
|
||||||
def update!(**args)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
# Response message for KeyManagementService.ListKeyRings.
|
# Response message for KeyManagementService.ListKeyRings.
|
||||||
class ListKeyRingsResponse
|
class ListKeyRingsResponse
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -427,9 +486,22 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Write a Data Access (Gin) log
|
||||||
|
class DataAccessOptions
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Specifies the audit configuration for a service.
|
# Specifies the audit configuration for a service.
|
||||||
# It consists of which permission types are logged, and what identities, if
|
# The configuration determines which permission types are logged, and what
|
||||||
# any, are exempted from logging.
|
# identities, if any, are exempted from logging.
|
||||||
# An AuditConifg must have one or more AuditLogConfigs.
|
# An AuditConifg must have one or more AuditLogConfigs.
|
||||||
# If there are AuditConfigs for both `allServices` and a specific service,
|
# If there are AuditConfigs for both `allServices` and a specific service,
|
||||||
# the union of the two AuditConfigs is used for that service: the log_types
|
# the union of the two AuditConfigs is used for that service: the log_types
|
||||||
|
@ -477,13 +549,8 @@ module Google
|
||||||
class AuditConfig
|
class AuditConfig
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
#
|
|
||||||
# Corresponds to the JSON property `exemptedMembers`
|
|
||||||
# @return [Array<String>]
|
|
||||||
attr_accessor :exempted_members
|
|
||||||
|
|
||||||
# Specifies a service that will be enabled for audit logging.
|
# Specifies a service that will be enabled for audit logging.
|
||||||
# For example, `resourcemanager`, `storage`, `compute`.
|
# For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
|
||||||
# `allServices` is a special value that covers all services.
|
# `allServices` is a special value that covers all services.
|
||||||
# Corresponds to the JSON property `service`
|
# Corresponds to the JSON property `service`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -495,15 +562,20 @@ module Google
|
||||||
# @return [Array<Google::Apis::CloudkmsV1::AuditLogConfig>]
|
# @return [Array<Google::Apis::CloudkmsV1::AuditLogConfig>]
|
||||||
attr_accessor :audit_log_configs
|
attr_accessor :audit_log_configs
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `exemptedMembers`
|
||||||
|
# @return [Array<String>]
|
||||||
|
attr_accessor :exempted_members
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
|
||||||
@service = args[:service] if args.key?(:service)
|
@service = args[:service] if args.key?(:service)
|
||||||
@audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
|
@audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
|
||||||
|
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -515,6 +587,18 @@ module Google
|
||||||
class CryptoKeyVersion
|
class CryptoKeyVersion
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Output only. The time this CryptoKeyVersion's key material is scheduled
|
||||||
|
# for destruction. Only present if state is
|
||||||
|
# DESTROY_SCHEDULED.
|
||||||
|
# Corresponds to the JSON property `destroyTime`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :destroy_time
|
||||||
|
|
||||||
|
# Output only. The time at which this CryptoKeyVersion was created.
|
||||||
|
# Corresponds to the JSON property `createTime`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :create_time
|
||||||
|
|
||||||
# The current state of the CryptoKeyVersion.
|
# The current state of the CryptoKeyVersion.
|
||||||
# Corresponds to the JSON property `state`
|
# Corresponds to the JSON property `state`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -533,29 +617,17 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :destroy_event_time
|
attr_accessor :destroy_event_time
|
||||||
|
|
||||||
# Output only. The time this CryptoKeyVersion's key material is scheduled
|
|
||||||
# for destruction. Only present if state is
|
|
||||||
# DESTROY_SCHEDULED.
|
|
||||||
# Corresponds to the JSON property `destroyTime`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :destroy_time
|
|
||||||
|
|
||||||
# Output only. The time at which this CryptoKeyVersion was created.
|
|
||||||
# Corresponds to the JSON property `createTime`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :create_time
|
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
|
@destroy_time = args[:destroy_time] if args.key?(:destroy_time)
|
||||||
|
@create_time = args[:create_time] if args.key?(:create_time)
|
||||||
@state = args[:state] if args.key?(:state)
|
@state = args[:state] if args.key?(:state)
|
||||||
@name = args[:name] if args.key?(:name)
|
@name = args[:name] if args.key?(:name)
|
||||||
@destroy_event_time = args[:destroy_event_time] if args.key?(:destroy_event_time)
|
@destroy_event_time = args[:destroy_event_time] if args.key?(:destroy_event_time)
|
||||||
@destroy_time = args[:destroy_time] if args.key?(:destroy_time)
|
|
||||||
@create_time = args[:create_time] if args.key?(:create_time)
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -616,11 +688,6 @@ module Google
|
||||||
class EncryptRequest
|
class EncryptRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Required. The data to encrypt. Must be no larger than 64KiB.
|
|
||||||
# Corresponds to the JSON property `plaintext`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :plaintext
|
|
||||||
|
|
||||||
# Optional data that, if specified, must also be provided during decryption
|
# Optional data that, if specified, must also be provided during decryption
|
||||||
# through DecryptRequest.additional_authenticated_data. Must be no
|
# through DecryptRequest.additional_authenticated_data. Must be no
|
||||||
# larger than 64KiB.
|
# larger than 64KiB.
|
||||||
|
@ -628,14 +695,19 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :additional_authenticated_data
|
attr_accessor :additional_authenticated_data
|
||||||
|
|
||||||
|
# Required. The data to encrypt. Must be no larger than 64KiB.
|
||||||
|
# Corresponds to the JSON property `plaintext`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :plaintext
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@plaintext = args[:plaintext] if args.key?(:plaintext)
|
|
||||||
@additional_authenticated_data = args[:additional_authenticated_data] if args.key?(:additional_authenticated_data)
|
@additional_authenticated_data = args[:additional_authenticated_data] if args.key?(:additional_authenticated_data)
|
||||||
|
@plaintext = args[:plaintext] if args.key?(:plaintext)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -706,68 +778,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# A rule to be applied in a Policy.
|
|
||||||
class Rule
|
|
||||||
include Google::Apis::Core::Hashable
|
|
||||||
|
|
||||||
# If one or more 'not_in' clauses are specified, the rule matches
|
|
||||||
# if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.
|
|
||||||
# The format for in and not_in entries is the same as for members in a
|
|
||||||
# Binding (see google/iam/v1/policy.proto).
|
|
||||||
# Corresponds to the JSON property `notIn`
|
|
||||||
# @return [Array<String>]
|
|
||||||
attr_accessor :not_in
|
|
||||||
|
|
||||||
# Human-readable description of the rule.
|
|
||||||
# Corresponds to the JSON property `description`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :description
|
|
||||||
|
|
||||||
# Additional restrictions that must be met
|
|
||||||
# Corresponds to the JSON property `conditions`
|
|
||||||
# @return [Array<Google::Apis::CloudkmsV1::Condition>]
|
|
||||||
attr_accessor :conditions
|
|
||||||
|
|
||||||
# The config returned to callers of tech.iam.IAM.CheckPolicy for any entries
|
|
||||||
# that match the LOG action.
|
|
||||||
# Corresponds to the JSON property `logConfig`
|
|
||||||
# @return [Array<Google::Apis::CloudkmsV1::LogConfig>]
|
|
||||||
attr_accessor :log_config
|
|
||||||
|
|
||||||
# If one or more 'in' clauses are specified, the rule matches if
|
|
||||||
# the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.
|
|
||||||
# Corresponds to the JSON property `in`
|
|
||||||
# @return [Array<String>]
|
|
||||||
attr_accessor :in
|
|
||||||
|
|
||||||
# A permission is a string of form '<service>.<resource type>.<verb>'
|
|
||||||
# (e.g., 'storage.buckets.list'). A value of '*' matches all permissions,
|
|
||||||
# and a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.
|
|
||||||
# Corresponds to the JSON property `permissions`
|
|
||||||
# @return [Array<String>]
|
|
||||||
attr_accessor :permissions
|
|
||||||
|
|
||||||
# Required
|
|
||||||
# Corresponds to the JSON property `action`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :action
|
|
||||||
|
|
||||||
def initialize(**args)
|
|
||||||
update!(**args)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Update properties of this object
|
|
||||||
def update!(**args)
|
|
||||||
@not_in = args[:not_in] if args.key?(:not_in)
|
|
||||||
@description = args[:description] if args.key?(:description)
|
|
||||||
@conditions = args[:conditions] if args.key?(:conditions)
|
|
||||||
@log_config = args[:log_config] if args.key?(:log_config)
|
|
||||||
@in = args[:in] if args.key?(:in)
|
|
||||||
@permissions = args[:permissions] if args.key?(:permissions)
|
|
||||||
@action = args[:action] if args.key?(:action)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
# A CryptoKey represents a logical key that can be used for cryptographic
|
# A CryptoKey represents a logical key that can be used for cryptographic
|
||||||
# operations.
|
# operations.
|
||||||
# A CryptoKey is made up of one or more versions, which
|
# A CryptoKey is made up of one or more versions, which
|
||||||
|
@ -834,27 +844,77 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# A rule to be applied in a Policy.
|
||||||
|
class Rule
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The config returned to callers of tech.iam.IAM.CheckPolicy for any entries
|
||||||
|
# that match the LOG action.
|
||||||
|
# Corresponds to the JSON property `logConfig`
|
||||||
|
# @return [Array<Google::Apis::CloudkmsV1::LogConfig>]
|
||||||
|
attr_accessor :log_config
|
||||||
|
|
||||||
|
# If one or more 'in' clauses are specified, the rule matches if
|
||||||
|
# the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.
|
||||||
|
# Corresponds to the JSON property `in`
|
||||||
|
# @return [Array<String>]
|
||||||
|
attr_accessor :in
|
||||||
|
|
||||||
|
# A permission is a string of form '<service>.<resource type>.<verb>'
|
||||||
|
# (e.g., 'storage.buckets.list'). A value of '*' matches all permissions,
|
||||||
|
# and a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.
|
||||||
|
# Corresponds to the JSON property `permissions`
|
||||||
|
# @return [Array<String>]
|
||||||
|
attr_accessor :permissions
|
||||||
|
|
||||||
|
# Required
|
||||||
|
# Corresponds to the JSON property `action`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :action
|
||||||
|
|
||||||
|
# If one or more 'not_in' clauses are specified, the rule matches
|
||||||
|
# if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.
|
||||||
|
# The format for in and not_in entries is the same as for members in a
|
||||||
|
# Binding (see google/iam/v1/policy.proto).
|
||||||
|
# Corresponds to the JSON property `notIn`
|
||||||
|
# @return [Array<String>]
|
||||||
|
attr_accessor :not_in
|
||||||
|
|
||||||
|
# Human-readable description of the rule.
|
||||||
|
# Corresponds to the JSON property `description`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :description
|
||||||
|
|
||||||
|
# Additional restrictions that must be met
|
||||||
|
# Corresponds to the JSON property `conditions`
|
||||||
|
# @return [Array<Google::Apis::CloudkmsV1::Condition>]
|
||||||
|
attr_accessor :conditions
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@log_config = args[:log_config] if args.key?(:log_config)
|
||||||
|
@in = args[:in] if args.key?(:in)
|
||||||
|
@permissions = args[:permissions] if args.key?(:permissions)
|
||||||
|
@action = args[:action] if args.key?(:action)
|
||||||
|
@not_in = args[:not_in] if args.key?(:not_in)
|
||||||
|
@description = args[:description] if args.key?(:description)
|
||||||
|
@conditions = args[:conditions] if args.key?(:conditions)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Specifies what kind of log the caller must write
|
# Specifies what kind of log the caller must write
|
||||||
# Increment a streamz counter with the specified metric and field names.
|
|
||||||
# Metric names should start with a '/', generally be lowercase-only,
|
|
||||||
# and end in "_count". Field names should not contain an initial slash.
|
|
||||||
# The actual exported metric names will have "/iam/policy" prepended.
|
|
||||||
# Field names correspond to IAM request parameters and field values are
|
|
||||||
# their respective values.
|
|
||||||
# At present the only supported field names are
|
|
||||||
# - "iam_principal", corresponding to IAMContext.principal;
|
|
||||||
# - "" (empty string), resulting in one aggretated counter with no field.
|
|
||||||
# Examples:
|
|
||||||
# counter ` metric: "/debug_access_count" field: "iam_principal" `
|
|
||||||
# ==> increment counter /iam/policy/backend_debug_access_count
|
|
||||||
# `iam_principal=[value of IAMContext.principal]`
|
|
||||||
# At this time we do not support:
|
|
||||||
# * multiple field names (though this may be supported in the future)
|
|
||||||
# * decrementing the counter
|
|
||||||
# * incrementing it by anything other than 1
|
|
||||||
class LogConfig
|
class LogConfig
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Write a Cloud Audit log
|
||||||
|
# Corresponds to the JSON property `cloudAudit`
|
||||||
|
# @return [Google::Apis::CloudkmsV1::CloudAuditOptions]
|
||||||
|
attr_accessor :cloud_audit
|
||||||
|
|
||||||
# Options for counters
|
# Options for counters
|
||||||
# Corresponds to the JSON property `counter`
|
# Corresponds to the JSON property `counter`
|
||||||
# @return [Google::Apis::CloudkmsV1::CounterOptions]
|
# @return [Google::Apis::CloudkmsV1::CounterOptions]
|
||||||
|
@ -865,20 +925,15 @@ module Google
|
||||||
# @return [Google::Apis::CloudkmsV1::DataAccessOptions]
|
# @return [Google::Apis::CloudkmsV1::DataAccessOptions]
|
||||||
attr_accessor :data_access
|
attr_accessor :data_access
|
||||||
|
|
||||||
# Write a Cloud Audit log
|
|
||||||
# Corresponds to the JSON property `cloudAudit`
|
|
||||||
# @return [Google::Apis::CloudkmsV1::CloudAuditOptions]
|
|
||||||
attr_accessor :cloud_audit
|
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
|
@cloud_audit = args[:cloud_audit] if args.key?(:cloud_audit)
|
||||||
@counter = args[:counter] if args.key?(:counter)
|
@counter = args[:counter] if args.key?(:counter)
|
||||||
@data_access = args[:data_access] if args.key?(:data_access)
|
@data_access = args[:data_access] if args.key?(:data_access)
|
||||||
@cloud_audit = args[:cloud_audit] if args.key?(:cloud_audit)
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -887,8 +942,8 @@ module Google
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
|
# OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
|
||||||
# the fields in the mask will be modified. If no mask is provided, a default
|
# the fields in the mask will be modified. If no mask is provided, the
|
||||||
# mask is used:
|
# following default mask is used:
|
||||||
# paths: "bindings, etag"
|
# paths: "bindings, etag"
|
||||||
# This field is only used by Cloud IAM.
|
# This field is only used by Cloud IAM.
|
||||||
# Corresponds to the JSON property `updateMask`
|
# Corresponds to the JSON property `updateMask`
|
||||||
|
@ -962,78 +1017,6 @@ module Google
|
||||||
@additional_authenticated_data = args[:additional_authenticated_data] if args.key?(:additional_authenticated_data)
|
@additional_authenticated_data = args[:additional_authenticated_data] if args.key?(:additional_authenticated_data)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# A resource that represents Google Cloud Platform location.
|
|
||||||
class Location
|
|
||||||
include Google::Apis::Core::Hashable
|
|
||||||
|
|
||||||
# Resource name for the location, which may vary between implementations.
|
|
||||||
# For example: `"projects/example-project/locations/us-east1"`
|
|
||||||
# Corresponds to the JSON property `name`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :name
|
|
||||||
|
|
||||||
# The canonical id for this location. For example: `"us-east1"`.
|
|
||||||
# Corresponds to the JSON property `locationId`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :location_id
|
|
||||||
|
|
||||||
# Service-specific metadata. For example the available capacity at the given
|
|
||||||
# location.
|
|
||||||
# Corresponds to the JSON property `metadata`
|
|
||||||
# @return [Hash<String,Object>]
|
|
||||||
attr_accessor :metadata
|
|
||||||
|
|
||||||
# Cross-service attributes for the location. For example
|
|
||||||
# `"cloud.googleapis.com/region": "us-east1"`
|
|
||||||
# Corresponds to the JSON property `labels`
|
|
||||||
# @return [Hash<String,String>]
|
|
||||||
attr_accessor :labels
|
|
||||||
|
|
||||||
def initialize(**args)
|
|
||||||
update!(**args)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Update properties of this object
|
|
||||||
def update!(**args)
|
|
||||||
@name = args[:name] if args.key?(:name)
|
|
||||||
@location_id = args[:location_id] if args.key?(:location_id)
|
|
||||||
@metadata = args[:metadata] if args.key?(:metadata)
|
|
||||||
@labels = args[:labels] if args.key?(:labels)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
# Response message for KeyManagementService.ListCryptoKeys.
|
|
||||||
class ListCryptoKeysResponse
|
|
||||||
include Google::Apis::Core::Hashable
|
|
||||||
|
|
||||||
# A token to retrieve next page of results. Pass this value in
|
|
||||||
# ListCryptoKeysRequest.page_token to retrieve the next page of results.
|
|
||||||
# Corresponds to the JSON property `nextPageToken`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :next_page_token
|
|
||||||
|
|
||||||
# The list of CryptoKeys.
|
|
||||||
# Corresponds to the JSON property `cryptoKeys`
|
|
||||||
# @return [Array<Google::Apis::CloudkmsV1::CryptoKey>]
|
|
||||||
attr_accessor :crypto_keys
|
|
||||||
|
|
||||||
# The total number of CryptoKeys that matched the query.
|
|
||||||
# Corresponds to the JSON property `totalSize`
|
|
||||||
# @return [Fixnum]
|
|
||||||
attr_accessor :total_size
|
|
||||||
|
|
||||||
def initialize(**args)
|
|
||||||
update!(**args)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Update properties of this object
|
|
||||||
def update!(**args)
|
|
||||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
||||||
@crypto_keys = args[:crypto_keys] if args.key?(:crypto_keys)
|
|
||||||
@total_size = args[:total_size] if args.key?(:total_size)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -22,6 +22,18 @@ module Google
|
||||||
module Apis
|
module Apis
|
||||||
module CloudkmsV1
|
module CloudkmsV1
|
||||||
|
|
||||||
|
class Location
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class ListCryptoKeysResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class Condition
|
class Condition
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -52,19 +64,13 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class ListLocationsResponse
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class Policy
|
class Policy
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class EncryptResponse
|
class ListLocationsResponse
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
@ -76,7 +82,7 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class UpdateCryptoKeyPrimaryVersionRequest
|
class EncryptResponse
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
@ -88,7 +94,7 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class DataAccessOptions
|
class UpdateCryptoKeyPrimaryVersionRequest
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
@ -100,6 +106,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class DataAccessOptions
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class AuditConfig
|
class AuditConfig
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -148,13 +160,13 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class Rule
|
class CryptoKey
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class CryptoKey
|
class Rule
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
@ -179,15 +191,23 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
class Location
|
class Location
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
property :name, as: 'name'
|
||||||
|
property :location_id, as: 'locationId'
|
||||||
|
hash :metadata, as: 'metadata'
|
||||||
|
hash :labels, as: 'labels'
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class ListCryptoKeysResponse
|
class ListCryptoKeysResponse
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :next_page_token, as: 'nextPageToken'
|
||||||
|
collection :crypto_keys, as: 'cryptoKeys', class: Google::Apis::CloudkmsV1::CryptoKey, decorator: Google::Apis::CloudkmsV1::CryptoKey::Representation
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
property :total_size, as: 'totalSize'
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class Condition
|
class Condition
|
||||||
|
@ -195,10 +215,10 @@ module Google
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :op, as: 'op'
|
property :op, as: 'op'
|
||||||
property :svc, as: 'svc'
|
property :svc, as: 'svc'
|
||||||
property :sys, as: 'sys'
|
|
||||||
property :value, as: 'value'
|
property :value, as: 'value'
|
||||||
collection :values, as: 'values'
|
property :sys, as: 'sys'
|
||||||
property :iam, as: 'iam'
|
property :iam, as: 'iam'
|
||||||
|
collection :values, as: 'values'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -232,15 +252,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class ListLocationsResponse
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
collection :locations, as: 'locations', class: Google::Apis::CloudkmsV1::Location, decorator: Google::Apis::CloudkmsV1::Location::Representation
|
|
||||||
|
|
||||||
property :next_page_token, as: 'nextPageToken'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class Policy
|
class Policy
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -256,26 +267,28 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class EncryptResponse
|
class ListLocationsResponse
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :ciphertext, :base64 => true, as: 'ciphertext'
|
collection :locations, as: 'locations', class: Google::Apis::CloudkmsV1::Location, decorator: Google::Apis::CloudkmsV1::Location::Representation
|
||||||
property :name, as: 'name'
|
|
||||||
|
property :next_page_token, as: 'nextPageToken'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class KeyRing
|
class KeyRing
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :create_time, as: 'createTime'
|
|
||||||
property :name, as: 'name'
|
property :name, as: 'name'
|
||||||
|
property :create_time, as: 'createTime'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class UpdateCryptoKeyPrimaryVersionRequest
|
class EncryptResponse
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :crypto_key_version_id, as: 'cryptoKeyVersionId'
|
property :name, as: 'name'
|
||||||
|
property :ciphertext, :base64 => true, as: 'ciphertext'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -285,9 +298,10 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class DataAccessOptions
|
class UpdateCryptoKeyPrimaryVersionRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :crypto_key_version_id, as: 'cryptoKeyVersionId'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -301,24 +315,30 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class DataAccessOptions
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class AuditConfig
|
class AuditConfig
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
collection :exempted_members, as: 'exemptedMembers'
|
|
||||||
property :service, as: 'service'
|
property :service, as: 'service'
|
||||||
collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::CloudkmsV1::AuditLogConfig, decorator: Google::Apis::CloudkmsV1::AuditLogConfig::Representation
|
collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::CloudkmsV1::AuditLogConfig, decorator: Google::Apis::CloudkmsV1::AuditLogConfig::Representation
|
||||||
|
|
||||||
|
collection :exempted_members, as: 'exemptedMembers'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class CryptoKeyVersion
|
class CryptoKeyVersion
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :destroy_time, as: 'destroyTime'
|
||||||
|
property :create_time, as: 'createTime'
|
||||||
property :state, as: 'state'
|
property :state, as: 'state'
|
||||||
property :name, as: 'name'
|
property :name, as: 'name'
|
||||||
property :destroy_event_time, as: 'destroyEventTime'
|
property :destroy_event_time, as: 'destroyEventTime'
|
||||||
property :destroy_time, as: 'destroyTime'
|
|
||||||
property :create_time, as: 'createTime'
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -339,8 +359,8 @@ module Google
|
||||||
class EncryptRequest
|
class EncryptRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :plaintext, :base64 => true, as: 'plaintext'
|
|
||||||
property :additional_authenticated_data, :base64 => true, as: 'additionalAuthenticatedData'
|
property :additional_authenticated_data, :base64 => true, as: 'additionalAuthenticatedData'
|
||||||
|
property :plaintext, :base64 => true, as: 'plaintext'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -367,21 +387,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class Rule
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
collection :not_in, as: 'notIn'
|
|
||||||
property :description, as: 'description'
|
|
||||||
collection :conditions, as: 'conditions', class: Google::Apis::CloudkmsV1::Condition, decorator: Google::Apis::CloudkmsV1::Condition::Representation
|
|
||||||
|
|
||||||
collection :log_config, as: 'logConfig', class: Google::Apis::CloudkmsV1::LogConfig, decorator: Google::Apis::CloudkmsV1::LogConfig::Representation
|
|
||||||
|
|
||||||
collection :in, as: 'in'
|
|
||||||
collection :permissions, as: 'permissions'
|
|
||||||
property :action, as: 'action'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class CryptoKey
|
class CryptoKey
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -395,15 +400,30 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class Rule
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :log_config, as: 'logConfig', class: Google::Apis::CloudkmsV1::LogConfig, decorator: Google::Apis::CloudkmsV1::LogConfig::Representation
|
||||||
|
|
||||||
|
collection :in, as: 'in'
|
||||||
|
collection :permissions, as: 'permissions'
|
||||||
|
property :action, as: 'action'
|
||||||
|
collection :not_in, as: 'notIn'
|
||||||
|
property :description, as: 'description'
|
||||||
|
collection :conditions, as: 'conditions', class: Google::Apis::CloudkmsV1::Condition, decorator: Google::Apis::CloudkmsV1::Condition::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class LogConfig
|
class LogConfig
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :cloud_audit, as: 'cloudAudit', class: Google::Apis::CloudkmsV1::CloudAuditOptions, decorator: Google::Apis::CloudkmsV1::CloudAuditOptions::Representation
|
||||||
|
|
||||||
property :counter, as: 'counter', class: Google::Apis::CloudkmsV1::CounterOptions, decorator: Google::Apis::CloudkmsV1::CounterOptions::Representation
|
property :counter, as: 'counter', class: Google::Apis::CloudkmsV1::CounterOptions, decorator: Google::Apis::CloudkmsV1::CounterOptions::Representation
|
||||||
|
|
||||||
property :data_access, as: 'dataAccess', class: Google::Apis::CloudkmsV1::DataAccessOptions, decorator: Google::Apis::CloudkmsV1::DataAccessOptions::Representation
|
property :data_access, as: 'dataAccess', class: Google::Apis::CloudkmsV1::DataAccessOptions, decorator: Google::Apis::CloudkmsV1::DataAccessOptions::Representation
|
||||||
|
|
||||||
property :cloud_audit, as: 'cloudAudit', class: Google::Apis::CloudkmsV1::CloudAuditOptions, decorator: Google::Apis::CloudkmsV1::CloudAuditOptions::Representation
|
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -423,26 +443,6 @@ module Google
|
||||||
property :additional_authenticated_data, :base64 => true, as: 'additionalAuthenticatedData'
|
property :additional_authenticated_data, :base64 => true, as: 'additionalAuthenticatedData'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class Location
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :name, as: 'name'
|
|
||||||
property :location_id, as: 'locationId'
|
|
||||||
hash :metadata, as: 'metadata'
|
|
||||||
hash :labels, as: 'labels'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class ListCryptoKeysResponse
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :next_page_token, as: 'nextPageToken'
|
|
||||||
collection :crypto_keys, as: 'cryptoKeys', class: Google::Apis::CloudkmsV1::CryptoKey, decorator: Google::Apis::CloudkmsV1::CryptoKey::Representation
|
|
||||||
|
|
||||||
property :total_size, as: 'totalSize'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -33,16 +33,16 @@ module Google
|
||||||
#
|
#
|
||||||
# @see https://cloud.google.com/kms/
|
# @see https://cloud.google.com/kms/
|
||||||
class CloudKMSService < Google::Apis::Core::BaseService
|
class CloudKMSService < Google::Apis::Core::BaseService
|
||||||
# @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
|
|
||||||
|
|
||||||
# @return [String]
|
# @return [String]
|
||||||
# API key. Your API key identifies your project and provides you with API access,
|
# 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.
|
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
||||||
attr_accessor :key
|
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
|
def initialize
|
||||||
super('https://cloudkms.googleapis.com/', '')
|
super('https://cloudkms.googleapis.com/', '')
|
||||||
end
|
end
|
||||||
|
@ -50,12 +50,12 @@ module Google
|
||||||
# Lists information about the supported locations for this service.
|
# Lists information about the supported locations for this service.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# The resource that owns the locations collection, if applicable.
|
# The resource that owns the locations collection, if applicable.
|
||||||
# @param [String] filter
|
|
||||||
# The standard list filter.
|
|
||||||
# @param [String] page_token
|
# @param [String] page_token
|
||||||
# The standard list page token.
|
# The standard list page token.
|
||||||
# @param [Fixnum] page_size
|
# @param [Fixnum] page_size
|
||||||
# The standard list page size.
|
# The standard list page size.
|
||||||
|
# @param [String] filter
|
||||||
|
# The standard list filter.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
# Available to use for quota purposes for server-side applications. Can be any
|
# 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.
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
@ -73,14 +73,14 @@ 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 list_project_locations(name, filter: nil, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
|
def list_project_locations(name, page_token: nil, page_size: nil, filter: nil, quota_user: nil, fields: nil, options: nil, &block)
|
||||||
command = make_simple_command(:get, 'v1/{+name}/locations', options)
|
command = make_simple_command(:get, 'v1/{+name}/locations', options)
|
||||||
command.response_representation = Google::Apis::CloudkmsV1::ListLocationsResponse::Representation
|
command.response_representation = Google::Apis::CloudkmsV1::ListLocationsResponse::Representation
|
||||||
command.response_class = Google::Apis::CloudkmsV1::ListLocationsResponse
|
command.response_class = Google::Apis::CloudkmsV1::ListLocationsResponse
|
||||||
command.params['name'] = name unless name.nil?
|
command.params['name'] = name unless name.nil?
|
||||||
command.query['filter'] = filter unless filter.nil?
|
|
||||||
command.query['pageToken'] = page_token unless page_token.nil?
|
command.query['pageToken'] = page_token unless page_token.nil?
|
||||||
command.query['pageSize'] = page_size unless page_size.nil?
|
command.query['pageSize'] = page_size unless page_size.nil?
|
||||||
|
command.query['filter'] = filter unless filter.nil?
|
||||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
command.query['fields'] = fields unless fields.nil?
|
command.query['fields'] = fields unless fields.nil?
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
|
@ -116,6 +116,79 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Create a new KeyRing in a given Project and Location.
|
||||||
|
# @param [String] parent
|
||||||
|
# Required. The resource name of the location associated with the
|
||||||
|
# KeyRings, in the format `projects/*/locations/*`.
|
||||||
|
# @param [Google::Apis::CloudkmsV1::KeyRing] key_ring_object
|
||||||
|
# @param [String] key_ring_id
|
||||||
|
# Required. It must be unique within a location and match the regular
|
||||||
|
# expression `[a-zA-Z0-9_-]`1,63``
|
||||||
|
# @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 [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::CloudkmsV1::KeyRing] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::CloudkmsV1::KeyRing]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def create_project_location_key_ring(parent, key_ring_object = nil, key_ring_id: nil, quota_user: nil, fields: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, 'v1/{+parent}/keyRings', options)
|
||||||
|
command.request_representation = Google::Apis::CloudkmsV1::KeyRing::Representation
|
||||||
|
command.request_object = key_ring_object
|
||||||
|
command.response_representation = Google::Apis::CloudkmsV1::KeyRing::Representation
|
||||||
|
command.response_class = Google::Apis::CloudkmsV1::KeyRing
|
||||||
|
command.params['parent'] = parent unless parent.nil?
|
||||||
|
command.query['keyRingId'] = key_ring_id unless key_ring_id.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Sets the access control policy on the specified resource. Replaces any
|
||||||
|
# existing policy.
|
||||||
|
# @param [String] resource
|
||||||
|
# REQUIRED: The resource for which the policy is being specified.
|
||||||
|
# See the operation documentation for the appropriate value for this field.
|
||||||
|
# @param [Google::Apis::CloudkmsV1::SetIamPolicyRequest] set_iam_policy_request_object
|
||||||
|
# @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 [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::CloudkmsV1::Policy] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::CloudkmsV1::Policy]
|
||||||
|
#
|
||||||
|
# @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 set_key_ring_iam_policy(resource, set_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
||||||
|
command.request_representation = Google::Apis::CloudkmsV1::SetIamPolicyRequest::Representation
|
||||||
|
command.request_object = set_iam_policy_request_object
|
||||||
|
command.response_representation = Google::Apis::CloudkmsV1::Policy::Representation
|
||||||
|
command.response_class = Google::Apis::CloudkmsV1::Policy
|
||||||
|
command.params['resource'] = resource unless resource.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
# Gets the access control policy for a resource.
|
# Gets the access control policy for a resource.
|
||||||
# Returns an empty policy if the resource exists and does not have a policy
|
# Returns an empty policy if the resource exists and does not have a policy
|
||||||
# set.
|
# set.
|
||||||
|
@ -259,120 +332,6 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Create a new KeyRing in a given Project and Location.
|
|
||||||
# @param [String] parent
|
|
||||||
# Required. The resource name of the location associated with the
|
|
||||||
# KeyRings, in the format `projects/*/locations/*`.
|
|
||||||
# @param [Google::Apis::CloudkmsV1::KeyRing] key_ring_object
|
|
||||||
# @param [String] key_ring_id
|
|
||||||
# Required. It must be unique within a location and match the regular
|
|
||||||
# expression `[a-zA-Z0-9_-]`1,63``
|
|
||||||
# @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 [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::CloudkmsV1::KeyRing] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::CloudkmsV1::KeyRing]
|
|
||||||
#
|
|
||||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
||||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
||||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
||||||
def create_project_location_key_ring(parent, key_ring_object = nil, key_ring_id: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:post, 'v1/{+parent}/keyRings', options)
|
|
||||||
command.request_representation = Google::Apis::CloudkmsV1::KeyRing::Representation
|
|
||||||
command.request_object = key_ring_object
|
|
||||||
command.response_representation = Google::Apis::CloudkmsV1::KeyRing::Representation
|
|
||||||
command.response_class = Google::Apis::CloudkmsV1::KeyRing
|
|
||||||
command.params['parent'] = parent unless parent.nil?
|
|
||||||
command.query['keyRingId'] = key_ring_id unless key_ring_id.nil?
|
|
||||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
||||||
command.query['fields'] = fields unless fields.nil?
|
|
||||||
execute_or_queue_command(command, &block)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Sets the access control policy on the specified resource. Replaces any
|
|
||||||
# existing policy.
|
|
||||||
# @param [String] resource
|
|
||||||
# REQUIRED: The resource for which the policy is being specified.
|
|
||||||
# See the operation documentation for the appropriate value for this field.
|
|
||||||
# @param [Google::Apis::CloudkmsV1::SetIamPolicyRequest] set_iam_policy_request_object
|
|
||||||
# @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 [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::CloudkmsV1::Policy] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::CloudkmsV1::Policy]
|
|
||||||
#
|
|
||||||
# @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 set_key_ring_iam_policy(resource, set_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
|
||||||
command.request_representation = Google::Apis::CloudkmsV1::SetIamPolicyRequest::Representation
|
|
||||||
command.request_object = set_iam_policy_request_object
|
|
||||||
command.response_representation = Google::Apis::CloudkmsV1::Policy::Representation
|
|
||||||
command.response_class = Google::Apis::CloudkmsV1::Policy
|
|
||||||
command.params['resource'] = resource unless resource.nil?
|
|
||||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
||||||
command.query['fields'] = fields unless fields.nil?
|
|
||||||
execute_or_queue_command(command, &block)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Lists CryptoKeys.
|
|
||||||
# @param [String] parent
|
|
||||||
# Required. The resource name of the KeyRing to list, in the format
|
|
||||||
# `projects/*/locations/*/keyRings/*`.
|
|
||||||
# @param [String] page_token
|
|
||||||
# Optional pagination token, returned earlier via
|
|
||||||
# ListCryptoKeysResponse.next_page_token.
|
|
||||||
# @param [Fixnum] page_size
|
|
||||||
# Optional limit on the number of CryptoKeys to include in the
|
|
||||||
# response. Further CryptoKeys can subsequently be obtained by
|
|
||||||
# including the ListCryptoKeysResponse.next_page_token in a subsequent
|
|
||||||
# request. If unspecified, the server will pick an appropriate default.
|
|
||||||
# @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 [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::CloudkmsV1::ListCryptoKeysResponse] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::CloudkmsV1::ListCryptoKeysResponse]
|
|
||||||
#
|
|
||||||
# @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_project_location_key_ring_crypto_keys(parent, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:get, 'v1/{+parent}/cryptoKeys', options)
|
|
||||||
command.response_representation = Google::Apis::CloudkmsV1::ListCryptoKeysResponse::Representation
|
|
||||||
command.response_class = Google::Apis::CloudkmsV1::ListCryptoKeysResponse
|
|
||||||
command.params['parent'] = parent unless parent.nil?
|
|
||||||
command.query['pageToken'] = page_token unless page_token.nil?
|
|
||||||
command.query['pageSize'] = page_size unless page_size.nil?
|
|
||||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
||||||
command.query['fields'] = fields unless fields.nil?
|
|
||||||
execute_or_queue_command(command, &block)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Encrypt data, so that it can only be recovered by a call to Decrypt.
|
# Encrypt data, so that it can only be recovered by a call to Decrypt.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Required. The resource name of the CryptoKey or CryptoKeyVersion
|
# Required. The resource name of the CryptoKey or CryptoKeyVersion
|
||||||
|
@ -549,37 +508,6 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Returns metadata for a given CryptoKey, as well as its
|
|
||||||
# primary CryptoKeyVersion.
|
|
||||||
# @param [String] name
|
|
||||||
# The name of the CryptoKey to get.
|
|
||||||
# @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 [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::CloudkmsV1::CryptoKey] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::CloudkmsV1::CryptoKey]
|
|
||||||
#
|
|
||||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
||||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
||||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
||||||
def get_project_location_key_ring_crypto_key(name, quota_user: nil, fields: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
||||||
command.response_representation = Google::Apis::CloudkmsV1::CryptoKey::Representation
|
|
||||||
command.response_class = Google::Apis::CloudkmsV1::CryptoKey
|
|
||||||
command.params['name'] = name unless name.nil?
|
|
||||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
||||||
command.query['fields'] = fields unless fields.nil?
|
|
||||||
execute_or_queue_command(command, &block)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Update a CryptoKey.
|
# Update a CryptoKey.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Output only. The resource name for this CryptoKey in the format
|
# Output only. The resource name for this CryptoKey in the format
|
||||||
|
@ -617,6 +545,37 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Returns metadata for a given CryptoKey, as well as its
|
||||||
|
# primary CryptoKeyVersion.
|
||||||
|
# @param [String] name
|
||||||
|
# The name of the CryptoKey to get.
|
||||||
|
# @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 [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::CloudkmsV1::CryptoKey] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::CloudkmsV1::CryptoKey]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def get_project_location_key_ring_crypto_key(name, quota_user: nil, fields: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
||||||
|
command.response_representation = Google::Apis::CloudkmsV1::CryptoKey::Representation
|
||||||
|
command.response_class = Google::Apis::CloudkmsV1::CryptoKey
|
||||||
|
command.params['name'] = name unless name.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
# Returns permissions that a caller has on the specified resource.
|
# Returns permissions that a caller has on the specified resource.
|
||||||
# If the resource does not exist, this will return an empty set of
|
# If the resource does not exist, this will return an empty set of
|
||||||
# permissions, not a NOT_FOUND error.
|
# permissions, not a NOT_FOUND error.
|
||||||
|
@ -690,15 +649,18 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Restore a CryptoKeyVersion in the
|
# Lists CryptoKeys.
|
||||||
# DESTROY_SCHEDULED,
|
# @param [String] parent
|
||||||
# state.
|
# Required. The resource name of the KeyRing to list, in the format
|
||||||
# Upon restoration of the CryptoKeyVersion, state
|
# `projects/*/locations/*/keyRings/*`.
|
||||||
# will be set to DISABLED,
|
# @param [String] page_token
|
||||||
# and destroy_time will be cleared.
|
# Optional pagination token, returned earlier via
|
||||||
# @param [String] name
|
# ListCryptoKeysResponse.next_page_token.
|
||||||
# The resource name of the CryptoKeyVersion to restore.
|
# @param [Fixnum] page_size
|
||||||
# @param [Google::Apis::CloudkmsV1::RestoreCryptoKeyVersionRequest] restore_crypto_key_version_request_object
|
# Optional limit on the number of CryptoKeys to include in the
|
||||||
|
# response. Further CryptoKeys can subsequently be obtained by
|
||||||
|
# including the ListCryptoKeysResponse.next_page_token in a subsequent
|
||||||
|
# request. If unspecified, the server will pick an appropriate default.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
# Available to use for quota purposes for server-side applications. Can be any
|
# 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.
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
@ -708,93 +670,21 @@ module Google
|
||||||
# Request-specific options
|
# Request-specific options
|
||||||
#
|
#
|
||||||
# @yield [result, err] Result & error if block supplied
|
# @yield [result, err] Result & error if block supplied
|
||||||
# @yieldparam result [Google::Apis::CloudkmsV1::CryptoKeyVersion] parsed result object
|
# @yieldparam result [Google::Apis::CloudkmsV1::ListCryptoKeysResponse] parsed result object
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
#
|
#
|
||||||
# @return [Google::Apis::CloudkmsV1::CryptoKeyVersion]
|
# @return [Google::Apis::CloudkmsV1::ListCryptoKeysResponse]
|
||||||
#
|
#
|
||||||
# @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 restore_crypto_key_version(name, restore_crypto_key_version_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
def list_project_location_key_ring_crypto_keys(parent, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
|
||||||
command = make_simple_command(:post, 'v1/{+name}:restore', options)
|
command = make_simple_command(:get, 'v1/{+parent}/cryptoKeys', options)
|
||||||
command.request_representation = Google::Apis::CloudkmsV1::RestoreCryptoKeyVersionRequest::Representation
|
command.response_representation = Google::Apis::CloudkmsV1::ListCryptoKeysResponse::Representation
|
||||||
command.request_object = restore_crypto_key_version_request_object
|
command.response_class = Google::Apis::CloudkmsV1::ListCryptoKeysResponse
|
||||||
command.response_representation = Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation
|
command.params['parent'] = parent unless parent.nil?
|
||||||
command.response_class = Google::Apis::CloudkmsV1::CryptoKeyVersion
|
command.query['pageToken'] = page_token unless page_token.nil?
|
||||||
command.params['name'] = name unless name.nil?
|
command.query['pageSize'] = page_size unless page_size.nil?
|
||||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
||||||
command.query['fields'] = fields unless fields.nil?
|
|
||||||
execute_or_queue_command(command, &block)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Returns metadata for a given CryptoKeyVersion.
|
|
||||||
# @param [String] name
|
|
||||||
# The name of the CryptoKeyVersion to get.
|
|
||||||
# @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 [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::CloudkmsV1::CryptoKeyVersion] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::CloudkmsV1::CryptoKeyVersion]
|
|
||||||
#
|
|
||||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
||||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
||||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
||||||
def get_project_location_key_ring_crypto_key_crypto_key_version(name, quota_user: nil, fields: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
||||||
command.response_representation = Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation
|
|
||||||
command.response_class = Google::Apis::CloudkmsV1::CryptoKeyVersion
|
|
||||||
command.params['name'] = name unless name.nil?
|
|
||||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
||||||
command.query['fields'] = fields unless fields.nil?
|
|
||||||
execute_or_queue_command(command, &block)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Update a CryptoKeyVersion's metadata.
|
|
||||||
# state may be changed between
|
|
||||||
# ENABLED and
|
|
||||||
# DISABLED using this
|
|
||||||
# method. See DestroyCryptoKeyVersion and RestoreCryptoKeyVersion to
|
|
||||||
# move between other states.
|
|
||||||
# @param [String] name
|
|
||||||
# Output only. The resource name for this CryptoKeyVersion in the format
|
|
||||||
# `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.
|
|
||||||
# @param [Google::Apis::CloudkmsV1::CryptoKeyVersion] crypto_key_version_object
|
|
||||||
# @param [String] update_mask
|
|
||||||
# Required list of fields to be updated in this request.
|
|
||||||
# @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 [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::CloudkmsV1::CryptoKeyVersion] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::CloudkmsV1::CryptoKeyVersion]
|
|
||||||
#
|
|
||||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
||||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
||||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
||||||
def patch_project_location_key_ring_crypto_key_crypto_key_version(name, crypto_key_version_object = nil, update_mask: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:patch, 'v1/{+name}', options)
|
|
||||||
command.request_representation = Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation
|
|
||||||
command.request_object = crypto_key_version_object
|
|
||||||
command.response_representation = Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation
|
|
||||||
command.response_class = Google::Apis::CloudkmsV1::CryptoKeyVersion
|
|
||||||
command.params['name'] = name unless name.nil?
|
|
||||||
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
||||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
command.query['fields'] = fields unless fields.nil?
|
command.query['fields'] = fields unless fields.nil?
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
|
@ -921,11 +811,121 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Restore a CryptoKeyVersion in the
|
||||||
|
# DESTROY_SCHEDULED,
|
||||||
|
# state.
|
||||||
|
# Upon restoration of the CryptoKeyVersion, state
|
||||||
|
# will be set to DISABLED,
|
||||||
|
# and destroy_time will be cleared.
|
||||||
|
# @param [String] name
|
||||||
|
# The resource name of the CryptoKeyVersion to restore.
|
||||||
|
# @param [Google::Apis::CloudkmsV1::RestoreCryptoKeyVersionRequest] restore_crypto_key_version_request_object
|
||||||
|
# @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 [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::CloudkmsV1::CryptoKeyVersion] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::CloudkmsV1::CryptoKeyVersion]
|
||||||
|
#
|
||||||
|
# @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 restore_crypto_key_version(name, restore_crypto_key_version_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, 'v1/{+name}:restore', options)
|
||||||
|
command.request_representation = Google::Apis::CloudkmsV1::RestoreCryptoKeyVersionRequest::Representation
|
||||||
|
command.request_object = restore_crypto_key_version_request_object
|
||||||
|
command.response_representation = Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation
|
||||||
|
command.response_class = Google::Apis::CloudkmsV1::CryptoKeyVersion
|
||||||
|
command.params['name'] = name unless name.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update a CryptoKeyVersion's metadata.
|
||||||
|
# state may be changed between
|
||||||
|
# ENABLED and
|
||||||
|
# DISABLED using this
|
||||||
|
# method. See DestroyCryptoKeyVersion and RestoreCryptoKeyVersion to
|
||||||
|
# move between other states.
|
||||||
|
# @param [String] name
|
||||||
|
# Output only. The resource name for this CryptoKeyVersion in the format
|
||||||
|
# `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.
|
||||||
|
# @param [Google::Apis::CloudkmsV1::CryptoKeyVersion] crypto_key_version_object
|
||||||
|
# @param [String] update_mask
|
||||||
|
# Required list of fields to be updated in this request.
|
||||||
|
# @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 [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::CloudkmsV1::CryptoKeyVersion] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::CloudkmsV1::CryptoKeyVersion]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def patch_project_location_key_ring_crypto_key_crypto_key_version(name, crypto_key_version_object = nil, update_mask: nil, quota_user: nil, fields: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:patch, 'v1/{+name}', options)
|
||||||
|
command.request_representation = Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation
|
||||||
|
command.request_object = crypto_key_version_object
|
||||||
|
command.response_representation = Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation
|
||||||
|
command.response_class = Google::Apis::CloudkmsV1::CryptoKeyVersion
|
||||||
|
command.params['name'] = name unless name.nil?
|
||||||
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Returns metadata for a given CryptoKeyVersion.
|
||||||
|
# @param [String] name
|
||||||
|
# The name of the CryptoKeyVersion to get.
|
||||||
|
# @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 [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::CloudkmsV1::CryptoKeyVersion] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::CloudkmsV1::CryptoKeyVersion]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def get_project_location_key_ring_crypto_key_crypto_key_version(name, quota_user: nil, fields: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
||||||
|
command.response_representation = Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation
|
||||||
|
command.response_class = Google::Apis::CloudkmsV1::CryptoKeyVersion
|
||||||
|
command.params['name'] = name unless name.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
protected
|
protected
|
||||||
|
|
||||||
def apply_command_defaults(command)
|
def apply_command_defaults(command)
|
||||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
||||||
command.query['key'] = key unless key.nil?
|
command.query['key'] = key unless key.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/monitoring/v2beta2/
|
# @see https://cloud.google.com/monitoring/v2beta2/
|
||||||
module CloudmonitoringV2beta2
|
module CloudmonitoringV2beta2
|
||||||
VERSION = 'V2beta2'
|
VERSION = 'V2beta2'
|
||||||
REVISION = '20170219'
|
REVISION = '20170323'
|
||||||
|
|
||||||
# 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/resource-manager
|
# @see https://cloud.google.com/resource-manager
|
||||||
module CloudresourcemanagerV1
|
module CloudresourcemanagerV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20170301'
|
REVISION = '20170324'
|
||||||
|
|
||||||
# View your data across Google Cloud Platform services
|
# View your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
|
AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -22,6 +22,30 @@ module Google
|
||||||
module Apis
|
module Apis
|
||||||
module CloudresourcemanagerV1
|
module CloudresourcemanagerV1
|
||||||
|
|
||||||
|
class Ancestor
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class ListConstraint
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class SetOrgPolicyRequest
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class SetIamPolicyRequest
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class Empty
|
class Empty
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -34,6 +58,18 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ListAvailableOrgPolicyConstraintsResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class ListPolicy
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class GetAncestryResponse
|
class GetAncestryResponse
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -76,12 +112,30 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ListAvailableOrgPolicyConstraintsRequest
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class ResourceId
|
class ResourceId
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GetEffectiveOrgPolicyRequest
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class ListOrgPoliciesRequest
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class AuditConfig
|
class AuditConfig
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -106,12 +160,36 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class Constraint
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class Binding
|
class Binding
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class RestoreDefault
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class GetOrgPolicyRequest
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class ClearOrgPolicyRequest
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class UndeleteProjectRequest
|
class UndeleteProjectRequest
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -124,6 +202,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class BooleanConstraint
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class TestIamPermissionsResponse
|
class TestIamPermissionsResponse
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -160,12 +244,30 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ListOrgPoliciesResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class FolderOperationError
|
class FolderOperationError
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class OrgPolicy
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class BooleanPolicy
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class Lien
|
class Lien
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -173,15 +275,35 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
class Ancestor
|
class Ancestor
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :resource_id, as: 'resourceId', class: Google::Apis::CloudresourcemanagerV1::ResourceId, decorator: Google::Apis::CloudresourcemanagerV1::ResourceId::Representation
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class ListConstraint
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :suggested_value, as: 'suggestedValue'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class SetOrgPolicyRequest
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :policy, as: 'policy', class: Google::Apis::CloudresourcemanagerV1::OrgPolicy, decorator: Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation
|
||||||
|
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class SetIamPolicyRequest
|
class SetIamPolicyRequest
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :policy, as: 'policy', class: Google::Apis::CloudresourcemanagerV1::Policy, decorator: Google::Apis::CloudresourcemanagerV1::Policy::Representation
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
property :update_mask, as: 'updateMask'
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class Empty
|
class Empty
|
||||||
|
@ -193,12 +315,32 @@ module Google
|
||||||
class Organization
|
class Organization
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :creation_time, as: 'creationTime'
|
||||||
property :owner, as: 'owner', class: Google::Apis::CloudresourcemanagerV1::OrganizationOwner, decorator: Google::Apis::CloudresourcemanagerV1::OrganizationOwner::Representation
|
property :owner, as: 'owner', class: Google::Apis::CloudresourcemanagerV1::OrganizationOwner, decorator: Google::Apis::CloudresourcemanagerV1::OrganizationOwner::Representation
|
||||||
|
|
||||||
property :lifecycle_state, as: 'lifecycleState'
|
property :lifecycle_state, as: 'lifecycleState'
|
||||||
property :name, as: 'name'
|
property :name, as: 'name'
|
||||||
property :display_name, as: 'displayName'
|
property :display_name, as: 'displayName'
|
||||||
property :creation_time, as: 'creationTime'
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class ListAvailableOrgPolicyConstraintsResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :next_page_token, as: 'nextPageToken'
|
||||||
|
collection :constraints, as: 'constraints', class: Google::Apis::CloudresourcemanagerV1::Constraint, decorator: Google::Apis::CloudresourcemanagerV1::Constraint::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class ListPolicy
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :allowed_values, as: 'allowedValues'
|
||||||
|
property :suggested_value, as: 'suggestedValue'
|
||||||
|
property :inherit_from_parent, as: 'inheritFromParent'
|
||||||
|
collection :denied_values, as: 'deniedValues'
|
||||||
|
property :all_values, as: 'allValues'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -221,9 +363,9 @@ module Google
|
||||||
class SearchOrganizationsRequest
|
class SearchOrganizationsRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :filter, as: 'filter'
|
|
||||||
property :page_token, as: 'pageToken'
|
property :page_token, as: 'pageToken'
|
||||||
property :page_size, as: 'pageSize'
|
property :page_size, as: 'pageSize'
|
||||||
|
property :filter, as: 'filter'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -262,11 +404,34 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ListAvailableOrgPolicyConstraintsRequest
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :page_token, as: 'pageToken'
|
||||||
|
property :page_size, as: 'pageSize'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class ResourceId
|
class ResourceId
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :id, as: 'id'
|
|
||||||
property :type, as: 'type'
|
property :type, as: 'type'
|
||||||
|
property :id, as: 'id'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class GetEffectiveOrgPolicyRequest
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :constraint, as: 'constraint'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class ListOrgPoliciesRequest
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :page_token, as: 'pageToken'
|
||||||
|
property :page_size, as: 'pageSize'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -294,9 +459,9 @@ module Google
|
||||||
class Status
|
class Status
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :message, as: 'message'
|
|
||||||
collection :details, as: 'details'
|
collection :details, as: 'details'
|
||||||
property :code, as: 'code'
|
property :code, as: 'code'
|
||||||
|
property :message, as: 'message'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -309,6 +474,21 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class Constraint
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :version, as: 'version'
|
||||||
|
property :list_constraint, as: 'listConstraint', class: Google::Apis::CloudresourcemanagerV1::ListConstraint, decorator: Google::Apis::CloudresourcemanagerV1::ListConstraint::Representation
|
||||||
|
|
||||||
|
property :display_name, as: 'displayName'
|
||||||
|
property :description, as: 'description'
|
||||||
|
property :boolean_constraint, as: 'booleanConstraint', class: Google::Apis::CloudresourcemanagerV1::BooleanConstraint, decorator: Google::Apis::CloudresourcemanagerV1::BooleanConstraint::Representation
|
||||||
|
|
||||||
|
property :constraint_default, as: 'constraintDefault'
|
||||||
|
property :name, as: 'name'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class Binding
|
class Binding
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -317,6 +497,27 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class RestoreDefault
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class GetOrgPolicyRequest
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :constraint, as: 'constraint'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class ClearOrgPolicyRequest
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :etag, :base64 => true, as: 'etag'
|
||||||
|
property :constraint, as: 'constraint'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class UndeleteProjectRequest
|
class UndeleteProjectRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -332,6 +533,12 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class BooleanConstraint
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class TestIamPermissionsResponse
|
class TestIamPermissionsResponse
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -355,9 +562,9 @@ module Google
|
||||||
class ListProjectsResponse
|
class ListProjectsResponse
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :next_page_token, as: 'nextPageToken'
|
||||||
collection :projects, as: 'projects', class: Google::Apis::CloudresourcemanagerV1::Project, decorator: Google::Apis::CloudresourcemanagerV1::Project::Representation
|
collection :projects, as: 'projects', class: Google::Apis::CloudresourcemanagerV1::Project, decorator: Google::Apis::CloudresourcemanagerV1::Project::Representation
|
||||||
|
|
||||||
property :next_page_token, as: 'nextPageToken'
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -368,8 +575,8 @@ module Google
|
||||||
property :project_number, as: 'projectNumber'
|
property :project_number, as: 'projectNumber'
|
||||||
property :parent, as: 'parent', class: Google::Apis::CloudresourcemanagerV1::ResourceId, decorator: Google::Apis::CloudresourcemanagerV1::ResourceId::Representation
|
property :parent, as: 'parent', class: Google::Apis::CloudresourcemanagerV1::ResourceId, decorator: Google::Apis::CloudresourcemanagerV1::ResourceId::Representation
|
||||||
|
|
||||||
property :create_time, as: 'createTime'
|
|
||||||
hash :labels, as: 'labels'
|
hash :labels, as: 'labels'
|
||||||
|
property :create_time, as: 'createTime'
|
||||||
property :name, as: 'name'
|
property :name, as: 'name'
|
||||||
property :project_id, as: 'projectId'
|
property :project_id, as: 'projectId'
|
||||||
end
|
end
|
||||||
|
@ -384,6 +591,15 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ListOrgPoliciesResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :next_page_token, as: 'nextPageToken'
|
||||||
|
collection :policies, as: 'policies', class: Google::Apis::CloudresourcemanagerV1::OrgPolicy, decorator: Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class FolderOperationError
|
class FolderOperationError
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -391,6 +607,29 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class OrgPolicy
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :etag, :base64 => true, as: 'etag'
|
||||||
|
property :boolean_policy, as: 'booleanPolicy', class: Google::Apis::CloudresourcemanagerV1::BooleanPolicy, decorator: Google::Apis::CloudresourcemanagerV1::BooleanPolicy::Representation
|
||||||
|
|
||||||
|
property :constraint, as: 'constraint'
|
||||||
|
property :update_time, as: 'updateTime'
|
||||||
|
property :version, as: 'version'
|
||||||
|
property :restore_default, as: 'restoreDefault', class: Google::Apis::CloudresourcemanagerV1::RestoreDefault, decorator: Google::Apis::CloudresourcemanagerV1::RestoreDefault::Representation
|
||||||
|
|
||||||
|
property :list_policy, as: 'listPolicy', class: Google::Apis::CloudresourcemanagerV1::ListPolicy, decorator: Google::Apis::CloudresourcemanagerV1::ListPolicy::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class BooleanPolicy
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :enforced, as: 'enforced'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class Lien
|
class Lien
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -402,23 +641,6 @@ module Google
|
||||||
collection :restrictions, as: 'restrictions'
|
collection :restrictions, as: 'restrictions'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class Ancestor
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :resource_id, as: 'resourceId', class: Google::Apis::CloudresourcemanagerV1::ResourceId, decorator: Google::Apis::CloudresourcemanagerV1::ResourceId::Representation
|
|
||||||
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class SetIamPolicyRequest
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :update_mask, as: 'updateMask'
|
|
||||||
property :policy, as: 'policy', class: Google::Apis::CloudresourcemanagerV1::Policy, decorator: Google::Apis::CloudresourcemanagerV1::Policy::Representation
|
|
||||||
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -26,13 +26,13 @@ module Google
|
||||||
# @see https://cloud.google.com/resource-manager
|
# @see https://cloud.google.com/resource-manager
|
||||||
module CloudresourcemanagerV1beta1
|
module CloudresourcemanagerV1beta1
|
||||||
VERSION = 'V1beta1'
|
VERSION = 'V1beta1'
|
||||||
REVISION = '20170301'
|
REVISION = '20170324'
|
||||||
|
|
||||||
# View your data across Google Cloud Platform services
|
|
||||||
AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
|
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
||||||
|
# View your data across Google Cloud Platform services
|
||||||
|
AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -22,6 +22,30 @@ module Google
|
||||||
module Apis
|
module Apis
|
||||||
module CloudresourcemanagerV1beta1
|
module CloudresourcemanagerV1beta1
|
||||||
|
|
||||||
|
class UndeleteProjectRequest
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class ClearOrgPolicyRequest
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class ProjectCreationStatus
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class BooleanConstraint
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class TestIamPermissionsResponse
|
class TestIamPermissionsResponse
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -40,49 +64,19 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class GetAncestryResponse
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class ListProjectsResponse
|
class ListProjectsResponse
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class AuditLogConfig
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class GetAncestryRequest
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class Project
|
class Project
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class TestIamPermissionsRequest
|
class ListOrgPoliciesResponse
|
||||||
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 FolderOperation
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
@ -94,13 +88,13 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class ResourceId
|
class OrgPolicy
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class AuditConfig
|
class BooleanPolicy
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
@ -112,24 +106,24 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ListConstraint
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class SetOrgPolicyRequest
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class SetIamPolicyRequest
|
class SetIamPolicyRequest
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class ListOrganizationsResponse
|
|
||||||
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 Empty
|
class Empty
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -142,18 +136,143 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class UndeleteProjectRequest
|
class ListAvailableOrgPolicyConstraintsResponse
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class ProjectCreationStatus
|
class ListPolicy
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GetAncestryResponse
|
||||||
|
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 GetAncestryRequest
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class TestIamPermissionsRequest
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class ListAvailableOrgPolicyConstraintsRequest
|
||||||
|
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 FolderOperation
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class ResourceId
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class GetEffectiveOrgPolicyRequest
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class ListOrgPoliciesRequest
|
||||||
|
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 ListOrganizationsResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class Constraint
|
||||||
|
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 RestoreDefault
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class GetOrgPolicyRequest
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class UndeleteProjectRequest
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class ClearOrgPolicyRequest
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :etag, :base64 => true, as: 'etag'
|
||||||
|
property :constraint, as: 'constraint'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class ProjectCreationStatus
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :ready, as: 'ready'
|
||||||
|
property :create_time, as: 'createTime'
|
||||||
|
property :gettable, as: 'gettable'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class BooleanConstraint
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class TestIamPermissionsResponse
|
class TestIamPermissionsResponse
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -174,6 +293,139 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ListProjectsResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :next_page_token, as: 'nextPageToken'
|
||||||
|
collection :projects, as: 'projects', class: Google::Apis::CloudresourcemanagerV1beta1::Project, decorator: Google::Apis::CloudresourcemanagerV1beta1::Project::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class Project
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :project_number, as: 'projectNumber'
|
||||||
|
property :parent, as: 'parent', class: Google::Apis::CloudresourcemanagerV1beta1::ResourceId, decorator: Google::Apis::CloudresourcemanagerV1beta1::ResourceId::Representation
|
||||||
|
|
||||||
|
property :create_time, as: 'createTime'
|
||||||
|
hash :labels, as: 'labels'
|
||||||
|
property :name, as: 'name'
|
||||||
|
property :project_id, as: 'projectId'
|
||||||
|
property :lifecycle_state, as: 'lifecycleState'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class ListOrgPoliciesResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :policies, as: 'policies', class: Google::Apis::CloudresourcemanagerV1beta1::OrgPolicy, decorator: Google::Apis::CloudresourcemanagerV1beta1::OrgPolicy::Representation
|
||||||
|
|
||||||
|
property :next_page_token, as: 'nextPageToken'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class FolderOperationError
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :error_message_id, as: 'errorMessageId'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class OrgPolicy
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :version, as: 'version'
|
||||||
|
property :restore_default, as: 'restoreDefault', class: Google::Apis::CloudresourcemanagerV1beta1::RestoreDefault, decorator: Google::Apis::CloudresourcemanagerV1beta1::RestoreDefault::Representation
|
||||||
|
|
||||||
|
property :list_policy, as: 'listPolicy', class: Google::Apis::CloudresourcemanagerV1beta1::ListPolicy, decorator: Google::Apis::CloudresourcemanagerV1beta1::ListPolicy::Representation
|
||||||
|
|
||||||
|
property :etag, :base64 => true, as: 'etag'
|
||||||
|
property :constraint, as: 'constraint'
|
||||||
|
property :boolean_policy, as: 'booleanPolicy', class: Google::Apis::CloudresourcemanagerV1beta1::BooleanPolicy, decorator: Google::Apis::CloudresourcemanagerV1beta1::BooleanPolicy::Representation
|
||||||
|
|
||||||
|
property :update_time, as: 'updateTime'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class BooleanPolicy
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :enforced, as: 'enforced'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class Ancestor
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :resource_id, as: 'resourceId', class: Google::Apis::CloudresourcemanagerV1beta1::ResourceId, decorator: Google::Apis::CloudresourcemanagerV1beta1::ResourceId::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class ListConstraint
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :suggested_value, as: 'suggestedValue'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class SetOrgPolicyRequest
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :policy, as: 'policy', class: Google::Apis::CloudresourcemanagerV1beta1::OrgPolicy, decorator: Google::Apis::CloudresourcemanagerV1beta1::OrgPolicy::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class SetIamPolicyRequest
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :policy, as: 'policy', class: Google::Apis::CloudresourcemanagerV1beta1::Policy, decorator: Google::Apis::CloudresourcemanagerV1beta1::Policy::Representation
|
||||||
|
|
||||||
|
property :update_mask, as: 'updateMask'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class Empty
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class Organization
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :lifecycle_state, as: 'lifecycleState'
|
||||||
|
property :display_name, as: 'displayName'
|
||||||
|
property :creation_time, as: 'creationTime'
|
||||||
|
property :owner, as: 'owner', class: Google::Apis::CloudresourcemanagerV1beta1::OrganizationOwner, decorator: Google::Apis::CloudresourcemanagerV1beta1::OrganizationOwner::Representation
|
||||||
|
|
||||||
|
property :name, as: 'name'
|
||||||
|
property :organization_id, as: 'organizationId'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class ListAvailableOrgPolicyConstraintsResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :next_page_token, as: 'nextPageToken'
|
||||||
|
collection :constraints, as: 'constraints', class: Google::Apis::CloudresourcemanagerV1beta1::Constraint, decorator: Google::Apis::CloudresourcemanagerV1beta1::Constraint::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class ListPolicy
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :all_values, as: 'allValues'
|
||||||
|
collection :allowed_values, as: 'allowedValues'
|
||||||
|
property :suggested_value, as: 'suggestedValue'
|
||||||
|
property :inherit_from_parent, as: 'inheritFromParent'
|
||||||
|
collection :denied_values, as: 'deniedValues'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class GetAncestryResponse
|
class GetAncestryResponse
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -182,15 +434,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class ListProjectsResponse
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
collection :projects, as: 'projects', class: Google::Apis::CloudresourcemanagerV1beta1::Project, decorator: Google::Apis::CloudresourcemanagerV1beta1::Project::Representation
|
|
||||||
|
|
||||||
property :next_page_token, as: 'nextPageToken'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class AuditLogConfig
|
class AuditLogConfig
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -205,20 +448,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class Project
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :project_id, as: 'projectId'
|
|
||||||
property :lifecycle_state, as: 'lifecycleState'
|
|
||||||
property :project_number, as: 'projectNumber'
|
|
||||||
property :parent, as: 'parent', class: Google::Apis::CloudresourcemanagerV1beta1::ResourceId, decorator: Google::Apis::CloudresourcemanagerV1beta1::ResourceId::Representation
|
|
||||||
|
|
||||||
property :create_time, as: 'createTime'
|
|
||||||
hash :labels, as: 'labels'
|
|
||||||
property :name, as: 'name'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class TestIamPermissionsRequest
|
class TestIamPermissionsRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -226,32 +455,33 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ListAvailableOrgPolicyConstraintsRequest
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :page_token, as: 'pageToken'
|
||||||
|
property :page_size, as: 'pageSize'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class Policy
|
class Policy
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :etag, :base64 => true, as: 'etag'
|
||||||
|
property :version, as: 'version'
|
||||||
collection :audit_configs, as: 'auditConfigs', class: Google::Apis::CloudresourcemanagerV1beta1::AuditConfig, decorator: Google::Apis::CloudresourcemanagerV1beta1::AuditConfig::Representation
|
collection :audit_configs, as: 'auditConfigs', class: Google::Apis::CloudresourcemanagerV1beta1::AuditConfig, decorator: Google::Apis::CloudresourcemanagerV1beta1::AuditConfig::Representation
|
||||||
|
|
||||||
collection :bindings, as: 'bindings', class: Google::Apis::CloudresourcemanagerV1beta1::Binding, decorator: Google::Apis::CloudresourcemanagerV1beta1::Binding::Representation
|
collection :bindings, as: 'bindings', class: Google::Apis::CloudresourcemanagerV1beta1::Binding, decorator: Google::Apis::CloudresourcemanagerV1beta1::Binding::Representation
|
||||||
|
|
||||||
property :etag, :base64 => true, as: 'etag'
|
|
||||||
property :version, as: 'version'
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class FolderOperation
|
class FolderOperation
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :operation_type, as: 'operationType'
|
||||||
property :display_name, as: 'displayName'
|
property :display_name, as: 'displayName'
|
||||||
property :source_parent, as: 'sourceParent'
|
property :source_parent, as: 'sourceParent'
|
||||||
property :destination_parent, as: 'destinationParent'
|
property :destination_parent, as: 'destinationParent'
|
||||||
property :operation_type, as: 'operationType'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class FolderOperationError
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :error_message_id, as: 'errorMessageId'
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -263,6 +493,21 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GetEffectiveOrgPolicyRequest
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :constraint, as: 'constraint'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class ListOrgPoliciesRequest
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :page_token, as: 'pageToken'
|
||||||
|
property :page_size, as: 'pageSize'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class AuditConfig
|
class AuditConfig
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -272,23 +517,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class Ancestor
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :resource_id, as: 'resourceId', class: Google::Apis::CloudresourcemanagerV1beta1::ResourceId, decorator: Google::Apis::CloudresourcemanagerV1beta1::ResourceId::Representation
|
|
||||||
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class SetIamPolicyRequest
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :policy, as: 'policy', class: Google::Apis::CloudresourcemanagerV1beta1::Policy, decorator: Google::Apis::CloudresourcemanagerV1beta1::Policy::Representation
|
|
||||||
|
|
||||||
property :update_mask, as: 'updateMask'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class ListOrganizationsResponse
|
class ListOrganizationsResponse
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -298,6 +526,21 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class Constraint
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :description, as: 'description'
|
||||||
|
property :display_name, as: 'displayName'
|
||||||
|
property :boolean_constraint, as: 'booleanConstraint', class: Google::Apis::CloudresourcemanagerV1beta1::BooleanConstraint, decorator: Google::Apis::CloudresourcemanagerV1beta1::BooleanConstraint::Representation
|
||||||
|
|
||||||
|
property :constraint_default, as: 'constraintDefault'
|
||||||
|
property :name, as: 'name'
|
||||||
|
property :list_constraint, as: 'listConstraint', class: Google::Apis::CloudresourcemanagerV1beta1::ListConstraint, decorator: Google::Apis::CloudresourcemanagerV1beta1::ListConstraint::Representation
|
||||||
|
|
||||||
|
property :version, as: 'version'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class Binding
|
class Binding
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -306,37 +549,16 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class Empty
|
class RestoreDefault
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class Organization
|
class GetOrgPolicyRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :owner, as: 'owner', class: Google::Apis::CloudresourcemanagerV1beta1::OrganizationOwner, decorator: Google::Apis::CloudresourcemanagerV1beta1::OrganizationOwner::Representation
|
property :constraint, as: 'constraint'
|
||||||
|
|
||||||
property :name, as: 'name'
|
|
||||||
property :organization_id, as: 'organizationId'
|
|
||||||
property :lifecycle_state, as: 'lifecycleState'
|
|
||||||
property :display_name, as: 'displayName'
|
|
||||||
property :creation_time, as: 'creationTime'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class UndeleteProjectRequest
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class ProjectCreationStatus
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :create_time, as: 'createTime'
|
|
||||||
property :gettable, as: 'gettable'
|
|
||||||
property :ready, as: 'ready'
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -28,7 +28,7 @@ module Google
|
||||||
# @see https://cloud.google.com/trace
|
# @see https://cloud.google.com/trace
|
||||||
module CloudtraceV1
|
module CloudtraceV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20170225'
|
REVISION = '20170320'
|
||||||
|
|
||||||
# Read Trace data for a project or application
|
# Read Trace data for a project or application
|
||||||
AUTH_TRACE_READONLY = 'https://www.googleapis.com/auth/trace.readonly'
|
AUTH_TRACE_READONLY = 'https://www.googleapis.com/auth/trace.readonly'
|
||||||
|
|
|
@ -30,23 +30,6 @@ module Google
|
||||||
class TraceSpan
|
class TraceSpan
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Collection of labels associated with the span. Label keys must be less than
|
|
||||||
# 128 bytes. Label values must be less than 16 kilobytes.
|
|
||||||
# Corresponds to the JSON property `labels`
|
|
||||||
# @return [Hash<String,String>]
|
|
||||||
attr_accessor :labels
|
|
||||||
|
|
||||||
# Name of the span. Must be less than 128 bytes. The span name is sanitized
|
|
||||||
# and displayed in the Stackdriver Trace tool in the
|
|
||||||
# `% dynamic print site_values.console_name %`.
|
|
||||||
# The name may be a method name or some other per-call site name.
|
|
||||||
# For the same executable and the same call point, a best practice is
|
|
||||||
# to use a consistent name, which makes it easier to correlate
|
|
||||||
# cross-trace spans.
|
|
||||||
# Corresponds to the JSON property `name`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :name
|
|
||||||
|
|
||||||
# Identifier for the span. Must be a 64-bit integer other than 0 and
|
# Identifier for the span. Must be a 64-bit integer other than 0 and
|
||||||
# unique within a trace.
|
# unique within a trace.
|
||||||
# Corresponds to the JSON property `spanId`
|
# Corresponds to the JSON property `spanId`
|
||||||
|
@ -75,19 +58,36 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :kind
|
attr_accessor :kind
|
||||||
|
|
||||||
|
# Collection of labels associated with the span. Label keys must be less than
|
||||||
|
# 128 bytes. Label values must be less than 16 kilobytes.
|
||||||
|
# Corresponds to the JSON property `labels`
|
||||||
|
# @return [Hash<String,String>]
|
||||||
|
attr_accessor :labels
|
||||||
|
|
||||||
|
# Name of the span. Must be less than 128 bytes. The span name is sanitized
|
||||||
|
# and displayed in the Stackdriver Trace tool in the
|
||||||
|
# `% dynamic print site_values.console_name %`.
|
||||||
|
# The name may be a method name or some other per-call site name.
|
||||||
|
# For the same executable and the same call point, a best practice is
|
||||||
|
# to use a consistent name, which makes it easier to correlate
|
||||||
|
# cross-trace spans.
|
||||||
|
# Corresponds to the JSON property `name`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :name
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@labels = args[:labels] if args.key?(:labels)
|
|
||||||
@name = args[:name] if args.key?(:name)
|
|
||||||
@span_id = args[:span_id] if args.key?(:span_id)
|
@span_id = args[:span_id] if args.key?(:span_id)
|
||||||
@parent_span_id = args[:parent_span_id] if args.key?(:parent_span_id)
|
@parent_span_id = args[:parent_span_id] if args.key?(:parent_span_id)
|
||||||
@end_time = args[:end_time] if args.key?(:end_time)
|
@end_time = args[:end_time] if args.key?(:end_time)
|
||||||
@start_time = args[:start_time] if args.key?(:start_time)
|
@start_time = args[:start_time] if args.key?(:start_time)
|
||||||
@kind = args[:kind] if args.key?(:kind)
|
@kind = args[:kind] if args.key?(:kind)
|
||||||
|
@labels = args[:labels] if args.key?(:labels)
|
||||||
|
@name = args[:name] if args.key?(:name)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -55,13 +55,13 @@ module Google
|
||||||
class TraceSpan
|
class TraceSpan
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
hash :labels, as: 'labels'
|
|
||||||
property :name, as: 'name'
|
|
||||||
property :span_id, as: 'spanId'
|
property :span_id, as: 'spanId'
|
||||||
property :parent_span_id, as: 'parentSpanId'
|
property :parent_span_id, as: 'parentSpanId'
|
||||||
property :end_time, as: 'endTime'
|
property :end_time, as: 'endTime'
|
||||||
property :start_time, as: 'startTime'
|
property :start_time, as: 'startTime'
|
||||||
property :kind, as: 'kind'
|
property :kind, as: 'kind'
|
||||||
|
hash :labels, as: 'labels'
|
||||||
|
property :name, as: 'name'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -35,16 +35,16 @@ module Google
|
||||||
#
|
#
|
||||||
# @see https://cloud.google.com/trace
|
# @see https://cloud.google.com/trace
|
||||||
class CloudTraceService < Google::Apis::Core::BaseService
|
class CloudTraceService < Google::Apis::Core::BaseService
|
||||||
# @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
|
|
||||||
|
|
||||||
# @return [String]
|
# @return [String]
|
||||||
# API key. Your API key identifies your project and provides you with API access,
|
# 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.
|
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
||||||
attr_accessor :key
|
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
|
def initialize
|
||||||
super('https://cloudtrace.googleapis.com/', '')
|
super('https://cloudtrace.googleapis.com/', '')
|
||||||
end
|
end
|
||||||
|
@ -57,11 +57,11 @@ module Google
|
||||||
# @param [String] project_id
|
# @param [String] project_id
|
||||||
# ID of the Cloud project where the trace data is stored.
|
# ID of the Cloud project where the trace data is stored.
|
||||||
# @param [Google::Apis::CloudtraceV1::Traces] traces_object
|
# @param [Google::Apis::CloudtraceV1::Traces] traces_object
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
# Available to use for quota purposes for server-side applications. Can be any
|
# 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.
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
# @param [Google::Apis::RequestOptions] options
|
||||||
# Request-specific options
|
# Request-specific options
|
||||||
#
|
#
|
||||||
|
@ -74,21 +74,32 @@ 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 patch_project_traces(project_id, traces_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
def patch_project_traces(project_id, traces_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
command = make_simple_command(:patch, 'v1/projects/{projectId}/traces', options)
|
command = make_simple_command(:patch, 'v1/projects/{projectId}/traces', options)
|
||||||
command.request_representation = Google::Apis::CloudtraceV1::Traces::Representation
|
command.request_representation = Google::Apis::CloudtraceV1::Traces::Representation
|
||||||
command.request_object = traces_object
|
command.request_object = traces_object
|
||||||
command.response_representation = Google::Apis::CloudtraceV1::Empty::Representation
|
command.response_representation = Google::Apis::CloudtraceV1::Empty::Representation
|
||||||
command.response_class = Google::Apis::CloudtraceV1::Empty
|
command.response_class = Google::Apis::CloudtraceV1::Empty
|
||||||
command.params['projectId'] = project_id unless project_id.nil?
|
command.params['projectId'] = project_id unless project_id.nil?
|
||||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
||||||
command.query['fields'] = fields unless fields.nil?
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Returns of a list of traces that match the specified filter conditions.
|
# Returns of a list of traces that match the specified filter conditions.
|
||||||
# @param [String] project_id
|
# @param [String] project_id
|
||||||
# ID of the Cloud project where the trace data is stored.
|
# ID of the Cloud project where the trace data is stored.
|
||||||
|
# @param [String] order_by
|
||||||
|
# Field used to sort the returned traces. Optional.
|
||||||
|
# Can be one of the following:
|
||||||
|
# * `trace_id`
|
||||||
|
# * `name` (`name` field of root span in the trace)
|
||||||
|
# * `duration` (difference between `end_time` and `start_time` fields of
|
||||||
|
# the root span)
|
||||||
|
# * `start` (`start_time` field of the root span)
|
||||||
|
# Descending order can be specified by appending `desc` to the sort field
|
||||||
|
# (for example, `name desc`).
|
||||||
|
# Only one sort field is permitted.
|
||||||
# @param [String] filter
|
# @param [String] filter
|
||||||
# An optional filter for the request.
|
# An optional filter for the request.
|
||||||
# @param [String] end_time
|
# @param [String] end_time
|
||||||
|
@ -107,22 +118,11 @@ module Google
|
||||||
# @param [String] view
|
# @param [String] view
|
||||||
# Type of data returned for traces in the list. Optional. Default is
|
# Type of data returned for traces in the list. Optional. Default is
|
||||||
# `MINIMAL`.
|
# `MINIMAL`.
|
||||||
# @param [String] order_by
|
# @param [String] fields
|
||||||
# Field used to sort the returned traces. Optional.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# Can be one of the following:
|
|
||||||
# * `trace_id`
|
|
||||||
# * `name` (`name` field of root span in the trace)
|
|
||||||
# * `duration` (difference between `end_time` and `start_time` fields of
|
|
||||||
# the root span)
|
|
||||||
# * `start` (`start_time` field of the root span)
|
|
||||||
# Descending order can be specified by appending `desc` to the sort field
|
|
||||||
# (for example, `name desc`).
|
|
||||||
# Only one sort field is permitted.
|
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
# Available to use for quota purposes for server-side applications. Can be any
|
# 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.
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
# @param [Google::Apis::RequestOptions] options
|
||||||
# Request-specific options
|
# Request-specific options
|
||||||
#
|
#
|
||||||
|
@ -135,20 +135,20 @@ 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 list_project_traces(project_id, filter: nil, end_time: nil, start_time: nil, page_token: nil, page_size: nil, view: nil, order_by: nil, quota_user: nil, fields: nil, options: nil, &block)
|
def list_project_traces(project_id, order_by: nil, filter: nil, end_time: nil, start_time: nil, page_token: nil, page_size: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
command = make_simple_command(:get, 'v1/projects/{projectId}/traces', options)
|
command = make_simple_command(:get, 'v1/projects/{projectId}/traces', options)
|
||||||
command.response_representation = Google::Apis::CloudtraceV1::ListTracesResponse::Representation
|
command.response_representation = Google::Apis::CloudtraceV1::ListTracesResponse::Representation
|
||||||
command.response_class = Google::Apis::CloudtraceV1::ListTracesResponse
|
command.response_class = Google::Apis::CloudtraceV1::ListTracesResponse
|
||||||
command.params['projectId'] = project_id unless project_id.nil?
|
command.params['projectId'] = project_id unless project_id.nil?
|
||||||
|
command.query['orderBy'] = order_by unless order_by.nil?
|
||||||
command.query['filter'] = filter unless filter.nil?
|
command.query['filter'] = filter unless filter.nil?
|
||||||
command.query['endTime'] = end_time unless end_time.nil?
|
command.query['endTime'] = end_time unless end_time.nil?
|
||||||
command.query['startTime'] = start_time unless start_time.nil?
|
command.query['startTime'] = start_time unless start_time.nil?
|
||||||
command.query['pageToken'] = page_token unless page_token.nil?
|
command.query['pageToken'] = page_token unless page_token.nil?
|
||||||
command.query['pageSize'] = page_size unless page_size.nil?
|
command.query['pageSize'] = page_size unless page_size.nil?
|
||||||
command.query['view'] = view unless view.nil?
|
command.query['view'] = view unless view.nil?
|
||||||
command.query['orderBy'] = order_by unless order_by.nil?
|
|
||||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
||||||
command.query['fields'] = fields unless fields.nil?
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -157,11 +157,11 @@ module Google
|
||||||
# ID of the Cloud project where the trace data is stored.
|
# ID of the Cloud project where the trace data is stored.
|
||||||
# @param [String] trace_id
|
# @param [String] trace_id
|
||||||
# ID of the trace to return.
|
# ID of the trace to return.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
# Available to use for quota purposes for server-side applications. Can be any
|
# 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.
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
# @param [Google::Apis::RequestOptions] options
|
||||||
# Request-specific options
|
# Request-specific options
|
||||||
#
|
#
|
||||||
|
@ -174,22 +174,22 @@ 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 get_project_trace(project_id, trace_id, quota_user: nil, fields: nil, options: nil, &block)
|
def get_project_trace(project_id, trace_id, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
command = make_simple_command(:get, 'v1/projects/{projectId}/traces/{traceId}', options)
|
command = make_simple_command(:get, 'v1/projects/{projectId}/traces/{traceId}', options)
|
||||||
command.response_representation = Google::Apis::CloudtraceV1::Trace::Representation
|
command.response_representation = Google::Apis::CloudtraceV1::Trace::Representation
|
||||||
command.response_class = Google::Apis::CloudtraceV1::Trace
|
command.response_class = Google::Apis::CloudtraceV1::Trace
|
||||||
command.params['projectId'] = project_id unless project_id.nil?
|
command.params['projectId'] = project_id unless project_id.nil?
|
||||||
command.params['traceId'] = trace_id unless trace_id.nil?
|
command.params['traceId'] = trace_id unless trace_id.nil?
|
||||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
||||||
command.query['fields'] = fields unless fields.nil?
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
protected
|
protected
|
||||||
|
|
||||||
def apply_command_defaults(command)
|
def apply_command_defaults(command)
|
||||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
||||||
command.query['key'] = key unless key.nil?
|
command.query['key'] = key unless key.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/compute/docs/reference/latest/
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
||||||
module ComputeBeta
|
module ComputeBeta
|
||||||
VERSION = 'Beta'
|
VERSION = 'Beta'
|
||||||
REVISION = '20170224'
|
REVISION = '20170302'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -3374,12 +3374,32 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :creation_timestamp
|
attr_accessor :creation_timestamp
|
||||||
|
|
||||||
|
# The list of DENY rules specified by this firewall. Each rule specifies a
|
||||||
|
# protocol and port-range tuple that describes a permitted connection.
|
||||||
|
# Corresponds to the JSON property `denied`
|
||||||
|
# @return [Array<Google::Apis::ComputeBeta::Firewall::Denied>]
|
||||||
|
attr_accessor :denied
|
||||||
|
|
||||||
# An optional description of this resource. Provide this property when you
|
# An optional description of this resource. Provide this property when you
|
||||||
# create the resource.
|
# create the resource.
|
||||||
# Corresponds to the JSON property `description`
|
# Corresponds to the JSON property `description`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :description
|
attr_accessor :description
|
||||||
|
|
||||||
|
# If destination ranges are specified, the firewall will apply only to traffic
|
||||||
|
# that has destination IP address in these ranges. These ranges must be
|
||||||
|
# expressed in CIDR format. Only IPv4 is supported.
|
||||||
|
# Corresponds to the JSON property `destinationRanges`
|
||||||
|
# @return [Array<String>]
|
||||||
|
attr_accessor :destination_ranges
|
||||||
|
|
||||||
|
# Direction of traffic to which this firewall applies; default is INGRESS. Note:
|
||||||
|
# For INGRESS traffic, it is NOT supported to specify destinationRanges; For
|
||||||
|
# EGRESS traffic, it is NOT supported to specify sourceRanges OR sourceTags.
|
||||||
|
# Corresponds to the JSON property `direction`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :direction
|
||||||
|
|
||||||
# [Output Only] The unique identifier for the resource. This identifier is
|
# [Output Only] The unique identifier for the resource. This identifier is
|
||||||
# defined by the server.
|
# defined by the server.
|
||||||
# Corresponds to the JSON property `id`
|
# Corresponds to the JSON property `id`
|
||||||
|
@ -3414,6 +3434,15 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :network
|
attr_accessor :network
|
||||||
|
|
||||||
|
# Priority for this rule. This is an integer between 0 and 65535, both inclusive.
|
||||||
|
# When not specified, the value assumed is 1000. Relative priorities determine
|
||||||
|
# precedence of conflicting rules. Lower value of priority implies higher
|
||||||
|
# precedence (eg, a rule with priority 0 has higher precedence than a rule with
|
||||||
|
# priority 1). DENY rules take precedence over ALLOW rules having equal priority.
|
||||||
|
# Corresponds to the JSON property `priority`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :priority
|
||||||
|
|
||||||
# [Output Only] Server-defined URL for the resource.
|
# [Output Only] Server-defined URL for the resource.
|
||||||
# Corresponds to the JSON property `selfLink`
|
# Corresponds to the JSON property `selfLink`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -3458,11 +3487,15 @@ module Google
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@allowed = args[:allowed] if args.key?(:allowed)
|
@allowed = args[:allowed] if args.key?(:allowed)
|
||||||
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
||||||
|
@denied = args[:denied] if args.key?(:denied)
|
||||||
@description = args[:description] if args.key?(:description)
|
@description = args[:description] if args.key?(:description)
|
||||||
|
@destination_ranges = args[:destination_ranges] if args.key?(:destination_ranges)
|
||||||
|
@direction = args[:direction] if args.key?(:direction)
|
||||||
@id = args[:id] if args.key?(:id)
|
@id = args[:id] if args.key?(:id)
|
||||||
@kind = args[:kind] if args.key?(:kind)
|
@kind = args[:kind] if args.key?(:kind)
|
||||||
@name = args[:name] if args.key?(:name)
|
@name = args[:name] if args.key?(:name)
|
||||||
@network = args[:network] if args.key?(:network)
|
@network = args[:network] if args.key?(:network)
|
||||||
|
@priority = args[:priority] if args.key?(:priority)
|
||||||
@self_link = args[:self_link] if args.key?(:self_link)
|
@self_link = args[:self_link] if args.key?(:self_link)
|
||||||
@source_ranges = args[:source_ranges] if args.key?(:source_ranges)
|
@source_ranges = args[:source_ranges] if args.key?(:source_ranges)
|
||||||
@source_tags = args[:source_tags] if args.key?(:source_tags)
|
@source_tags = args[:source_tags] if args.key?(:source_tags)
|
||||||
|
@ -3499,6 +3532,37 @@ module Google
|
||||||
@ports = args[:ports] if args.key?(:ports)
|
@ports = args[:ports] if args.key?(:ports)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class Denied
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The IP protocol to which this rule applies. The protocol type is required when
|
||||||
|
# creating a firewall rule. This value can either be one of the following well
|
||||||
|
# known protocol strings (tcp, udp, icmp, esp, ah, sctp), or the IP protocol
|
||||||
|
# number.
|
||||||
|
# Corresponds to the JSON property `IPProtocol`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :ip_protocol
|
||||||
|
|
||||||
|
# An optional list of ports to which this rule applies. This field is only
|
||||||
|
# applicable for UDP or TCP protocol. Each entry must be either an integer or a
|
||||||
|
# range. If not specified, this rule applies to connections through any port.
|
||||||
|
# Example inputs include: ["22"], ["80","443"], and ["12345-12349"].
|
||||||
|
# Corresponds to the JSON property `ports`
|
||||||
|
# @return [Array<String>]
|
||||||
|
attr_accessor :ports
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@ip_protocol = args[:ip_protocol] if args.key?(:ip_protocol)
|
||||||
|
@ports = args[:ports] if args.key?(:ports)
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Contains a list of firewalls.
|
# Contains a list of firewalls.
|
||||||
|
@ -7142,6 +7206,11 @@ module Google
|
||||||
# @return [Google::Apis::ComputeBeta::ManagedInstanceLastAttempt]
|
# @return [Google::Apis::ComputeBeta::ManagedInstanceLastAttempt]
|
||||||
attr_accessor :last_attempt
|
attr_accessor :last_attempt
|
||||||
|
|
||||||
|
# [Output Only] Intended version of this instance.
|
||||||
|
# Corresponds to the JSON property `version`
|
||||||
|
# @return [Google::Apis::ComputeBeta::ManagedInstanceVersion]
|
||||||
|
attr_accessor :version
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
@ -7153,6 +7222,7 @@ module Google
|
||||||
@instance = args[:instance] if args.key?(:instance)
|
@instance = args[:instance] if args.key?(:instance)
|
||||||
@instance_status = args[:instance_status] if args.key?(:instance_status)
|
@instance_status = args[:instance_status] if args.key?(:instance_status)
|
||||||
@last_attempt = args[:last_attempt] if args.key?(:last_attempt)
|
@last_attempt = args[:last_attempt] if args.key?(:last_attempt)
|
||||||
|
@version = args[:version] if args.key?(:version)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -7228,6 +7298,32 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class ManagedInstanceVersion
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# [Output Only] The intended template of the instance. This field is empty when
|
||||||
|
# current_action is one of ` DELETING, ABANDONING `.
|
||||||
|
# Corresponds to the JSON property `instanceTemplate`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :instance_template
|
||||||
|
|
||||||
|
# [Output Only] Name of the version.
|
||||||
|
# Corresponds to the JSON property `name`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :name
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@instance_template = args[:instance_template] if args.key?(:instance_template)
|
||||||
|
@name = args[:name] if args.key?(:name)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# A metadata key/value entry.
|
# A metadata key/value entry.
|
||||||
class Metadata
|
class Metadata
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -10729,6 +10825,26 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class SubnetworksSetPrivateIpGoogleAccessRequest
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `privateIpGoogleAccess`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :private_ip_google_access
|
||||||
|
alias_method :private_ip_google_access?, :private_ip_google_access
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@private_ip_google_access = args[:private_ip_google_access] if args.key?(:private_ip_google_access)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
#
|
#
|
||||||
class TcpHealthCheck
|
class TcpHealthCheck
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
|
@ -451,6 +451,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class Denied
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -934,6 +940,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ManagedInstanceVersion
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class Metadata
|
class Metadata
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -1408,6 +1420,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class SubnetworksSetPrivateIpGoogleAccessRequest
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class TcpHealthCheck
|
class TcpHealthCheck
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -2591,11 +2609,16 @@ module Google
|
||||||
collection :allowed, as: 'allowed', class: Google::Apis::ComputeBeta::Firewall::Allowed, decorator: Google::Apis::ComputeBeta::Firewall::Allowed::Representation
|
collection :allowed, as: 'allowed', class: Google::Apis::ComputeBeta::Firewall::Allowed, decorator: Google::Apis::ComputeBeta::Firewall::Allowed::Representation
|
||||||
|
|
||||||
property :creation_timestamp, as: 'creationTimestamp'
|
property :creation_timestamp, as: 'creationTimestamp'
|
||||||
|
collection :denied, as: 'denied', class: Google::Apis::ComputeBeta::Firewall::Denied, decorator: Google::Apis::ComputeBeta::Firewall::Denied::Representation
|
||||||
|
|
||||||
property :description, as: 'description'
|
property :description, as: 'description'
|
||||||
|
collection :destination_ranges, as: 'destinationRanges'
|
||||||
|
property :direction, as: 'direction'
|
||||||
property :id, as: 'id'
|
property :id, as: 'id'
|
||||||
property :kind, as: 'kind'
|
property :kind, as: 'kind'
|
||||||
property :name, as: 'name'
|
property :name, as: 'name'
|
||||||
property :network, as: 'network'
|
property :network, as: 'network'
|
||||||
|
property :priority, as: 'priority'
|
||||||
property :self_link, as: 'selfLink'
|
property :self_link, as: 'selfLink'
|
||||||
collection :source_ranges, as: 'sourceRanges'
|
collection :source_ranges, as: 'sourceRanges'
|
||||||
collection :source_tags, as: 'sourceTags'
|
collection :source_tags, as: 'sourceTags'
|
||||||
|
@ -2609,6 +2632,14 @@ module Google
|
||||||
collection :ports, as: 'ports'
|
collection :ports, as: 'ports'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class Denied
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :ip_protocol, as: 'IPProtocol'
|
||||||
|
collection :ports, as: 'ports'
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class FirewallList
|
class FirewallList
|
||||||
|
@ -3497,6 +3528,8 @@ module Google
|
||||||
property :instance_status, as: 'instanceStatus'
|
property :instance_status, as: 'instanceStatus'
|
||||||
property :last_attempt, as: 'lastAttempt', class: Google::Apis::ComputeBeta::ManagedInstanceLastAttempt, decorator: Google::Apis::ComputeBeta::ManagedInstanceLastAttempt::Representation
|
property :last_attempt, as: 'lastAttempt', class: Google::Apis::ComputeBeta::ManagedInstanceLastAttempt, decorator: Google::Apis::ComputeBeta::ManagedInstanceLastAttempt::Representation
|
||||||
|
|
||||||
|
property :version, as: 'version', class: Google::Apis::ComputeBeta::ManagedInstanceVersion, decorator: Google::Apis::ComputeBeta::ManagedInstanceVersion::Representation
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -3525,6 +3558,14 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ManagedInstanceVersion
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :instance_template, as: 'instanceTemplate'
|
||||||
|
property :name, as: 'name'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class Metadata
|
class Metadata
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -4402,6 +4443,13 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class SubnetworksSetPrivateIpGoogleAccessRequest
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :private_ip_google_access, as: 'privateIpGoogleAccess'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class TcpHealthCheck
|
class TcpHealthCheck
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
|
@ -2654,7 +2654,7 @@ module Google
|
||||||
# @param [String] project
|
# @param [String] project
|
||||||
# Project ID for this request.
|
# Project ID for this request.
|
||||||
# @param [String] firewall
|
# @param [String] firewall
|
||||||
# Name of the firewall rule to update.
|
# Name of the firewall rule to patch.
|
||||||
# @param [Google::Apis::ComputeBeta::Firewall] firewall_object
|
# @param [Google::Apis::ComputeBeta::Firewall] firewall_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.
|
||||||
|
@ -12838,6 +12838,51 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Set whether VMs in this subnet can access Google services without assigning
|
||||||
|
# external IP addresses through Cloudpath.
|
||||||
|
# @param [String] project
|
||||||
|
# Project ID for this request.
|
||||||
|
# @param [String] region
|
||||||
|
# Name of the region scoping this request.
|
||||||
|
# @param [String] subnetwork
|
||||||
|
# Name of the Subnetwork resource.
|
||||||
|
# @param [Google::Apis::ComputeBeta::SubnetworksSetPrivateIpGoogleAccessRequest] subnetworks_set_private_ip_google_access_request_object
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# Overrides userIp if both are provided.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# IP address of the site where the request originates. Use this if you want to
|
||||||
|
# enforce per-user limits.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::ComputeBeta::Operation]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def set_subnetwork_private_ip_google_access(project, region, subnetwork, subnetworks_set_private_ip_google_access_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, '{project}/regions/{region}/subnetworks/{subnetwork}/setPrivateIpGoogleAccess', options)
|
||||||
|
command.request_representation = Google::Apis::ComputeBeta::SubnetworksSetPrivateIpGoogleAccessRequest::Representation
|
||||||
|
command.request_object = subnetworks_set_private_ip_google_access_request_object
|
||||||
|
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
||||||
|
command.response_class = Google::Apis::ComputeBeta::Operation
|
||||||
|
command.params['project'] = project unless project.nil?
|
||||||
|
command.params['region'] = region unless region.nil?
|
||||||
|
command.params['subnetwork'] = subnetwork unless subnetwork.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
# Returns permissions that a caller has on the specified resource.
|
# Returns permissions that a caller has on the specified resource.
|
||||||
# @param [String] project
|
# @param [String] project
|
||||||
# Project ID for this request.
|
# Project ID for this request.
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/compute/docs/reference/latest/
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
||||||
module ComputeV1
|
module ComputeV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20170224'
|
REVISION = '20170302'
|
||||||
|
|
||||||
# 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/dataflow
|
# @see https://cloud.google.com/dataflow
|
||||||
module DataflowV1b3
|
module DataflowV1b3
|
||||||
VERSION = 'V1b3'
|
VERSION = 'V1b3'
|
||||||
REVISION = '20170303'
|
REVISION = '20170318'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/dataproc/
|
# @see https://cloud.google.com/dataproc/
|
||||||
module DataprocV1
|
module DataprocV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20170228'
|
REVISION = '20170321'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -22,7 +22,139 @@ module Google
|
||||||
module Apis
|
module Apis
|
||||||
module DataprocV1
|
module DataprocV1
|
||||||
|
|
||||||
class ClusterMetrics
|
class OperationMetadata
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class SoftwareConfig
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class JobPlacement
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class PigJob
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class ClusterStatus
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class ListClustersResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class Job
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class SparkJob
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class JobStatus
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class ManagedGroupConfig
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class ClusterOperationStatus
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class HadoopJob
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class QueryList
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class YarnApplication
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class DiagnoseClusterRequest
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class DiskConfig
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class ClusterOperationMetadata
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class Empty
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class HiveJob
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class DiagnoseClusterResults
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class ClusterConfig
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class PySparkJob
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class GceClusterConfig
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
@ -34,6 +166,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ClusterMetrics
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class LoggingConfig
|
class LoggingConfig
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -125,141 +263,294 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
class OperationMetadata
|
class OperationMetadata
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :description, as: 'description'
|
||||||
|
property :status, as: 'status', class: Google::Apis::DataprocV1::OperationStatus, decorator: Google::Apis::DataprocV1::OperationStatus::Representation
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
property :details, as: 'details'
|
||||||
end
|
property :state, as: 'state'
|
||||||
|
property :cluster_name, as: 'clusterName'
|
||||||
|
property :cluster_uuid, as: 'clusterUuid'
|
||||||
|
property :inner_state, as: 'innerState'
|
||||||
|
property :end_time, as: 'endTime'
|
||||||
|
property :start_time, as: 'startTime'
|
||||||
|
collection :warnings, as: 'warnings'
|
||||||
|
property :insert_time, as: 'insertTime'
|
||||||
|
collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::OperationStatus, decorator: Google::Apis::DataprocV1::OperationStatus::Representation
|
||||||
|
|
||||||
class JobPlacement
|
property :operation_type, as: 'operationType'
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
end
|
||||||
|
|
||||||
class SoftwareConfig
|
class SoftwareConfig
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :image_version, as: 'imageVersion'
|
||||||
|
hash :properties, as: 'properties'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
class JobPlacement
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :cluster_name, as: 'clusterName'
|
||||||
|
property :cluster_uuid, as: 'clusterUuid'
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class PigJob
|
class PigJob
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :continue_on_failure, as: 'continueOnFailure'
|
||||||
|
property :query_file_uri, as: 'queryFileUri'
|
||||||
|
property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
collection :jar_file_uris, as: 'jarFileUris'
|
||||||
|
hash :script_variables, as: 'scriptVariables'
|
||||||
|
property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
|
||||||
|
|
||||||
|
hash :properties, as: 'properties'
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class ClusterStatus
|
class ClusterStatus
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
property :detail, as: 'detail'
|
||||||
|
property :state, as: 'state'
|
||||||
|
property :state_start_time, as: 'stateStartTime'
|
||||||
|
property :substate, as: 'substate'
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class ListClustersResponse
|
class ListClustersResponse
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :clusters, as: 'clusters', class: Google::Apis::DataprocV1::Cluster, decorator: Google::Apis::DataprocV1::Cluster::Representation
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
property :next_page_token, as: 'nextPageToken'
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class Job
|
class Job
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :status, as: 'status', class: Google::Apis::DataprocV1::JobStatus, decorator: Google::Apis::DataprocV1::JobStatus::Representation
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
property :placement, as: 'placement', class: Google::Apis::DataprocV1::JobPlacement, decorator: Google::Apis::DataprocV1::JobPlacement::Representation
|
||||||
|
|
||||||
|
property :driver_control_files_uri, as: 'driverControlFilesUri'
|
||||||
|
property :scheduling, as: 'scheduling', class: Google::Apis::DataprocV1::JobScheduling, decorator: Google::Apis::DataprocV1::JobScheduling::Representation
|
||||||
|
|
||||||
|
property :pig_job, as: 'pigJob', class: Google::Apis::DataprocV1::PigJob, decorator: Google::Apis::DataprocV1::PigJob::Representation
|
||||||
|
|
||||||
|
property :hive_job, as: 'hiveJob', class: Google::Apis::DataprocV1::HiveJob, decorator: Google::Apis::DataprocV1::HiveJob::Representation
|
||||||
|
|
||||||
|
hash :labels, as: 'labels'
|
||||||
|
property :driver_output_resource_uri, as: 'driverOutputResourceUri'
|
||||||
|
property :spark_job, as: 'sparkJob', class: Google::Apis::DataprocV1::SparkJob, decorator: Google::Apis::DataprocV1::SparkJob::Representation
|
||||||
|
|
||||||
|
property :spark_sql_job, as: 'sparkSqlJob', class: Google::Apis::DataprocV1::SparkSqlJob, decorator: Google::Apis::DataprocV1::SparkSqlJob::Representation
|
||||||
|
|
||||||
|
collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::JobStatus, decorator: Google::Apis::DataprocV1::JobStatus::Representation
|
||||||
|
|
||||||
|
collection :yarn_applications, as: 'yarnApplications', class: Google::Apis::DataprocV1::YarnApplication, decorator: Google::Apis::DataprocV1::YarnApplication::Representation
|
||||||
|
|
||||||
|
property :pyspark_job, as: 'pysparkJob', class: Google::Apis::DataprocV1::PySparkJob, decorator: Google::Apis::DataprocV1::PySparkJob::Representation
|
||||||
|
|
||||||
|
property :reference, as: 'reference', class: Google::Apis::DataprocV1::JobReference, decorator: Google::Apis::DataprocV1::JobReference::Representation
|
||||||
|
|
||||||
|
property :hadoop_job, as: 'hadoopJob', class: Google::Apis::DataprocV1::HadoopJob, decorator: Google::Apis::DataprocV1::HadoopJob::Representation
|
||||||
|
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class SparkJob
|
class SparkJob
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :jar_file_uris, as: 'jarFileUris'
|
||||||
|
property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
hash :properties, as: 'properties'
|
||||||
|
collection :args, as: 'args'
|
||||||
|
collection :file_uris, as: 'fileUris'
|
||||||
|
property :main_class, as: 'mainClass'
|
||||||
|
collection :archive_uris, as: 'archiveUris'
|
||||||
|
property :main_jar_file_uri, as: 'mainJarFileUri'
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class JobStatus
|
class JobStatus
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
property :state, as: 'state'
|
||||||
|
property :details, as: 'details'
|
||||||
|
property :state_start_time, as: 'stateStartTime'
|
||||||
|
property :substate, as: 'substate'
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class ManagedGroupConfig
|
class ManagedGroupConfig
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
property :instance_group_manager_name, as: 'instanceGroupManagerName'
|
||||||
|
property :instance_template_name, as: 'instanceTemplateName'
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class ClusterOperationStatus
|
class ClusterOperationStatus
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
property :inner_state, as: 'innerState'
|
||||||
|
property :state_start_time, as: 'stateStartTime'
|
||||||
|
property :state, as: 'state'
|
||||||
|
property :details, as: 'details'
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class HadoopJob
|
class HadoopJob
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :main_class, as: 'mainClass'
|
||||||
|
collection :archive_uris, as: 'archiveUris'
|
||||||
|
property :main_jar_file_uri, as: 'mainJarFileUri'
|
||||||
|
collection :jar_file_uris, as: 'jarFileUris'
|
||||||
|
property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
hash :properties, as: 'properties'
|
||||||
|
collection :args, as: 'args'
|
||||||
|
collection :file_uris, as: 'fileUris'
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class QueryList
|
class QueryList
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
collection :queries, as: 'queries'
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class YarnApplication
|
class YarnApplication
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
property :tracking_url, as: 'trackingUrl'
|
||||||
|
property :progress, as: 'progress'
|
||||||
|
property :state, as: 'state'
|
||||||
|
property :name, as: 'name'
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class DiagnoseClusterRequest
|
class DiagnoseClusterRequest
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class DiskConfig
|
class DiskConfig
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
property :boot_disk_size_gb, as: 'bootDiskSizeGb'
|
||||||
|
property :num_local_ssds, as: 'numLocalSsds'
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class ClusterOperationMetadata
|
class ClusterOperationMetadata
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :operation_type, as: 'operationType'
|
||||||
|
property :description, as: 'description'
|
||||||
|
collection :warnings, as: 'warnings'
|
||||||
|
hash :labels, as: 'labels'
|
||||||
|
property :status, as: 'status', class: Google::Apis::DataprocV1::ClusterOperationStatus, decorator: Google::Apis::DataprocV1::ClusterOperationStatus::Representation
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::ClusterOperationStatus, decorator: Google::Apis::DataprocV1::ClusterOperationStatus::Representation
|
||||||
end
|
|
||||||
|
|
||||||
class HiveJob
|
property :cluster_uuid, as: 'clusterUuid'
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
property :cluster_name, as: 'clusterName'
|
||||||
|
end
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
end
|
||||||
|
|
||||||
class Empty
|
class Empty
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
class HiveJob
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :jar_file_uris, as: 'jarFileUris'
|
||||||
|
hash :script_variables, as: 'scriptVariables'
|
||||||
|
hash :properties, as: 'properties'
|
||||||
|
property :continue_on_failure, as: 'continueOnFailure'
|
||||||
|
property :query_file_uri, as: 'queryFileUri'
|
||||||
|
property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation
|
||||||
|
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class DiagnoseClusterResults
|
class DiagnoseClusterResults
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
property :output_uri, as: 'outputUri'
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class ClusterConfig
|
class ClusterConfig
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :master_config, as: 'masterConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
property :secondary_worker_config, as: 'secondaryWorkerConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation
|
||||||
|
|
||||||
|
collection :initialization_actions, as: 'initializationActions', class: Google::Apis::DataprocV1::NodeInitializationAction, decorator: Google::Apis::DataprocV1::NodeInitializationAction::Representation
|
||||||
|
|
||||||
|
property :config_bucket, as: 'configBucket'
|
||||||
|
property :worker_config, as: 'workerConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation
|
||||||
|
|
||||||
|
property :gce_cluster_config, as: 'gceClusterConfig', class: Google::Apis::DataprocV1::GceClusterConfig, decorator: Google::Apis::DataprocV1::GceClusterConfig::Representation
|
||||||
|
|
||||||
|
property :software_config, as: 'softwareConfig', class: Google::Apis::DataprocV1::SoftwareConfig, decorator: Google::Apis::DataprocV1::SoftwareConfig::Representation
|
||||||
|
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class PySparkJob
|
class PySparkJob
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :jar_file_uris, as: 'jarFileUris'
|
||||||
|
property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
hash :properties, as: 'properties'
|
||||||
|
collection :args, as: 'args'
|
||||||
|
collection :file_uris, as: 'fileUris'
|
||||||
|
collection :python_file_uris, as: 'pythonFileUris'
|
||||||
|
property :main_python_file_uri, as: 'mainPythonFileUri'
|
||||||
|
collection :archive_uris, as: 'archiveUris'
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class GceClusterConfig
|
class GceClusterConfig
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
hash :metadata, as: 'metadata'
|
||||||
|
property :internal_ip_only, as: 'internalIpOnly'
|
||||||
|
collection :service_account_scopes, as: 'serviceAccountScopes'
|
||||||
|
collection :tags, as: 'tags'
|
||||||
|
property :service_account, as: 'serviceAccount'
|
||||||
|
property :subnetwork_uri, as: 'subnetworkUri'
|
||||||
|
property :network_uri, as: 'networkUri'
|
||||||
|
property :zone_uri, as: 'zoneUri'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
class AcceleratorConfig
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :accelerator_count, as: 'acceleratorCount'
|
||||||
|
property :accelerator_type_uri, as: 'acceleratorTypeUri'
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class ClusterMetrics
|
class ClusterMetrics
|
||||||
|
@ -270,14 +561,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class AcceleratorConfig
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :accelerator_type_uri, as: 'acceleratorTypeUri'
|
|
||||||
property :accelerator_count, as: 'acceleratorCount'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class LoggingConfig
|
class LoggingConfig
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -295,12 +578,12 @@ module Google
|
||||||
class Operation
|
class Operation
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :done, as: 'done'
|
|
||||||
hash :response, as: 'response'
|
|
||||||
property :name, as: 'name'
|
|
||||||
property :error, as: 'error', class: Google::Apis::DataprocV1::Status, decorator: Google::Apis::DataprocV1::Status::Representation
|
property :error, as: 'error', class: Google::Apis::DataprocV1::Status, decorator: Google::Apis::DataprocV1::Status::Representation
|
||||||
|
|
||||||
hash :metadata, as: 'metadata'
|
hash :metadata, as: 'metadata'
|
||||||
|
property :done, as: 'done'
|
||||||
|
hash :response, as: 'response'
|
||||||
|
property :name, as: 'name'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -345,8 +628,8 @@ module Google
|
||||||
property :managed_group_config, as: 'managedGroupConfig', class: Google::Apis::DataprocV1::ManagedGroupConfig, decorator: Google::Apis::DataprocV1::ManagedGroupConfig::Representation
|
property :managed_group_config, as: 'managedGroupConfig', class: Google::Apis::DataprocV1::ManagedGroupConfig, decorator: Google::Apis::DataprocV1::ManagedGroupConfig::Representation
|
||||||
|
|
||||||
property :is_preemptible, as: 'isPreemptible'
|
property :is_preemptible, as: 'isPreemptible'
|
||||||
property :machine_type_uri, as: 'machineTypeUri'
|
|
||||||
property :image_uri, as: 'imageUri'
|
property :image_uri, as: 'imageUri'
|
||||||
|
property :machine_type_uri, as: 'machineTypeUri'
|
||||||
collection :instance_names, as: 'instanceNames'
|
collection :instance_names, as: 'instanceNames'
|
||||||
collection :accelerators, as: 'accelerators', class: Google::Apis::DataprocV1::AcceleratorConfig, decorator: Google::Apis::DataprocV1::AcceleratorConfig::Representation
|
collection :accelerators, as: 'accelerators', class: Google::Apis::DataprocV1::AcceleratorConfig, decorator: Google::Apis::DataprocV1::AcceleratorConfig::Representation
|
||||||
|
|
||||||
|
@ -366,17 +649,17 @@ module Google
|
||||||
class ListJobsResponse
|
class ListJobsResponse
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :next_page_token, as: 'nextPageToken'
|
|
||||||
collection :jobs, as: 'jobs', class: Google::Apis::DataprocV1::Job, decorator: Google::Apis::DataprocV1::Job::Representation
|
collection :jobs, as: 'jobs', class: Google::Apis::DataprocV1::Job, decorator: Google::Apis::DataprocV1::Job::Representation
|
||||||
|
|
||||||
|
property :next_page_token, as: 'nextPageToken'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class NodeInitializationAction
|
class NodeInitializationAction
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :execution_timeout, as: 'executionTimeout'
|
|
||||||
property :executable_file, as: 'executableFile'
|
property :executable_file, as: 'executableFile'
|
||||||
|
property :execution_timeout, as: 'executionTimeout'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -389,32 +672,32 @@ module Google
|
||||||
class SparkSqlJob
|
class SparkSqlJob
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :query_file_uri, as: 'queryFileUri'
|
|
||||||
property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation
|
|
||||||
|
|
||||||
hash :script_variables, as: 'scriptVariables'
|
hash :script_variables, as: 'scriptVariables'
|
||||||
collection :jar_file_uris, as: 'jarFileUris'
|
collection :jar_file_uris, as: 'jarFileUris'
|
||||||
property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
|
property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
|
||||||
|
|
||||||
hash :properties, as: 'properties'
|
hash :properties, as: 'properties'
|
||||||
|
property :query_file_uri, as: 'queryFileUri'
|
||||||
|
property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class Cluster
|
class Cluster
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :project_id, as: 'projectId'
|
||||||
hash :labels, as: 'labels'
|
hash :labels, as: 'labels'
|
||||||
property :metrics, as: 'metrics', class: Google::Apis::DataprocV1::ClusterMetrics, decorator: Google::Apis::DataprocV1::ClusterMetrics::Representation
|
|
||||||
|
|
||||||
property :status, as: 'status', class: Google::Apis::DataprocV1::ClusterStatus, decorator: Google::Apis::DataprocV1::ClusterStatus::Representation
|
property :status, as: 'status', class: Google::Apis::DataprocV1::ClusterStatus, decorator: Google::Apis::DataprocV1::ClusterStatus::Representation
|
||||||
|
|
||||||
property :config, as: 'config', class: Google::Apis::DataprocV1::ClusterConfig, decorator: Google::Apis::DataprocV1::ClusterConfig::Representation
|
property :metrics, as: 'metrics', class: Google::Apis::DataprocV1::ClusterMetrics, decorator: Google::Apis::DataprocV1::ClusterMetrics::Representation
|
||||||
|
|
||||||
collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::ClusterStatus, decorator: Google::Apis::DataprocV1::ClusterStatus::Representation
|
collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::ClusterStatus, decorator: Google::Apis::DataprocV1::ClusterStatus::Representation
|
||||||
|
|
||||||
property :cluster_name, as: 'clusterName'
|
property :config, as: 'config', class: Google::Apis::DataprocV1::ClusterConfig, decorator: Google::Apis::DataprocV1::ClusterConfig::Representation
|
||||||
|
|
||||||
property :cluster_uuid, as: 'clusterUuid'
|
property :cluster_uuid, as: 'clusterUuid'
|
||||||
property :project_id, as: 'projectId'
|
property :cluster_name, as: 'clusterName'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -426,287 +709,6 @@ module Google
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class OperationMetadata
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::OperationStatus, decorator: Google::Apis::DataprocV1::OperationStatus::Representation
|
|
||||||
|
|
||||||
property :operation_type, as: 'operationType'
|
|
||||||
property :description, as: 'description'
|
|
||||||
property :status, as: 'status', class: Google::Apis::DataprocV1::OperationStatus, decorator: Google::Apis::DataprocV1::OperationStatus::Representation
|
|
||||||
|
|
||||||
property :details, as: 'details'
|
|
||||||
property :state, as: 'state'
|
|
||||||
property :cluster_name, as: 'clusterName'
|
|
||||||
property :cluster_uuid, as: 'clusterUuid'
|
|
||||||
property :inner_state, as: 'innerState'
|
|
||||||
property :end_time, as: 'endTime'
|
|
||||||
property :start_time, as: 'startTime'
|
|
||||||
collection :warnings, as: 'warnings'
|
|
||||||
property :insert_time, as: 'insertTime'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class JobPlacement
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :cluster_name, as: 'clusterName'
|
|
||||||
property :cluster_uuid, as: 'clusterUuid'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class SoftwareConfig
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :image_version, as: 'imageVersion'
|
|
||||||
hash :properties, as: 'properties'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class PigJob
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :continue_on_failure, as: 'continueOnFailure'
|
|
||||||
property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation
|
|
||||||
|
|
||||||
property :query_file_uri, as: 'queryFileUri'
|
|
||||||
hash :script_variables, as: 'scriptVariables'
|
|
||||||
collection :jar_file_uris, as: 'jarFileUris'
|
|
||||||
property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
|
|
||||||
|
|
||||||
hash :properties, as: 'properties'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class ClusterStatus
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :state_start_time, as: 'stateStartTime'
|
|
||||||
property :detail, as: 'detail'
|
|
||||||
property :state, as: 'state'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class ListClustersResponse
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
collection :clusters, as: 'clusters', class: Google::Apis::DataprocV1::Cluster, decorator: Google::Apis::DataprocV1::Cluster::Representation
|
|
||||||
|
|
||||||
property :next_page_token, as: 'nextPageToken'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class Job
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :reference, as: 'reference', class: Google::Apis::DataprocV1::JobReference, decorator: Google::Apis::DataprocV1::JobReference::Representation
|
|
||||||
|
|
||||||
property :hadoop_job, as: 'hadoopJob', class: Google::Apis::DataprocV1::HadoopJob, decorator: Google::Apis::DataprocV1::HadoopJob::Representation
|
|
||||||
|
|
||||||
property :placement, as: 'placement', class: Google::Apis::DataprocV1::JobPlacement, decorator: Google::Apis::DataprocV1::JobPlacement::Representation
|
|
||||||
|
|
||||||
property :status, as: 'status', class: Google::Apis::DataprocV1::JobStatus, decorator: Google::Apis::DataprocV1::JobStatus::Representation
|
|
||||||
|
|
||||||
property :driver_control_files_uri, as: 'driverControlFilesUri'
|
|
||||||
property :scheduling, as: 'scheduling', class: Google::Apis::DataprocV1::JobScheduling, decorator: Google::Apis::DataprocV1::JobScheduling::Representation
|
|
||||||
|
|
||||||
property :pig_job, as: 'pigJob', class: Google::Apis::DataprocV1::PigJob, decorator: Google::Apis::DataprocV1::PigJob::Representation
|
|
||||||
|
|
||||||
property :hive_job, as: 'hiveJob', class: Google::Apis::DataprocV1::HiveJob, decorator: Google::Apis::DataprocV1::HiveJob::Representation
|
|
||||||
|
|
||||||
hash :labels, as: 'labels'
|
|
||||||
property :driver_output_resource_uri, as: 'driverOutputResourceUri'
|
|
||||||
collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::JobStatus, decorator: Google::Apis::DataprocV1::JobStatus::Representation
|
|
||||||
|
|
||||||
property :spark_sql_job, as: 'sparkSqlJob', class: Google::Apis::DataprocV1::SparkSqlJob, decorator: Google::Apis::DataprocV1::SparkSqlJob::Representation
|
|
||||||
|
|
||||||
property :spark_job, as: 'sparkJob', class: Google::Apis::DataprocV1::SparkJob, decorator: Google::Apis::DataprocV1::SparkJob::Representation
|
|
||||||
|
|
||||||
collection :yarn_applications, as: 'yarnApplications', class: Google::Apis::DataprocV1::YarnApplication, decorator: Google::Apis::DataprocV1::YarnApplication::Representation
|
|
||||||
|
|
||||||
property :pyspark_job, as: 'pysparkJob', class: Google::Apis::DataprocV1::PySparkJob, decorator: Google::Apis::DataprocV1::PySparkJob::Representation
|
|
||||||
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class SparkJob
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
collection :archive_uris, as: 'archiveUris'
|
|
||||||
property :main_jar_file_uri, as: 'mainJarFileUri'
|
|
||||||
collection :jar_file_uris, as: 'jarFileUris'
|
|
||||||
property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
|
|
||||||
|
|
||||||
hash :properties, as: 'properties'
|
|
||||||
collection :args, as: 'args'
|
|
||||||
collection :file_uris, as: 'fileUris'
|
|
||||||
property :main_class, as: 'mainClass'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class JobStatus
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :state_start_time, as: 'stateStartTime'
|
|
||||||
property :state, as: 'state'
|
|
||||||
property :details, as: 'details'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class ManagedGroupConfig
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :instance_group_manager_name, as: 'instanceGroupManagerName'
|
|
||||||
property :instance_template_name, as: 'instanceTemplateName'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class ClusterOperationStatus
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :state, as: 'state'
|
|
||||||
property :details, as: 'details'
|
|
||||||
property :inner_state, as: 'innerState'
|
|
||||||
property :state_start_time, as: 'stateStartTime'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class HadoopJob
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
hash :properties, as: 'properties'
|
|
||||||
collection :args, as: 'args'
|
|
||||||
collection :file_uris, as: 'fileUris'
|
|
||||||
property :main_class, as: 'mainClass'
|
|
||||||
collection :archive_uris, as: 'archiveUris'
|
|
||||||
property :main_jar_file_uri, as: 'mainJarFileUri'
|
|
||||||
collection :jar_file_uris, as: 'jarFileUris'
|
|
||||||
property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
|
|
||||||
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class QueryList
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
collection :queries, as: 'queries'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class YarnApplication
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :state, as: 'state'
|
|
||||||
property :name, as: 'name'
|
|
||||||
property :tracking_url, as: 'trackingUrl'
|
|
||||||
property :progress, as: 'progress'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class DiagnoseClusterRequest
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class DiskConfig
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :boot_disk_size_gb, as: 'bootDiskSizeGb'
|
|
||||||
property :num_local_ssds, as: 'numLocalSsds'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class ClusterOperationMetadata
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :description, as: 'description'
|
|
||||||
collection :warnings, as: 'warnings'
|
|
||||||
hash :labels, as: 'labels'
|
|
||||||
property :status, as: 'status', class: Google::Apis::DataprocV1::ClusterOperationStatus, decorator: Google::Apis::DataprocV1::ClusterOperationStatus::Representation
|
|
||||||
|
|
||||||
collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::ClusterOperationStatus, decorator: Google::Apis::DataprocV1::ClusterOperationStatus::Representation
|
|
||||||
|
|
||||||
property :cluster_uuid, as: 'clusterUuid'
|
|
||||||
property :cluster_name, as: 'clusterName'
|
|
||||||
property :operation_type, as: 'operationType'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class HiveJob
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :continue_on_failure, as: 'continueOnFailure'
|
|
||||||
property :query_file_uri, as: 'queryFileUri'
|
|
||||||
property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation
|
|
||||||
|
|
||||||
collection :jar_file_uris, as: 'jarFileUris'
|
|
||||||
hash :script_variables, as: 'scriptVariables'
|
|
||||||
hash :properties, as: 'properties'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class Empty
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class DiagnoseClusterResults
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :output_uri, as: 'outputUri'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class ClusterConfig
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
collection :initialization_actions, as: 'initializationActions', class: Google::Apis::DataprocV1::NodeInitializationAction, decorator: Google::Apis::DataprocV1::NodeInitializationAction::Representation
|
|
||||||
|
|
||||||
property :config_bucket, as: 'configBucket'
|
|
||||||
property :worker_config, as: 'workerConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation
|
|
||||||
|
|
||||||
property :gce_cluster_config, as: 'gceClusterConfig', class: Google::Apis::DataprocV1::GceClusterConfig, decorator: Google::Apis::DataprocV1::GceClusterConfig::Representation
|
|
||||||
|
|
||||||
property :software_config, as: 'softwareConfig', class: Google::Apis::DataprocV1::SoftwareConfig, decorator: Google::Apis::DataprocV1::SoftwareConfig::Representation
|
|
||||||
|
|
||||||
property :master_config, as: 'masterConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation
|
|
||||||
|
|
||||||
property :secondary_worker_config, as: 'secondaryWorkerConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation
|
|
||||||
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class PySparkJob
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
collection :python_file_uris, as: 'pythonFileUris'
|
|
||||||
property :main_python_file_uri, as: 'mainPythonFileUri'
|
|
||||||
collection :archive_uris, as: 'archiveUris'
|
|
||||||
collection :jar_file_uris, as: 'jarFileUris'
|
|
||||||
property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
|
|
||||||
|
|
||||||
hash :properties, as: 'properties'
|
|
||||||
collection :args, as: 'args'
|
|
||||||
collection :file_uris, as: 'fileUris'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class GceClusterConfig
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :network_uri, as: 'networkUri'
|
|
||||||
property :zone_uri, as: 'zoneUri'
|
|
||||||
hash :metadata, as: 'metadata'
|
|
||||||
property :internal_ip_only, as: 'internalIpOnly'
|
|
||||||
collection :service_account_scopes, as: 'serviceAccountScopes'
|
|
||||||
collection :tags, as: 'tags'
|
|
||||||
property :service_account, as: 'serviceAccount'
|
|
||||||
property :subnetwork_uri, as: 'subnetworkUri'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -150,43 +150,6 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Deletes a cluster in a project.
|
|
||||||
# @param [String] project_id
|
|
||||||
# Required The ID of the Google Cloud Platform project that the cluster belongs
|
|
||||||
# to.
|
|
||||||
# @param [String] region
|
|
||||||
# Required The Cloud Dataproc region in which to handle the request.
|
|
||||||
# @param [String] cluster_name
|
|
||||||
# Required The cluster name.
|
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [String] quota_user
|
|
||||||
# Available to use for quota purposes for server-side applications. Can be any
|
|
||||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::DataprocV1::Operation] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::DataprocV1::Operation]
|
|
||||||
#
|
|
||||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
||||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
||||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
||||||
def delete_cluster(project_id, region, cluster_name, fields: nil, quota_user: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:delete, 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}', options)
|
|
||||||
command.response_representation = Google::Apis::DataprocV1::Operation::Representation
|
|
||||||
command.response_class = Google::Apis::DataprocV1::Operation
|
|
||||||
command.params['projectId'] = project_id unless project_id.nil?
|
|
||||||
command.params['region'] = region unless region.nil?
|
|
||||||
command.params['clusterName'] = cluster_name unless cluster_name.nil?
|
|
||||||
command.query['fields'] = fields unless fields.nil?
|
|
||||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
||||||
execute_or_queue_command(command, &block)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Gets cluster diagnostic information. After the operation completes, the
|
# Gets cluster diagnostic information. After the operation completes, the
|
||||||
# Operation.response field contains DiagnoseClusterOutputLocation.
|
# Operation.response field contains DiagnoseClusterOutputLocation.
|
||||||
# @param [String] project_id
|
# @param [String] project_id
|
||||||
|
@ -228,14 +191,49 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Deletes a cluster in a project.
|
||||||
|
# @param [String] project_id
|
||||||
|
# Required The ID of the Google Cloud Platform project that the cluster belongs
|
||||||
|
# to.
|
||||||
|
# @param [String] region
|
||||||
|
# Required The Cloud Dataproc region in which to handle the request.
|
||||||
|
# @param [String] cluster_name
|
||||||
|
# Required The cluster name.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::DataprocV1::Operation] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::DataprocV1::Operation]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def delete_cluster(project_id, region, cluster_name, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:delete, 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}', options)
|
||||||
|
command.response_representation = Google::Apis::DataprocV1::Operation::Representation
|
||||||
|
command.response_class = Google::Apis::DataprocV1::Operation
|
||||||
|
command.params['projectId'] = project_id unless project_id.nil?
|
||||||
|
command.params['region'] = region unless region.nil?
|
||||||
|
command.params['clusterName'] = cluster_name unless cluster_name.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
# Lists all regions/`region`/clusters in a project.
|
# Lists all regions/`region`/clusters in a project.
|
||||||
# @param [String] project_id
|
# @param [String] project_id
|
||||||
# Required The ID of the Google Cloud Platform project that the cluster belongs
|
# Required The ID of the Google Cloud Platform project that the cluster belongs
|
||||||
# to.
|
# to.
|
||||||
# @param [String] region
|
# @param [String] region
|
||||||
# Required The Cloud Dataproc region in which to handle the request.
|
# Required The Cloud Dataproc region in which to handle the request.
|
||||||
# @param [String] page_token
|
|
||||||
# Optional The standard List page token.
|
|
||||||
# @param [Fixnum] page_size
|
# @param [Fixnum] page_size
|
||||||
# Optional The standard List page size.
|
# Optional The standard List page size.
|
||||||
# @param [String] filter
|
# @param [String] filter
|
||||||
|
@ -250,6 +248,8 @@ module Google
|
||||||
# separated items are treated as having an implicit AND operator.Example filter:
|
# separated items are treated as having an implicit AND operator.Example filter:
|
||||||
# status.state = ACTIVE AND clusterName = mycluster AND labels.env = staging AND
|
# status.state = ACTIVE AND clusterName = mycluster AND labels.env = staging AND
|
||||||
# labels.starred = *
|
# labels.starred = *
|
||||||
|
# @param [String] page_token
|
||||||
|
# Optional The standard List page token.
|
||||||
# @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
|
||||||
|
@ -267,15 +267,15 @@ 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 list_clusters(project_id, region, page_token: nil, page_size: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
|
def list_clusters(project_id, region, page_size: nil, filter: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
command = make_simple_command(:get, 'v1/projects/{projectId}/regions/{region}/clusters', options)
|
command = make_simple_command(:get, 'v1/projects/{projectId}/regions/{region}/clusters', options)
|
||||||
command.response_representation = Google::Apis::DataprocV1::ListClustersResponse::Representation
|
command.response_representation = Google::Apis::DataprocV1::ListClustersResponse::Representation
|
||||||
command.response_class = Google::Apis::DataprocV1::ListClustersResponse
|
command.response_class = Google::Apis::DataprocV1::ListClustersResponse
|
||||||
command.params['projectId'] = project_id unless project_id.nil?
|
command.params['projectId'] = project_id unless project_id.nil?
|
||||||
command.params['region'] = region unless region.nil?
|
command.params['region'] = region unless region.nil?
|
||||||
command.query['pageToken'] = page_token unless page_token.nil?
|
|
||||||
command.query['pageSize'] = page_size unless page_size.nil?
|
command.query['pageSize'] = page_size unless page_size.nil?
|
||||||
command.query['filter'] = filter unless filter.nil?
|
command.query['filter'] = filter unless filter.nil?
|
||||||
|
command.query['pageToken'] = page_token unless page_token.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)
|
||||||
|
@ -394,12 +394,12 @@ module Google
|
||||||
# name schemes, such as users/*/operations.
|
# name schemes, such as users/*/operations.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# The name of the operation collection.
|
# The name of the operation collection.
|
||||||
|
# @param [Fixnum] page_size
|
||||||
|
# The standard list page size.
|
||||||
# @param [String] filter
|
# @param [String] filter
|
||||||
# The standard list filter.
|
# The standard list filter.
|
||||||
# @param [String] page_token
|
# @param [String] page_token
|
||||||
# The standard list page token.
|
# The standard list page token.
|
||||||
# @param [Fixnum] page_size
|
|
||||||
# The standard list page size.
|
|
||||||
# @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
|
||||||
|
@ -417,14 +417,14 @@ 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 list_operations(name, filter: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block)
|
def list_operations(name, page_size: nil, filter: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
command = make_simple_command(:get, 'v1/{+name}', options)
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
||||||
command.response_representation = Google::Apis::DataprocV1::ListOperationsResponse::Representation
|
command.response_representation = Google::Apis::DataprocV1::ListOperationsResponse::Representation
|
||||||
command.response_class = Google::Apis::DataprocV1::ListOperationsResponse
|
command.response_class = Google::Apis::DataprocV1::ListOperationsResponse
|
||||||
command.params['name'] = name unless name.nil?
|
command.params['name'] = name unless name.nil?
|
||||||
|
command.query['pageSize'] = page_size unless page_size.nil?
|
||||||
command.query['filter'] = filter unless filter.nil?
|
command.query['filter'] = filter unless filter.nil?
|
||||||
command.query['pageToken'] = page_token unless page_token.nil?
|
command.query['pageToken'] = page_token unless page_token.nil?
|
||||||
command.query['pageSize'] = page_size unless page_size.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)
|
||||||
|
@ -461,136 +461,6 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Submits a job to a cluster.
|
|
||||||
# @param [String] project_id
|
|
||||||
# Required The ID of the Google Cloud Platform project that the job belongs to.
|
|
||||||
# @param [String] region
|
|
||||||
# Required The Cloud Dataproc region in which to handle the request.
|
|
||||||
# @param [Google::Apis::DataprocV1::SubmitJobRequest] submit_job_request_object
|
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [String] quota_user
|
|
||||||
# Available to use for quota purposes for server-side applications. Can be any
|
|
||||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::DataprocV1::Job] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::DataprocV1::Job]
|
|
||||||
#
|
|
||||||
# @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 submit_job(project_id, region, submit_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:post, 'v1/projects/{projectId}/regions/{region}/jobs:submit', options)
|
|
||||||
command.request_representation = Google::Apis::DataprocV1::SubmitJobRequest::Representation
|
|
||||||
command.request_object = submit_job_request_object
|
|
||||||
command.response_representation = Google::Apis::DataprocV1::Job::Representation
|
|
||||||
command.response_class = Google::Apis::DataprocV1::Job
|
|
||||||
command.params['projectId'] = project_id unless project_id.nil?
|
|
||||||
command.params['region'] = region unless region.nil?
|
|
||||||
command.query['fields'] = fields unless fields.nil?
|
|
||||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
||||||
execute_or_queue_command(command, &block)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Deletes the job from the project. If the job is active, the delete fails, and
|
|
||||||
# the response returns FAILED_PRECONDITION.
|
|
||||||
# @param [String] project_id
|
|
||||||
# Required The ID of the Google Cloud Platform project that the job belongs to.
|
|
||||||
# @param [String] region
|
|
||||||
# Required The Cloud Dataproc region in which to handle the request.
|
|
||||||
# @param [String] job_id
|
|
||||||
# Required The job ID.
|
|
||||||
# @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::DataprocV1::Empty] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::DataprocV1::Empty]
|
|
||||||
#
|
|
||||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
||||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
||||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
||||||
def delete_job(project_id, region, job_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:delete, 'v1/projects/{projectId}/regions/{region}/jobs/{jobId}', options)
|
|
||||||
command.response_representation = Google::Apis::DataprocV1::Empty::Representation
|
|
||||||
command.response_class = Google::Apis::DataprocV1::Empty
|
|
||||||
command.params['projectId'] = project_id unless project_id.nil?
|
|
||||||
command.params['region'] = region unless region.nil?
|
|
||||||
command.params['jobId'] = job_id unless job_id.nil?
|
|
||||||
command.query['fields'] = fields unless fields.nil?
|
|
||||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
||||||
execute_or_queue_command(command, &block)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Lists regions/`region`/jobs in a project.
|
|
||||||
# @param [String] project_id
|
|
||||||
# Required The ID of the Google Cloud Platform project that the job belongs to.
|
|
||||||
# @param [String] region
|
|
||||||
# Required The Cloud Dataproc region in which to handle the request.
|
|
||||||
# @param [String] cluster_name
|
|
||||||
# Optional If set, the returned jobs list includes only jobs that were submitted
|
|
||||||
# to the named cluster.
|
|
||||||
# @param [String] filter
|
|
||||||
# Optional A filter constraining the jobs to list. Filters are case-sensitive
|
|
||||||
# and have the following syntax:field = value AND field = value ...where field
|
|
||||||
# is status.state or labels.[KEY], and [KEY] is a label key. value can be * to
|
|
||||||
# match all values. status.state can be either ACTIVE or INACTIVE. Only the
|
|
||||||
# logical AND operator is supported; space-separated items are treated as having
|
|
||||||
# an implicit AND operator.Example filter:status.state = ACTIVE AND labels.env =
|
|
||||||
# staging AND labels.starred = *
|
|
||||||
# @param [String] job_state_matcher
|
|
||||||
# Optional Specifies enumerated categories of jobs to list (default = match ALL
|
|
||||||
# jobs).
|
|
||||||
# @param [String] page_token
|
|
||||||
# Optional The page token, returned by a previous call, to request the next page
|
|
||||||
# of results.
|
|
||||||
# @param [Fixnum] page_size
|
|
||||||
# Optional The number of results to return in each response.
|
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [String] quota_user
|
|
||||||
# Available to use for quota purposes for server-side applications. Can be any
|
|
||||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::DataprocV1::ListJobsResponse] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::DataprocV1::ListJobsResponse]
|
|
||||||
#
|
|
||||||
# @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_jobs(project_id, region, cluster_name: nil, filter: nil, job_state_matcher: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:get, 'v1/projects/{projectId}/regions/{region}/jobs', options)
|
|
||||||
command.response_representation = Google::Apis::DataprocV1::ListJobsResponse::Representation
|
|
||||||
command.response_class = Google::Apis::DataprocV1::ListJobsResponse
|
|
||||||
command.params['projectId'] = project_id unless project_id.nil?
|
|
||||||
command.params['region'] = region unless region.nil?
|
|
||||||
command.query['clusterName'] = cluster_name unless cluster_name.nil?
|
|
||||||
command.query['filter'] = filter unless filter.nil?
|
|
||||||
command.query['jobStateMatcher'] = job_state_matcher unless job_state_matcher.nil?
|
|
||||||
command.query['pageToken'] = page_token unless page_token.nil?
|
|
||||||
command.query['pageSize'] = page_size unless page_size.nil?
|
|
||||||
command.query['fields'] = fields unless fields.nil?
|
|
||||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
||||||
execute_or_queue_command(command, &block)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Starts a job cancellation request. To access the job resource after
|
# Starts a job cancellation request. To access the job resource after
|
||||||
# cancellation, call regions/`region`/jobs.list or regions/`region`/jobs.get.
|
# cancellation, call regions/`region`/jobs.list or regions/`region`/jobs.get.
|
||||||
# @param [String] project_id
|
# @param [String] project_id
|
||||||
|
@ -713,6 +583,136 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Submits a job to a cluster.
|
||||||
|
# @param [String] project_id
|
||||||
|
# Required The ID of the Google Cloud Platform project that the job belongs to.
|
||||||
|
# @param [String] region
|
||||||
|
# Required The Cloud Dataproc region in which to handle the request.
|
||||||
|
# @param [Google::Apis::DataprocV1::SubmitJobRequest] submit_job_request_object
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::DataprocV1::Job] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::DataprocV1::Job]
|
||||||
|
#
|
||||||
|
# @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 submit_job(project_id, region, submit_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, 'v1/projects/{projectId}/regions/{region}/jobs:submit', options)
|
||||||
|
command.request_representation = Google::Apis::DataprocV1::SubmitJobRequest::Representation
|
||||||
|
command.request_object = submit_job_request_object
|
||||||
|
command.response_representation = Google::Apis::DataprocV1::Job::Representation
|
||||||
|
command.response_class = Google::Apis::DataprocV1::Job
|
||||||
|
command.params['projectId'] = project_id unless project_id.nil?
|
||||||
|
command.params['region'] = region unless region.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Deletes the job from the project. If the job is active, the delete fails, and
|
||||||
|
# the response returns FAILED_PRECONDITION.
|
||||||
|
# @param [String] project_id
|
||||||
|
# Required The ID of the Google Cloud Platform project that the job belongs to.
|
||||||
|
# @param [String] region
|
||||||
|
# Required The Cloud Dataproc region in which to handle the request.
|
||||||
|
# @param [String] job_id
|
||||||
|
# Required The job ID.
|
||||||
|
# @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::DataprocV1::Empty] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::DataprocV1::Empty]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def delete_job(project_id, region, job_id, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:delete, 'v1/projects/{projectId}/regions/{region}/jobs/{jobId}', options)
|
||||||
|
command.response_representation = Google::Apis::DataprocV1::Empty::Representation
|
||||||
|
command.response_class = Google::Apis::DataprocV1::Empty
|
||||||
|
command.params['projectId'] = project_id unless project_id.nil?
|
||||||
|
command.params['region'] = region unless region.nil?
|
||||||
|
command.params['jobId'] = job_id unless job_id.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Lists regions/`region`/jobs in a project.
|
||||||
|
# @param [String] project_id
|
||||||
|
# Required The ID of the Google Cloud Platform project that the job belongs to.
|
||||||
|
# @param [String] region
|
||||||
|
# Required The Cloud Dataproc region in which to handle the request.
|
||||||
|
# @param [String] filter
|
||||||
|
# Optional A filter constraining the jobs to list. Filters are case-sensitive
|
||||||
|
# and have the following syntax:field = value AND field = value ...where field
|
||||||
|
# is status.state or labels.[KEY], and [KEY] is a label key. value can be * to
|
||||||
|
# match all values. status.state can be either ACTIVE or INACTIVE. Only the
|
||||||
|
# logical AND operator is supported; space-separated items are treated as having
|
||||||
|
# an implicit AND operator.Example filter:status.state = ACTIVE AND labels.env =
|
||||||
|
# staging AND labels.starred = *
|
||||||
|
# @param [String] job_state_matcher
|
||||||
|
# Optional Specifies enumerated categories of jobs to list (default = match ALL
|
||||||
|
# jobs).
|
||||||
|
# @param [String] page_token
|
||||||
|
# Optional The page token, returned by a previous call, to request the next page
|
||||||
|
# of results.
|
||||||
|
# @param [Fixnum] page_size
|
||||||
|
# Optional The number of results to return in each response.
|
||||||
|
# @param [String] cluster_name
|
||||||
|
# Optional If set, the returned jobs list includes only jobs that were submitted
|
||||||
|
# to the named cluster.
|
||||||
|
# @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::DataprocV1::ListJobsResponse] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::DataprocV1::ListJobsResponse]
|
||||||
|
#
|
||||||
|
# @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_jobs(project_id, region, filter: nil, job_state_matcher: nil, page_token: nil, page_size: nil, cluster_name: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, 'v1/projects/{projectId}/regions/{region}/jobs', options)
|
||||||
|
command.response_representation = Google::Apis::DataprocV1::ListJobsResponse::Representation
|
||||||
|
command.response_class = Google::Apis::DataprocV1::ListJobsResponse
|
||||||
|
command.params['projectId'] = project_id unless project_id.nil?
|
||||||
|
command.params['region'] = region unless region.nil?
|
||||||
|
command.query['filter'] = filter unless filter.nil?
|
||||||
|
command.query['jobStateMatcher'] = job_state_matcher unless job_state_matcher.nil?
|
||||||
|
command.query['pageToken'] = page_token unless page_token.nil?
|
||||||
|
command.query['pageSize'] = page_size unless page_size.nil?
|
||||||
|
command.query['clusterName'] = cluster_name unless cluster_name.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
protected
|
protected
|
||||||
|
|
||||||
def apply_command_defaults(command)
|
def apply_command_defaults(command)
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/deployment-manager/
|
# @see https://cloud.google.com/deployment-manager/
|
||||||
module DeploymentmanagerV2
|
module DeploymentmanagerV2
|
||||||
VERSION = 'V2'
|
VERSION = 'V2'
|
||||||
REVISION = '20170302'
|
REVISION = '20170315'
|
||||||
|
|
||||||
# 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,9 +22,9 @@ module Google
|
||||||
module Apis
|
module Apis
|
||||||
module DeploymentmanagerV2
|
module DeploymentmanagerV2
|
||||||
|
|
||||||
# Specifies the audit configuration for a service. It consists of which
|
# Specifies the audit configuration for a service. The configuration determines
|
||||||
# permission types are logged, and what identities, if any, are exempted from
|
# which permission types are logged, and what identities, if any, are exempted
|
||||||
# logging. An AuditConifg must have one or more AuditLogConfigs.
|
# from logging. An AuditConifg must have one or more AuditLogConfigs.
|
||||||
# If there are AuditConfigs for both `allServices` and a specific service, the
|
# If there are AuditConfigs for both `allServices` and a specific service, the
|
||||||
# union of the two AuditConfigs is used for that service: the log_types
|
# union of the two AuditConfigs is used for that service: the log_types
|
||||||
# specified in each AuditConfig are enabled, and the exempted_members in each
|
# specified in each AuditConfig are enabled, and the exempted_members in each
|
||||||
|
@ -51,8 +51,8 @@ module Google
|
||||||
attr_accessor :exempted_members
|
attr_accessor :exempted_members
|
||||||
|
|
||||||
# Specifies a service that will be enabled for audit logging. For example, `
|
# Specifies a service that will be enabled for audit logging. For example, `
|
||||||
# resourcemanager`, `storage`, `compute`. `allServices` is a special value that
|
# storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
|
||||||
# covers all services.
|
# value that covers all services.
|
||||||
# Corresponds to the JSON property `service`
|
# Corresponds to the JSON property `service`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :service
|
attr_accessor :service
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/cloud-dns
|
# @see https://developers.google.com/cloud-dns
|
||||||
module DnsV1
|
module DnsV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20170221'
|
REVISION = '20170322'
|
||||||
|
|
||||||
# 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://developers.google.com/cloud-dns
|
# @see https://developers.google.com/cloud-dns
|
||||||
module DnsV2beta1
|
module DnsV2beta1
|
||||||
VERSION = 'V2beta1'
|
VERSION = 'V2beta1'
|
||||||
REVISION = '20170221'
|
REVISION = '20170322'
|
||||||
|
|
||||||
# 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://developers.google.com/doubleclick-search/
|
# @see https://developers.google.com/doubleclick-search/
|
||||||
module DoubleclicksearchV2
|
module DoubleclicksearchV2
|
||||||
VERSION = 'V2'
|
VERSION = 'V2'
|
||||||
REVISION = '20170228'
|
REVISION = '20170314'
|
||||||
|
|
||||||
# View and manage your advertising data in DoubleClick Search
|
# View and manage your advertising data in DoubleClick Search
|
||||||
AUTH_DOUBLECLICKSEARCH = 'https://www.googleapis.com/auth/doubleclicksearch'
|
AUTH_DOUBLECLICKSEARCH = 'https://www.googleapis.com/auth/doubleclicksearch'
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://developers.google.com/drive/
|
# @see https://developers.google.com/drive/
|
||||||
module DriveV2
|
module DriveV2
|
||||||
VERSION = 'V2'
|
VERSION = 'V2'
|
||||||
REVISION = '20170228'
|
REVISION = '20170320'
|
||||||
|
|
||||||
# View and manage the files in your Google Drive
|
# View and manage the files in your Google Drive
|
||||||
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
||||||
|
|
|
@ -1571,7 +1571,9 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :thumbnail_version
|
attr_accessor :thumbnail_version
|
||||||
|
|
||||||
# The title of this file.
|
# The title of this file. Note that for immutable items such as the top level
|
||||||
|
# folders of Team Drives, My Drive root folder, and Application Data folder the
|
||||||
|
# title is constant.
|
||||||
# Corresponds to the JSON property `title`
|
# Corresponds to the JSON property `title`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :title
|
attr_accessor :title
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://developers.google.com/drive/
|
# @see https://developers.google.com/drive/
|
||||||
module DriveV3
|
module DriveV3
|
||||||
VERSION = 'V3'
|
VERSION = 'V3'
|
||||||
REVISION = '20170228'
|
REVISION = '20170320'
|
||||||
|
|
||||||
# View and manage the files in your Google Drive
|
# View and manage the files in your Google Drive
|
||||||
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
||||||
|
|
|
@ -618,7 +618,9 @@ module Google
|
||||||
# @return [DateTime]
|
# @return [DateTime]
|
||||||
attr_accessor :modified_time
|
attr_accessor :modified_time
|
||||||
|
|
||||||
# The name of the file. This is not necessarily unique within a folder.
|
# The name of the file. This is not necessarily unique within a folder. Note
|
||||||
|
# that for immutable items such as the top level folders of Team Drives, My
|
||||||
|
# Drive root folder, and Application Data folder the name is constant.
|
||||||
# Corresponds to the JSON property `name`
|
# Corresponds to the JSON property `name`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :name
|
attr_accessor :name
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/fusiontables
|
# @see https://developers.google.com/fusiontables
|
||||||
module FusiontablesV2
|
module FusiontablesV2
|
||||||
VERSION = 'V2'
|
VERSION = 'V2'
|
||||||
REVISION = '20160526'
|
REVISION = '20170321'
|
||||||
|
|
||||||
# Manage your Fusion Tables
|
# Manage your Fusion Tables
|
||||||
AUTH_FUSIONTABLES = 'https://www.googleapis.com/auth/fusiontables'
|
AUTH_FUSIONTABLES = 'https://www.googleapis.com/auth/fusiontables'
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/games/services
|
# @see https://developers.google.com/games/services
|
||||||
module GamesConfigurationV1configuration
|
module GamesConfigurationV1configuration
|
||||||
VERSION = 'V1configuration'
|
VERSION = 'V1configuration'
|
||||||
REVISION = '20170302'
|
REVISION = '20170323'
|
||||||
|
|
||||||
# View and manage your Google Play Developer account
|
# View and manage your Google Play Developer account
|
||||||
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/games/services
|
# @see https://developers.google.com/games/services
|
||||||
module GamesManagementV1management
|
module GamesManagementV1management
|
||||||
VERSION = 'V1management'
|
VERSION = 'V1management'
|
||||||
REVISION = '20170302'
|
REVISION = '20170323'
|
||||||
|
|
||||||
# Share your Google+ profile information and view and manage your game activity
|
# Share your Google+ profile information and view and manage your game activity
|
||||||
AUTH_GAMES = 'https://www.googleapis.com/auth/games'
|
AUTH_GAMES = 'https://www.googleapis.com/auth/games'
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/games/services/
|
# @see https://developers.google.com/games/services/
|
||||||
module GamesV1
|
module GamesV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20170302'
|
REVISION = '20170323'
|
||||||
|
|
||||||
# View and manage its own configuration data in your Google Drive
|
# View and manage its own configuration data in your Google Drive
|
||||||
AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata'
|
AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata'
|
||||||
|
|
|
@ -25,7 +25,13 @@ module Google
|
||||||
# @see https://cloud.google.com/genomics
|
# @see https://cloud.google.com/genomics
|
||||||
module GenomicsV1
|
module GenomicsV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20170309'
|
REVISION = '20170322'
|
||||||
|
|
||||||
|
# View and manage your data across Google Cloud Platform services
|
||||||
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
||||||
|
# View Genomics data
|
||||||
|
AUTH_GENOMICS_READONLY = 'https://www.googleapis.com/auth/genomics.readonly'
|
||||||
|
|
||||||
# View and manage Genomics data
|
# View and manage Genomics data
|
||||||
AUTH_GENOMICS = 'https://www.googleapis.com/auth/genomics'
|
AUTH_GENOMICS = 'https://www.googleapis.com/auth/genomics'
|
||||||
|
@ -35,12 +41,6 @@ module Google
|
||||||
|
|
||||||
# Manage your data in Google Cloud Storage
|
# Manage your data in Google Cloud Storage
|
||||||
AUTH_DEVSTORAGE_READ_WRITE = 'https://www.googleapis.com/auth/devstorage.read_write'
|
AUTH_DEVSTORAGE_READ_WRITE = 'https://www.googleapis.com/auth/devstorage.read_write'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
||||||
|
|
||||||
# View Genomics data
|
|
||||||
AUTH_GENOMICS_READONLY = 'https://www.googleapis.com/auth/genomics.readonly'
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -22,48 +22,6 @@ module Google
|
||||||
module Apis
|
module Apis
|
||||||
module GenomicsV1
|
module GenomicsV1
|
||||||
|
|
||||||
class TestIamPermissionsResponse
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class GetIamPolicyRequest
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class SearchReferencesResponse
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class SearchAnnotationSetsRequest
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class SearchReadGroupSetsResponse
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class SearchReferencesRequest
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class LinearAlignment
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class Dataset
|
class Dataset
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -142,19 +100,13 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class Annotation
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class CancelOperationRequest
|
class CancelOperationRequest
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class RuntimeMetadata
|
class Annotation
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
@ -166,6 +118,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class RuntimeMetadata
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class ImportReadGroupSetsResponse
|
class ImportReadGroupSetsResponse
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -196,13 +154,13 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class UndeleteDatasetRequest
|
class Binding
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class Binding
|
class UndeleteDatasetRequest
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
@ -250,13 +208,13 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class SearchVariantsRequest
|
class OperationMetadata
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class OperationMetadata
|
class SearchVariantsRequest
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
@ -292,13 +250,13 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class CoverageBucket
|
class ComputeEngine
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class ComputeEngine
|
class CoverageBucket
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
@ -346,19 +304,13 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class BatchCreateAnnotationsRequest
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class Read
|
class Read
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class ReferenceSet
|
class BatchCreateAnnotationsRequest
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
@ -370,7 +322,7 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class AnnotationSet
|
class ReferenceSet
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
@ -382,6 +334,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class AnnotationSet
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class Experiment
|
class Experiment
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -430,13 +388,13 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class VariantAnnotation
|
class ListCoverageBucketsResponse
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class ListCoverageBucketsResponse
|
class VariantAnnotation
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
@ -466,69 +424,46 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class TestIamPermissionsResponse
|
class GetIamPolicyRequest
|
||||||
# @private
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
collection :permissions, as: 'permissions'
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
class GetIamPolicyRequest
|
class TestIamPermissionsResponse
|
||||||
# @private
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
end
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class SearchReferencesResponse
|
class SearchReferencesResponse
|
||||||
# @private
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
collection :references, as: 'references', class: Google::Apis::GenomicsV1::Reference, decorator: Google::Apis::GenomicsV1::Reference::Representation
|
|
||||||
|
|
||||||
property :next_page_token, as: 'nextPageToken'
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
class SearchAnnotationSetsRequest
|
class SearchAnnotationSetsRequest
|
||||||
# @private
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :name, as: 'name'
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
property :reference_set_id, as: 'referenceSetId'
|
|
||||||
property :page_token, as: 'pageToken'
|
|
||||||
property :page_size, as: 'pageSize'
|
|
||||||
collection :dataset_ids, as: 'datasetIds'
|
|
||||||
collection :types, as: 'types'
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
class SearchReadGroupSetsResponse
|
class SearchReadGroupSetsResponse
|
||||||
# @private
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
collection :read_group_sets, as: 'readGroupSets', class: Google::Apis::GenomicsV1::ReadGroupSet, decorator: Google::Apis::GenomicsV1::ReadGroupSet::Representation
|
|
||||||
|
|
||||||
property :next_page_token, as: 'nextPageToken'
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class SearchReferencesRequest
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
collection :md5checksums, as: 'md5checksums'
|
|
||||||
collection :accessions, as: 'accessions'
|
|
||||||
property :page_token, as: 'pageToken'
|
|
||||||
property :reference_set_id, as: 'referenceSetId'
|
|
||||||
property :page_size, as: 'pageSize'
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
class LinearAlignment
|
class LinearAlignment
|
||||||
# @private
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :position, as: 'position', class: Google::Apis::GenomicsV1::Position, decorator: Google::Apis::GenomicsV1::Position::Representation
|
|
||||||
|
|
||||||
collection :cigar, as: 'cigar', class: Google::Apis::GenomicsV1::CigarUnit, decorator: Google::Apis::GenomicsV1::CigarUnit::Representation
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
property :mapping_quality, as: 'mappingQuality'
|
class SearchReferencesRequest
|
||||||
end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class Dataset
|
class Dataset
|
||||||
|
@ -559,9 +494,9 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
property :id, as: 'id'
|
property :id, as: 'id'
|
||||||
property :predicted_insert_size, as: 'predictedInsertSize'
|
|
||||||
collection :programs, as: 'programs', class: Google::Apis::GenomicsV1::Program, decorator: Google::Apis::GenomicsV1::Program::Representation
|
collection :programs, as: 'programs', class: Google::Apis::GenomicsV1::Program, decorator: Google::Apis::GenomicsV1::Program::Representation
|
||||||
|
|
||||||
|
property :predicted_insert_size, as: 'predictedInsertSize'
|
||||||
property :description, as: 'description'
|
property :description, as: 'description'
|
||||||
property :sample_id, as: 'sampleId'
|
property :sample_id, as: 'sampleId'
|
||||||
property :dataset_id, as: 'datasetId'
|
property :dataset_id, as: 'datasetId'
|
||||||
|
@ -573,11 +508,9 @@ module Google
|
||||||
class ReadGroupSet
|
class ReadGroupSet
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :id, as: 'id'
|
|
||||||
property :dataset_id, as: 'datasetId'
|
|
||||||
property :filename, as: 'filename'
|
|
||||||
collection :read_groups, as: 'readGroups', class: Google::Apis::GenomicsV1::ReadGroup, decorator: Google::Apis::GenomicsV1::ReadGroup::Representation
|
collection :read_groups, as: 'readGroups', class: Google::Apis::GenomicsV1::ReadGroup, decorator: Google::Apis::GenomicsV1::ReadGroup::Representation
|
||||||
|
|
||||||
|
property :filename, as: 'filename'
|
||||||
property :name, as: 'name'
|
property :name, as: 'name'
|
||||||
property :reference_set_id, as: 'referenceSetId'
|
property :reference_set_id, as: 'referenceSetId'
|
||||||
hash :info, as: 'info', :class => Array do
|
hash :info, as: 'info', :class => Array do
|
||||||
|
@ -585,15 +518,17 @@ module Google
|
||||||
items
|
items
|
||||||
end
|
end
|
||||||
|
|
||||||
|
property :id, as: 'id'
|
||||||
|
property :dataset_id, as: 'datasetId'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class SearchVariantSetsResponse
|
class SearchVariantSetsResponse
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :next_page_token, as: 'nextPageToken'
|
||||||
collection :variant_sets, as: 'variantSets', class: Google::Apis::GenomicsV1::VariantSet, decorator: Google::Apis::GenomicsV1::VariantSet::Representation
|
collection :variant_sets, as: 'variantSets', class: Google::Apis::GenomicsV1::VariantSet, decorator: Google::Apis::GenomicsV1::VariantSet::Representation
|
||||||
|
|
||||||
property :next_page_token, as: 'nextPageToken'
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -616,9 +551,9 @@ module Google
|
||||||
class Position
|
class Position
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :reverse_strand, as: 'reverseStrand'
|
|
||||||
property :position, as: 'position'
|
property :position, as: 'position'
|
||||||
property :reference_name, as: 'referenceName'
|
property :reference_name, as: 'referenceName'
|
||||||
|
property :reverse_strand, as: 'reverseStrand'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -634,10 +569,10 @@ module Google
|
||||||
class SearchCallSetsRequest
|
class SearchCallSetsRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :variant_set_ids, as: 'variantSetIds'
|
||||||
property :name, as: 'name'
|
property :name, as: 'name'
|
||||||
property :page_token, as: 'pageToken'
|
property :page_token, as: 'pageToken'
|
||||||
property :page_size, as: 'pageSize'
|
property :page_size, as: 'pageSize'
|
||||||
collection :variant_set_ids, as: 'variantSetIds'
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -664,37 +599,13 @@ module Google
|
||||||
class SearchReadsRequest
|
class SearchReadsRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
collection :read_group_set_ids, as: 'readGroupSetIds'
|
|
||||||
collection :read_group_ids, as: 'readGroupIds'
|
collection :read_group_ids, as: 'readGroupIds'
|
||||||
property :end, as: 'end'
|
property :end, as: 'end'
|
||||||
property :page_token, as: 'pageToken'
|
property :page_token, as: 'pageToken'
|
||||||
property :page_size, as: 'pageSize'
|
property :page_size, as: 'pageSize'
|
||||||
property :start, as: 'start'
|
property :start, as: 'start'
|
||||||
property :reference_name, as: 'referenceName'
|
property :reference_name, as: 'referenceName'
|
||||||
end
|
collection :read_group_set_ids, as: 'readGroupSetIds'
|
||||||
end
|
|
||||||
|
|
||||||
class Annotation
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :reference_name, as: 'referenceName'
|
|
||||||
property :type, as: 'type'
|
|
||||||
hash :info, as: 'info', :class => Array do
|
|
||||||
include Representable::JSON::Collection
|
|
||||||
items
|
|
||||||
end
|
|
||||||
|
|
||||||
property :end, as: 'end'
|
|
||||||
property :transcript, as: 'transcript', class: Google::Apis::GenomicsV1::Transcript, decorator: Google::Apis::GenomicsV1::Transcript::Representation
|
|
||||||
|
|
||||||
property :start, as: 'start'
|
|
||||||
property :annotation_set_id, as: 'annotationSetId'
|
|
||||||
property :name, as: 'name'
|
|
||||||
property :variant, as: 'variant', class: Google::Apis::GenomicsV1::VariantAnnotation, decorator: Google::Apis::GenomicsV1::VariantAnnotation::Representation
|
|
||||||
|
|
||||||
property :id, as: 'id'
|
|
||||||
property :reference_id, as: 'referenceId'
|
|
||||||
property :reverse_strand, as: 'reverseStrand'
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -704,23 +615,47 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class RuntimeMetadata
|
class Annotation
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :compute_engine, as: 'computeEngine', class: Google::Apis::GenomicsV1::ComputeEngine, decorator: Google::Apis::GenomicsV1::ComputeEngine::Representation
|
property :reverse_strand, as: 'reverseStrand'
|
||||||
|
property :reference_name, as: 'referenceName'
|
||||||
|
hash :info, as: 'info', :class => Array do
|
||||||
|
include Representable::JSON::Collection
|
||||||
|
items
|
||||||
|
end
|
||||||
|
|
||||||
|
property :type, as: 'type'
|
||||||
|
property :end, as: 'end'
|
||||||
|
property :transcript, as: 'transcript', class: Google::Apis::GenomicsV1::Transcript, decorator: Google::Apis::GenomicsV1::Transcript::Representation
|
||||||
|
|
||||||
|
property :start, as: 'start'
|
||||||
|
property :annotation_set_id, as: 'annotationSetId'
|
||||||
|
property :name, as: 'name'
|
||||||
|
property :variant, as: 'variant', class: Google::Apis::GenomicsV1::VariantAnnotation, decorator: Google::Apis::GenomicsV1::VariantAnnotation::Representation
|
||||||
|
|
||||||
|
property :reference_id, as: 'referenceId'
|
||||||
|
property :id, as: 'id'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class Operation
|
class Operation
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :done, as: 'done'
|
|
||||||
hash :response, as: 'response'
|
hash :response, as: 'response'
|
||||||
property :name, as: 'name'
|
property :name, as: 'name'
|
||||||
property :error, as: 'error', class: Google::Apis::GenomicsV1::Status, decorator: Google::Apis::GenomicsV1::Status::Representation
|
property :error, as: 'error', class: Google::Apis::GenomicsV1::Status, decorator: Google::Apis::GenomicsV1::Status::Representation
|
||||||
|
|
||||||
hash :metadata, as: 'metadata'
|
hash :metadata, as: 'metadata'
|
||||||
|
property :done, as: 'done'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class RuntimeMetadata
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :compute_engine, as: 'computeEngine', class: Google::Apis::GenomicsV1::ComputeEngine, decorator: Google::Apis::GenomicsV1::ComputeEngine::Representation
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -734,6 +669,9 @@ module Google
|
||||||
class VariantCall
|
class VariantCall
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :call_set_name, as: 'callSetName'
|
||||||
|
collection :genotype_likelihood, as: 'genotypeLikelihood'
|
||||||
|
property :call_set_id, as: 'callSetId'
|
||||||
collection :genotype, as: 'genotype'
|
collection :genotype, as: 'genotype'
|
||||||
property :phaseset, as: 'phaseset'
|
property :phaseset, as: 'phaseset'
|
||||||
hash :info, as: 'info', :class => Array do
|
hash :info, as: 'info', :class => Array do
|
||||||
|
@ -741,9 +679,6 @@ module Google
|
||||||
items
|
items
|
||||||
end
|
end
|
||||||
|
|
||||||
property :call_set_name, as: 'callSetName'
|
|
||||||
collection :genotype_likelihood, as: 'genotypeLikelihood'
|
|
||||||
property :call_set_id, as: 'callSetId'
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -759,9 +694,9 @@ module Google
|
||||||
class ListBasesResponse
|
class ListBasesResponse
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :offset, as: 'offset'
|
|
||||||
property :next_page_token, as: 'nextPageToken'
|
property :next_page_token, as: 'nextPageToken'
|
||||||
property :sequence, as: 'sequence'
|
property :sequence, as: 'sequence'
|
||||||
|
property :offset, as: 'offset'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -774,12 +709,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class UndeleteDatasetRequest
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class Binding
|
class Binding
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -788,12 +717,18 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class UndeleteDatasetRequest
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class Range
|
class Range
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :reference_name, as: 'referenceName'
|
||||||
property :start, as: 'start'
|
property :start, as: 'start'
|
||||||
property :end, as: 'end'
|
property :end, as: 'end'
|
||||||
property :reference_name, as: 'referenceName'
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -831,25 +766,26 @@ module Google
|
||||||
class SearchCallSetsResponse
|
class SearchCallSetsResponse
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :next_page_token, as: 'nextPageToken'
|
||||||
collection :call_sets, as: 'callSets', class: Google::Apis::GenomicsV1::CallSet, decorator: Google::Apis::GenomicsV1::CallSet::Representation
|
collection :call_sets, as: 'callSets', class: Google::Apis::GenomicsV1::CallSet, decorator: Google::Apis::GenomicsV1::CallSet::Representation
|
||||||
|
|
||||||
property :next_page_token, as: 'nextPageToken'
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class Variant
|
class Variant
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :reference_name, as: 'referenceName'
|
||||||
hash :info, as: 'info', :class => Array do
|
hash :info, as: 'info', :class => Array do
|
||||||
include Representable::JSON::Collection
|
include Representable::JSON::Collection
|
||||||
items
|
items
|
||||||
end
|
end
|
||||||
|
|
||||||
property :reference_bases, as: 'referenceBases'
|
property :reference_bases, as: 'referenceBases'
|
||||||
collection :names, as: 'names'
|
|
||||||
collection :alternate_bases, as: 'alternateBases'
|
collection :alternate_bases, as: 'alternateBases'
|
||||||
property :end, as: 'end'
|
collection :names, as: 'names'
|
||||||
collection :filter, as: 'filter'
|
collection :filter, as: 'filter'
|
||||||
|
property :end, as: 'end'
|
||||||
collection :calls, as: 'calls', class: Google::Apis::GenomicsV1::VariantCall, decorator: Google::Apis::GenomicsV1::VariantCall::Representation
|
collection :calls, as: 'calls', class: Google::Apis::GenomicsV1::VariantCall, decorator: Google::Apis::GenomicsV1::VariantCall::Representation
|
||||||
|
|
||||||
property :created, as: 'created'
|
property :created, as: 'created'
|
||||||
|
@ -857,31 +793,15 @@ module Google
|
||||||
property :quality, as: 'quality'
|
property :quality, as: 'quality'
|
||||||
property :id, as: 'id'
|
property :id, as: 'id'
|
||||||
property :variant_set_id, as: 'variantSetId'
|
property :variant_set_id, as: 'variantSetId'
|
||||||
property :reference_name, as: 'referenceName'
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class ListOperationsResponse
|
class ListOperationsResponse
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :next_page_token, as: 'nextPageToken'
|
||||||
collection :operations, as: 'operations', class: Google::Apis::GenomicsV1::Operation, decorator: Google::Apis::GenomicsV1::Operation::Representation
|
collection :operations, as: 'operations', class: Google::Apis::GenomicsV1::Operation, decorator: Google::Apis::GenomicsV1::Operation::Representation
|
||||||
|
|
||||||
property :next_page_token, as: 'nextPageToken'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class SearchVariantsRequest
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
collection :variant_set_ids, as: 'variantSetIds'
|
|
||||||
property :end, as: 'end'
|
|
||||||
property :max_calls, as: 'maxCalls'
|
|
||||||
property :page_token, as: 'pageToken'
|
|
||||||
property :page_size, as: 'pageSize'
|
|
||||||
collection :call_set_ids, as: 'callSetIds'
|
|
||||||
property :start, as: 'start'
|
|
||||||
property :variant_name, as: 'variantName'
|
|
||||||
property :reference_name, as: 'referenceName'
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -901,13 +821,28 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class SearchVariantsRequest
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :variant_set_ids, as: 'variantSetIds'
|
||||||
|
property :end, as: 'end'
|
||||||
|
property :page_token, as: 'pageToken'
|
||||||
|
property :max_calls, as: 'maxCalls'
|
||||||
|
property :page_size, as: 'pageSize'
|
||||||
|
collection :call_set_ids, as: 'callSetIds'
|
||||||
|
property :variant_name, as: 'variantName'
|
||||||
|
property :start, as: 'start'
|
||||||
|
property :reference_name, as: 'referenceName'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class SearchReadGroupSetsRequest
|
class SearchReadGroupSetsRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :dataset_ids, as: 'datasetIds'
|
||||||
property :name, as: 'name'
|
property :name, as: 'name'
|
||||||
property :page_token, as: 'pageToken'
|
property :page_token, as: 'pageToken'
|
||||||
property :page_size, as: 'pageSize'
|
property :page_size, as: 'pageSize'
|
||||||
collection :dataset_ids, as: 'datasetIds'
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -923,31 +858,41 @@ module Google
|
||||||
class SearchReadsResponse
|
class SearchReadsResponse
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :next_page_token, as: 'nextPageToken'
|
||||||
collection :alignments, as: 'alignments', class: Google::Apis::GenomicsV1::Read, decorator: Google::Apis::GenomicsV1::Read::Representation
|
collection :alignments, as: 'alignments', class: Google::Apis::GenomicsV1::Read, decorator: Google::Apis::GenomicsV1::Read::Representation
|
||||||
|
|
||||||
property :next_page_token, as: 'nextPageToken'
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class ClinicalCondition
|
class ClinicalCondition
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :concept_id, as: 'conceptId'
|
||||||
collection :names, as: 'names'
|
collection :names, as: 'names'
|
||||||
property :omim_id, as: 'omimId'
|
property :omim_id, as: 'omimId'
|
||||||
collection :external_ids, as: 'externalIds', class: Google::Apis::GenomicsV1::ExternalId, decorator: Google::Apis::GenomicsV1::ExternalId::Representation
|
collection :external_ids, as: 'externalIds', class: Google::Apis::GenomicsV1::ExternalId, decorator: Google::Apis::GenomicsV1::ExternalId::Representation
|
||||||
|
|
||||||
property :concept_id, as: 'conceptId'
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class Program
|
class Program
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :command_line, as: 'commandLine'
|
||||||
|
property :prev_program_id, as: 'prevProgramId'
|
||||||
property :id, as: 'id'
|
property :id, as: 'id'
|
||||||
property :version, as: 'version'
|
property :version, as: 'version'
|
||||||
property :name, as: 'name'
|
property :name, as: 'name'
|
||||||
property :command_line, as: 'commandLine'
|
end
|
||||||
property :prev_program_id, as: 'prevProgramId'
|
end
|
||||||
|
|
||||||
|
class ComputeEngine
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :machine_type, as: 'machineType'
|
||||||
|
collection :disk_names, as: 'diskNames'
|
||||||
|
property :instance_name, as: 'instanceName'
|
||||||
|
property :zone, as: 'zone'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -960,21 +905,11 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class ComputeEngine
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :instance_name, as: 'instanceName'
|
|
||||||
property :zone, as: 'zone'
|
|
||||||
property :machine_type, as: 'machineType'
|
|
||||||
collection :disk_names, as: 'diskNames'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class ExternalId
|
class ExternalId
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :id, as: 'id'
|
|
||||||
property :source_name, as: 'sourceName'
|
property :source_name, as: 'sourceName'
|
||||||
|
property :id, as: 'id'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -990,41 +925,41 @@ module Google
|
||||||
class VariantSetMetadata
|
class VariantSetMetadata
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :type, as: 'type'
|
|
||||||
hash :info, as: 'info', :class => Array do
|
|
||||||
include Representable::JSON::Collection
|
|
||||||
items
|
|
||||||
end
|
|
||||||
|
|
||||||
property :number, as: 'number'
|
property :number, as: 'number'
|
||||||
property :id, as: 'id'
|
property :id, as: 'id'
|
||||||
property :value, as: 'value'
|
property :value, as: 'value'
|
||||||
property :key, as: 'key'
|
property :key, as: 'key'
|
||||||
property :description, as: 'description'
|
property :description, as: 'description'
|
||||||
|
hash :info, as: 'info', :class => Array do
|
||||||
|
include Representable::JSON::Collection
|
||||||
|
items
|
||||||
|
end
|
||||||
|
|
||||||
|
property :type, as: 'type'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class Reference
|
class Reference
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
collection :source_accessions, as: 'sourceAccessions'
|
|
||||||
property :ncbi_taxon_id, as: 'ncbiTaxonId'
|
|
||||||
property :source_uri, as: 'sourceUri'
|
|
||||||
property :name, as: 'name'
|
|
||||||
property :md5checksum, as: 'md5checksum'
|
|
||||||
property :id, as: 'id'
|
property :id, as: 'id'
|
||||||
property :length, as: 'length'
|
property :length, as: 'length'
|
||||||
|
collection :source_accessions, as: 'sourceAccessions'
|
||||||
|
property :source_uri, as: 'sourceUri'
|
||||||
|
property :ncbi_taxon_id, as: 'ncbiTaxonId'
|
||||||
|
property :name, as: 'name'
|
||||||
|
property :md5checksum, as: 'md5checksum'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class SearchReferenceSetsRequest
|
class SearchReferenceSetsRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :md5checksums, as: 'md5checksums'
|
||||||
collection :accessions, as: 'accessions'
|
collection :accessions, as: 'accessions'
|
||||||
property :page_token, as: 'pageToken'
|
property :page_token, as: 'pageToken'
|
||||||
property :page_size, as: 'pageSize'
|
property :page_size, as: 'pageSize'
|
||||||
property :assembly_id, as: 'assemblyId'
|
property :assembly_id, as: 'assemblyId'
|
||||||
collection :md5checksums, as: 'md5checksums'
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -1046,23 +981,20 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class BatchCreateAnnotationsRequest
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
collection :annotations, as: 'annotations', class: Google::Apis::GenomicsV1::Annotation, decorator: Google::Apis::GenomicsV1::Annotation::Representation
|
|
||||||
|
|
||||||
property :request_id, as: 'requestId'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class Read
|
class Read
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :alignment, as: 'alignment', class: Google::Apis::GenomicsV1::LinearAlignment, decorator: Google::Apis::GenomicsV1::LinearAlignment::Representation
|
||||||
|
|
||||||
|
property :id, as: 'id'
|
||||||
|
property :number_reads, as: 'numberReads'
|
||||||
|
property :secondary_alignment, as: 'secondaryAlignment'
|
||||||
|
property :fragment_name, as: 'fragmentName'
|
||||||
property :read_group_set_id, as: 'readGroupSetId'
|
property :read_group_set_id, as: 'readGroupSetId'
|
||||||
property :duplicate_fragment, as: 'duplicateFragment'
|
property :duplicate_fragment, as: 'duplicateFragment'
|
||||||
property :read_number, as: 'readNumber'
|
property :read_number, as: 'readNumber'
|
||||||
property :aligned_sequence, as: 'alignedSequence'
|
|
||||||
property :read_group_id, as: 'readGroupId'
|
property :read_group_id, as: 'readGroupId'
|
||||||
|
property :aligned_sequence, as: 'alignedSequence'
|
||||||
property :next_mate_position, as: 'nextMatePosition', class: Google::Apis::GenomicsV1::Position, decorator: Google::Apis::GenomicsV1::Position::Representation
|
property :next_mate_position, as: 'nextMatePosition', class: Google::Apis::GenomicsV1::Position, decorator: Google::Apis::GenomicsV1::Position::Representation
|
||||||
|
|
||||||
hash :info, as: 'info', :class => Array do
|
hash :info, as: 'info', :class => Array do
|
||||||
|
@ -1075,26 +1007,15 @@ module Google
|
||||||
property :fragment_length, as: 'fragmentLength'
|
property :fragment_length, as: 'fragmentLength'
|
||||||
property :failed_vendor_quality_checks, as: 'failedVendorQualityChecks'
|
property :failed_vendor_quality_checks, as: 'failedVendorQualityChecks'
|
||||||
collection :aligned_quality, as: 'alignedQuality'
|
collection :aligned_quality, as: 'alignedQuality'
|
||||||
property :alignment, as: 'alignment', class: Google::Apis::GenomicsV1::LinearAlignment, decorator: Google::Apis::GenomicsV1::LinearAlignment::Representation
|
|
||||||
|
|
||||||
property :number_reads, as: 'numberReads'
|
|
||||||
property :id, as: 'id'
|
|
||||||
property :secondary_alignment, as: 'secondaryAlignment'
|
|
||||||
property :fragment_name, as: 'fragmentName'
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class ReferenceSet
|
class BatchCreateAnnotationsRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
collection :reference_ids, as: 'referenceIds'
|
property :request_id, as: 'requestId'
|
||||||
property :md5checksum, as: 'md5checksum'
|
collection :annotations, as: 'annotations', class: Google::Apis::GenomicsV1::Annotation, decorator: Google::Apis::GenomicsV1::Annotation::Representation
|
||||||
property :assembly_id, as: 'assemblyId'
|
|
||||||
property :id, as: 'id'
|
|
||||||
property :description, as: 'description'
|
|
||||||
collection :source_accessions, as: 'sourceAccessions'
|
|
||||||
property :source_uri, as: 'sourceUri'
|
|
||||||
property :ncbi_taxon_id, as: 'ncbiTaxonId'
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -1107,12 +1028,36 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ReferenceSet
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :ncbi_taxon_id, as: 'ncbiTaxonId'
|
||||||
|
property :source_uri, as: 'sourceUri'
|
||||||
|
collection :reference_ids, as: 'referenceIds'
|
||||||
|
property :md5checksum, as: 'md5checksum'
|
||||||
|
property :assembly_id, as: 'assemblyId'
|
||||||
|
property :id, as: 'id'
|
||||||
|
collection :source_accessions, as: 'sourceAccessions'
|
||||||
|
property :description, as: 'description'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class Transcript
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :coding_sequence, as: 'codingSequence', class: Google::Apis::GenomicsV1::CodingSequence, decorator: Google::Apis::GenomicsV1::CodingSequence::Representation
|
||||||
|
|
||||||
|
property :gene_id, as: 'geneId'
|
||||||
|
collection :exons, as: 'exons', class: Google::Apis::GenomicsV1::Exon, decorator: Google::Apis::GenomicsV1::Exon::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class AnnotationSet
|
class AnnotationSet
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :id, as: 'id'
|
|
||||||
property :dataset_id, as: 'datasetId'
|
|
||||||
property :source_uri, as: 'sourceUri'
|
property :source_uri, as: 'sourceUri'
|
||||||
|
property :dataset_id, as: 'datasetId'
|
||||||
property :name, as: 'name'
|
property :name, as: 'name'
|
||||||
property :reference_set_id, as: 'referenceSetId'
|
property :reference_set_id, as: 'referenceSetId'
|
||||||
hash :info, as: 'info', :class => Array do
|
hash :info, as: 'info', :class => Array do
|
||||||
|
@ -1121,27 +1066,17 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
property :type, as: 'type'
|
property :type, as: 'type'
|
||||||
end
|
property :id, as: 'id'
|
||||||
end
|
|
||||||
|
|
||||||
class Transcript
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :gene_id, as: 'geneId'
|
|
||||||
collection :exons, as: 'exons', class: Google::Apis::GenomicsV1::Exon, decorator: Google::Apis::GenomicsV1::Exon::Representation
|
|
||||||
|
|
||||||
property :coding_sequence, as: 'codingSequence', class: Google::Apis::GenomicsV1::CodingSequence, decorator: Google::Apis::GenomicsV1::CodingSequence::Representation
|
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class Experiment
|
class Experiment
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :sequencing_center, as: 'sequencingCenter'
|
|
||||||
property :platform_unit, as: 'platformUnit'
|
|
||||||
property :library_id, as: 'libraryId'
|
property :library_id, as: 'libraryId'
|
||||||
property :instrument_model, as: 'instrumentModel'
|
property :instrument_model, as: 'instrumentModel'
|
||||||
|
property :sequencing_center, as: 'sequencingCenter'
|
||||||
|
property :platform_unit, as: 'platformUnit'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -1182,6 +1117,8 @@ module Google
|
||||||
class CallSet
|
class CallSet
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :created, as: 'created'
|
||||||
|
property :sample_id, as: 'sampleId'
|
||||||
property :name, as: 'name'
|
property :name, as: 'name'
|
||||||
hash :info, as: 'info', :class => Array do
|
hash :info, as: 'info', :class => Array do
|
||||||
include Representable::JSON::Collection
|
include Representable::JSON::Collection
|
||||||
|
@ -1190,28 +1127,36 @@ module Google
|
||||||
|
|
||||||
collection :variant_set_ids, as: 'variantSetIds'
|
collection :variant_set_ids, as: 'variantSetIds'
|
||||||
property :id, as: 'id'
|
property :id, as: 'id'
|
||||||
property :created, as: 'created'
|
|
||||||
property :sample_id, as: 'sampleId'
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class SearchAnnotationSetsResponse
|
class SearchAnnotationSetsResponse
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :next_page_token, as: 'nextPageToken'
|
||||||
collection :annotation_sets, as: 'annotationSets', class: Google::Apis::GenomicsV1::AnnotationSet, decorator: Google::Apis::GenomicsV1::AnnotationSet::Representation
|
collection :annotation_sets, as: 'annotationSets', class: Google::Apis::GenomicsV1::AnnotationSet, decorator: Google::Apis::GenomicsV1::AnnotationSet::Representation
|
||||||
|
|
||||||
property :next_page_token, as: 'nextPageToken'
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class ImportVariantsRequest
|
class ImportVariantsRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :normalize_reference_names, as: 'normalizeReferenceNames'
|
||||||
property :format, as: 'format'
|
property :format, as: 'format'
|
||||||
hash :info_merge_config, as: 'infoMergeConfig'
|
hash :info_merge_config, as: 'infoMergeConfig'
|
||||||
property :variant_set_id, as: 'variantSetId'
|
property :variant_set_id, as: 'variantSetId'
|
||||||
collection :source_uris, as: 'sourceUris'
|
collection :source_uris, as: 'sourceUris'
|
||||||
property :normalize_reference_names, as: 'normalizeReferenceNames'
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class ListCoverageBucketsResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :next_page_token, as: 'nextPageToken'
|
||||||
|
property :bucket_width, as: 'bucketWidth'
|
||||||
|
collection :coverage_buckets, as: 'coverageBuckets', class: Google::Apis::GenomicsV1::CoverageBucket, decorator: Google::Apis::GenomicsV1::CoverageBucket::Representation
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -1229,16 +1174,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class ListCoverageBucketsResponse
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :next_page_token, as: 'nextPageToken'
|
|
||||||
property :bucket_width, as: 'bucketWidth'
|
|
||||||
collection :coverage_buckets, as: 'coverageBuckets', class: Google::Apis::GenomicsV1::CoverageBucket, decorator: Google::Apis::GenomicsV1::CoverageBucket::Representation
|
|
||||||
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class ExportVariantSetRequest
|
class ExportVariantSetRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -1253,22 +1188,22 @@ module Google
|
||||||
class SearchAnnotationsRequest
|
class SearchAnnotationsRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :start, as: 'start'
|
||||||
|
collection :annotation_set_ids, as: 'annotationSetIds'
|
||||||
|
property :reference_name, as: 'referenceName'
|
||||||
property :reference_id, as: 'referenceId'
|
property :reference_id, as: 'referenceId'
|
||||||
property :end, as: 'end'
|
property :end, as: 'end'
|
||||||
property :page_token, as: 'pageToken'
|
property :page_token, as: 'pageToken'
|
||||||
property :page_size, as: 'pageSize'
|
property :page_size, as: 'pageSize'
|
||||||
property :start, as: 'start'
|
|
||||||
collection :annotation_set_ids, as: 'annotationSetIds'
|
|
||||||
property :reference_name, as: 'referenceName'
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class OperationEvent
|
class OperationEvent
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :end_time, as: 'endTime'
|
||||||
property :start_time, as: 'startTime'
|
property :start_time, as: 'startTime'
|
||||||
property :description, as: 'description'
|
property :description, as: 'description'
|
||||||
property :end_time, as: 'endTime'
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -1279,6 +1214,71 @@ module Google
|
||||||
property :end, as: 'end'
|
property :end, as: 'end'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GetIamPolicyRequest
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class TestIamPermissionsResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :permissions, as: 'permissions'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class SearchReferencesResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :references, as: 'references', class: Google::Apis::GenomicsV1::Reference, decorator: Google::Apis::GenomicsV1::Reference::Representation
|
||||||
|
|
||||||
|
property :next_page_token, as: 'nextPageToken'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class SearchAnnotationSetsRequest
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :page_token, as: 'pageToken'
|
||||||
|
property :page_size, as: 'pageSize'
|
||||||
|
collection :dataset_ids, as: 'datasetIds'
|
||||||
|
collection :types, as: 'types'
|
||||||
|
property :name, as: 'name'
|
||||||
|
property :reference_set_id, as: 'referenceSetId'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class SearchReadGroupSetsResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :next_page_token, as: 'nextPageToken'
|
||||||
|
collection :read_group_sets, as: 'readGroupSets', class: Google::Apis::GenomicsV1::ReadGroupSet, decorator: Google::Apis::GenomicsV1::ReadGroupSet::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class LinearAlignment
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :position, as: 'position', class: Google::Apis::GenomicsV1::Position, decorator: Google::Apis::GenomicsV1::Position::Representation
|
||||||
|
|
||||||
|
collection :cigar, as: 'cigar', class: Google::Apis::GenomicsV1::CigarUnit, decorator: Google::Apis::GenomicsV1::CigarUnit::Representation
|
||||||
|
|
||||||
|
property :mapping_quality, as: 'mappingQuality'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class SearchReferencesRequest
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :accessions, as: 'accessions'
|
||||||
|
property :page_token, as: 'pageToken'
|
||||||
|
property :reference_set_id, as: 'referenceSetId'
|
||||||
|
property :page_size, as: 'pageSize'
|
||||||
|
collection :md5checksums, as: 'md5checksums'
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -27,7 +27,7 @@ module Google
|
||||||
# @see https://cloud.google.com/iam/
|
# @see https://cloud.google.com/iam/
|
||||||
module IamV1
|
module IamV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20170217'
|
REVISION = '20170317'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -22,73 +22,7 @@ module Google
|
||||||
module Apis
|
module Apis
|
||||||
module IamV1
|
module IamV1
|
||||||
|
|
||||||
class TestIamPermissionsResponse
|
class CreateServiceAccountRequest
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class ListServiceAccountKeysResponse
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class ServiceAccountKey
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class CreateServiceAccountKeyRequest
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class TestIamPermissionsRequest
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class SignBlobResponse
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class SignJwtResponse
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class SignJwtRequest
|
|
||||||
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 AuditData
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class BindingDelta
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class PolicyDelta
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
@ -100,12 +34,6 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class CreateServiceAccountRequest
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class QueryGrantableRolesResponse
|
class QueryGrantableRolesResponse
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -136,7 +64,7 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class ServiceAccount
|
class QueryGrantableRolesRequest
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
@ -148,110 +76,90 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class QueryGrantableRolesRequest
|
class ServiceAccount
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class TestIamPermissionsResponse
|
class TestIamPermissionsResponse
|
||||||
# @private
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
collection :permissions, as: 'permissions'
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
class ListServiceAccountKeysResponse
|
class ListServiceAccountKeysResponse
|
||||||
# @private
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
collection :keys, as: 'keys', class: Google::Apis::IamV1::ServiceAccountKey, decorator: Google::Apis::IamV1::ServiceAccountKey::Representation
|
|
||||||
|
|
||||||
end
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class ServiceAccountKey
|
class ServiceAccountKey
|
||||||
# @private
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :private_key_data, :base64 => true, as: 'privateKeyData'
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
property :public_key_data, :base64 => true, as: 'publicKeyData'
|
|
||||||
property :name, as: 'name'
|
|
||||||
property :valid_before_time, as: 'validBeforeTime'
|
|
||||||
property :key_algorithm, as: 'keyAlgorithm'
|
|
||||||
property :private_key_type, as: 'privateKeyType'
|
|
||||||
property :valid_after_time, as: 'validAfterTime'
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
class CreateServiceAccountKeyRequest
|
class CreateServiceAccountKeyRequest
|
||||||
# @private
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :key_algorithm, as: 'keyAlgorithm'
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
property :private_key_type, as: 'privateKeyType'
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
class TestIamPermissionsRequest
|
class TestIamPermissionsRequest
|
||||||
# @private
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
collection :permissions, as: 'permissions'
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
class SignBlobResponse
|
class SignBlobResponse
|
||||||
# @private
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :key_id, as: 'keyId'
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
property :signature, :base64 => true, as: 'signature'
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
class SignJwtResponse
|
class SignJwtResponse
|
||||||
# @private
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :key_id, as: 'keyId'
|
|
||||||
property :signed_jwt, as: 'signedJwt'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class SignJwtRequest
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :payload, as: 'payload'
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
class Policy
|
class Policy
|
||||||
# @private
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :etag, :base64 => true, as: 'etag'
|
|
||||||
property :version, as: 'version'
|
|
||||||
collection :bindings, as: 'bindings', class: Google::Apis::IamV1::Binding, decorator: Google::Apis::IamV1::Binding::Representation
|
|
||||||
|
|
||||||
end
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class SignJwtRequest
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class AuditData
|
class AuditData
|
||||||
# @private
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :policy_delta, as: 'policyDelta', class: Google::Apis::IamV1::PolicyDelta, decorator: Google::Apis::IamV1::PolicyDelta::Representation
|
|
||||||
|
|
||||||
end
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class BindingDelta
|
class BindingDelta
|
||||||
# @private
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :role, as: 'role'
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
property :action, as: 'action'
|
|
||||||
property :member, as: 'member'
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
class PolicyDelta
|
class PolicyDelta
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class CreateServiceAccountRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
collection :binding_deltas, as: 'bindingDeltas', class: Google::Apis::IamV1::BindingDelta, decorator: Google::Apis::IamV1::BindingDelta::Representation
|
property :service_account, as: 'serviceAccount', class: Google::Apis::IamV1::ServiceAccount, decorator: Google::Apis::IamV1::ServiceAccount::Representation
|
||||||
|
|
||||||
|
property :account_id, as: 'accountId'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -264,15 +172,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class CreateServiceAccountRequest
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :service_account, as: 'serviceAccount', class: Google::Apis::IamV1::ServiceAccount, decorator: Google::Apis::IamV1::ServiceAccount::Representation
|
|
||||||
|
|
||||||
property :account_id, as: 'accountId'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class QueryGrantableRolesResponse
|
class QueryGrantableRolesResponse
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -308,27 +207,8 @@ module Google
|
||||||
class Binding
|
class Binding
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :role, as: 'role'
|
|
||||||
collection :members, as: 'members'
|
collection :members, as: 'members'
|
||||||
end
|
property :role, as: 'role'
|
||||||
end
|
|
||||||
|
|
||||||
class ServiceAccount
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :project_id, as: 'projectId'
|
|
||||||
property :unique_id, as: 'uniqueId'
|
|
||||||
property :oauth2_client_id, as: 'oauth2ClientId'
|
|
||||||
property :display_name, as: 'displayName'
|
|
||||||
property :etag, :base64 => true, as: 'etag'
|
|
||||||
property :email, as: 'email'
|
|
||||||
property :name, as: 'name'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class Empty
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -338,6 +218,126 @@ module Google
|
||||||
property :full_resource_name, as: 'fullResourceName'
|
property :full_resource_name, as: 'fullResourceName'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class Empty
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class ServiceAccount
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :email, as: 'email'
|
||||||
|
property :name, as: 'name'
|
||||||
|
property :project_id, as: 'projectId'
|
||||||
|
property :oauth2_client_id, as: 'oauth2ClientId'
|
||||||
|
property :unique_id, as: 'uniqueId'
|
||||||
|
property :display_name, as: 'displayName'
|
||||||
|
property :etag, :base64 => true, as: 'etag'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class TestIamPermissionsResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :permissions, as: 'permissions'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class ListServiceAccountKeysResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :keys, as: 'keys', class: Google::Apis::IamV1::ServiceAccountKey, decorator: Google::Apis::IamV1::ServiceAccountKey::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class ServiceAccountKey
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :valid_after_time, as: 'validAfterTime'
|
||||||
|
property :private_key_type, as: 'privateKeyType'
|
||||||
|
property :private_key_data, :base64 => true, as: 'privateKeyData'
|
||||||
|
property :public_key_data, :base64 => true, as: 'publicKeyData'
|
||||||
|
property :name, as: 'name'
|
||||||
|
property :valid_before_time, as: 'validBeforeTime'
|
||||||
|
property :key_algorithm, as: 'keyAlgorithm'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class CreateServiceAccountKeyRequest
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :key_algorithm, as: 'keyAlgorithm'
|
||||||
|
property :private_key_type, as: 'privateKeyType'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class TestIamPermissionsRequest
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :permissions, as: 'permissions'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class SignBlobResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :signature, :base64 => true, as: 'signature'
|
||||||
|
property :key_id, as: 'keyId'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class SignJwtResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :key_id, as: 'keyId'
|
||||||
|
property :signed_jwt, as: 'signedJwt'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class Policy
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :bindings, as: 'bindings', class: Google::Apis::IamV1::Binding, decorator: Google::Apis::IamV1::Binding::Representation
|
||||||
|
|
||||||
|
property :etag, :base64 => true, as: 'etag'
|
||||||
|
property :version, as: 'version'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class SignJwtRequest
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :payload, as: 'payload'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class AuditData
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :policy_delta, as: 'policyDelta', class: Google::Apis::IamV1::PolicyDelta, decorator: Google::Apis::IamV1::PolicyDelta::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class BindingDelta
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :role, as: 'role'
|
||||||
|
property :action, as: 'action'
|
||||||
|
property :member, as: 'member'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class PolicyDelta
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :binding_deltas, as: 'bindingDeltas', class: Google::Apis::IamV1::BindingDelta, decorator: Google::Apis::IamV1::BindingDelta::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -48,6 +48,115 @@ module Google
|
||||||
super('https://iam.googleapis.com/', '')
|
super('https://iam.googleapis.com/', '')
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Queries roles that can be granted on a particular resource.
|
||||||
|
# A role is grantable if it can be used as the role in a binding for a policy
|
||||||
|
# for that resource.
|
||||||
|
# @param [Google::Apis::IamV1::QueryGrantableRolesRequest] query_grantable_roles_request_object
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::IamV1::QueryGrantableRolesResponse] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::IamV1::QueryGrantableRolesResponse]
|
||||||
|
#
|
||||||
|
# @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 query_grantable_roles(query_grantable_roles_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, 'v1/roles:queryGrantableRoles', options)
|
||||||
|
command.request_representation = Google::Apis::IamV1::QueryGrantableRolesRequest::Representation
|
||||||
|
command.request_object = query_grantable_roles_request_object
|
||||||
|
command.response_representation = Google::Apis::IamV1::QueryGrantableRolesResponse::Representation
|
||||||
|
command.response_class = Google::Apis::IamV1::QueryGrantableRolesResponse
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Updates a ServiceAccount.
|
||||||
|
# Currently, only the following fields are updatable:
|
||||||
|
# `display_name` .
|
||||||
|
# The `etag` is mandatory.
|
||||||
|
# @param [String] name
|
||||||
|
# The resource name of the service account in the following format:
|
||||||
|
# `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL``.
|
||||||
|
# Requests using `-` as a wildcard for the project will infer the project
|
||||||
|
# from the `account` and the `account` value can be the `email` address or
|
||||||
|
# the `unique_id` of the service account.
|
||||||
|
# In responses the resource name will always be in the format
|
||||||
|
# `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL``.
|
||||||
|
# @param [Google::Apis::IamV1::ServiceAccount] service_account_object
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::IamV1::ServiceAccount] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::IamV1::ServiceAccount]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def update_project_service_account(name, service_account_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:put, 'v1/{+name}', options)
|
||||||
|
command.request_representation = Google::Apis::IamV1::ServiceAccount::Representation
|
||||||
|
command.request_object = service_account_object
|
||||||
|
command.response_representation = Google::Apis::IamV1::ServiceAccount::Representation
|
||||||
|
command.response_class = Google::Apis::IamV1::ServiceAccount
|
||||||
|
command.params['name'] = name unless name.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Tests the specified permissions against the IAM access control policy
|
||||||
|
# for a ServiceAccount.
|
||||||
|
# @param [String] resource
|
||||||
|
# REQUIRED: The resource for which the policy detail is being requested.
|
||||||
|
# See the operation documentation for the appropriate value for this field.
|
||||||
|
# @param [Google::Apis::IamV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::IamV1::TestIamPermissionsResponse] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::IamV1::TestIamPermissionsResponse]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def test_service_account_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
||||||
|
command.request_representation = Google::Apis::IamV1::TestIamPermissionsRequest::Representation
|
||||||
|
command.request_object = test_iam_permissions_request_object
|
||||||
|
command.response_representation = Google::Apis::IamV1::TestIamPermissionsResponse::Representation
|
||||||
|
command.response_class = Google::Apis::IamV1::TestIamPermissionsResponse
|
||||||
|
command.params['resource'] = resource unless resource.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
# Deletes a ServiceAccount.
|
# Deletes a ServiceAccount.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# The resource name of the service account in the following format:
|
# The resource name of the service account in the following format:
|
||||||
|
@ -82,6 +191,43 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Signs a blob using a service account's system-managed private key.
|
||||||
|
# @param [String] name
|
||||||
|
# The resource name of the service account in the following format:
|
||||||
|
# `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL``.
|
||||||
|
# Using `-` as a wildcard for the project will infer the project from
|
||||||
|
# the account. The `account` value can be the `email` address or the
|
||||||
|
# `unique_id` of the service account.
|
||||||
|
# @param [Google::Apis::IamV1::SignBlobRequest] sign_blob_request_object
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::IamV1::SignBlobResponse] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::IamV1::SignBlobResponse]
|
||||||
|
#
|
||||||
|
# @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 sign_service_account_blob(name, sign_blob_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, 'v1/{+name}:signBlob', options)
|
||||||
|
command.request_representation = Google::Apis::IamV1::SignBlobRequest::Representation
|
||||||
|
command.request_object = sign_blob_request_object
|
||||||
|
command.response_representation = Google::Apis::IamV1::SignBlobResponse::Representation
|
||||||
|
command.response_class = Google::Apis::IamV1::SignBlobResponse
|
||||||
|
command.params['name'] = name unless name.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
# Lists ServiceAccounts for a project.
|
# Lists ServiceAccounts for a project.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Required. The resource name of the project associated with the service
|
# Required. The resource name of the project associated with the service
|
||||||
|
@ -123,14 +269,12 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Signs a blob using a service account's system-managed private key.
|
# Creates a ServiceAccount
|
||||||
|
# and returns it.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# The resource name of the service account in the following format:
|
# Required. The resource name of the project associated with the service
|
||||||
# `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL``.
|
# accounts, such as `projects/my-project-123`.
|
||||||
# Using `-` as a wildcard for the project will infer the project from
|
# @param [Google::Apis::IamV1::CreateServiceAccountRequest] create_service_account_request_object
|
||||||
# the account. The `account` value can be the `email` address or the
|
|
||||||
# `unique_id` of the service account.
|
|
||||||
# @param [Google::Apis::IamV1::SignBlobRequest] sign_blob_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.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -140,20 +284,20 @@ module Google
|
||||||
# Request-specific options
|
# Request-specific options
|
||||||
#
|
#
|
||||||
# @yield [result, err] Result & error if block supplied
|
# @yield [result, err] Result & error if block supplied
|
||||||
# @yieldparam result [Google::Apis::IamV1::SignBlobResponse] parsed result object
|
# @yieldparam result [Google::Apis::IamV1::ServiceAccount] parsed result object
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
#
|
#
|
||||||
# @return [Google::Apis::IamV1::SignBlobResponse]
|
# @return [Google::Apis::IamV1::ServiceAccount]
|
||||||
#
|
#
|
||||||
# @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 sign_service_account_blob(name, sign_blob_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
def create_service_account(name, create_service_account_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
command = make_simple_command(:post, 'v1/{+name}:signBlob', options)
|
command = make_simple_command(:post, 'v1/{+name}/serviceAccounts', options)
|
||||||
command.request_representation = Google::Apis::IamV1::SignBlobRequest::Representation
|
command.request_representation = Google::Apis::IamV1::CreateServiceAccountRequest::Representation
|
||||||
command.request_object = sign_blob_request_object
|
command.request_object = create_service_account_request_object
|
||||||
command.response_representation = Google::Apis::IamV1::SignBlobResponse::Representation
|
command.response_representation = Google::Apis::IamV1::ServiceAccount::Representation
|
||||||
command.response_class = Google::Apis::IamV1::SignBlobResponse
|
command.response_class = Google::Apis::IamV1::ServiceAccount
|
||||||
command.params['name'] = name unless name.nil?
|
command.params['name'] = name unless name.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?
|
||||||
|
@ -200,47 +344,11 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Creates a ServiceAccount
|
|
||||||
# and returns it.
|
|
||||||
# @param [String] name
|
|
||||||
# Required. The resource name of the project associated with the service
|
|
||||||
# accounts, such as `projects/my-project-123`.
|
|
||||||
# @param [Google::Apis::IamV1::CreateServiceAccountRequest] create_service_account_request_object
|
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [String] quota_user
|
|
||||||
# Available to use for quota purposes for server-side applications. Can be any
|
|
||||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::IamV1::ServiceAccount] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::IamV1::ServiceAccount]
|
|
||||||
#
|
|
||||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
||||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
||||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
||||||
def create_service_account(name, create_service_account_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:post, 'v1/{+name}/serviceAccounts', options)
|
|
||||||
command.request_representation = Google::Apis::IamV1::CreateServiceAccountRequest::Representation
|
|
||||||
command.request_object = create_service_account_request_object
|
|
||||||
command.response_representation = Google::Apis::IamV1::ServiceAccount::Representation
|
|
||||||
command.response_class = Google::Apis::IamV1::ServiceAccount
|
|
||||||
command.params['name'] = name unless name.nil?
|
|
||||||
command.query['fields'] = fields unless fields.nil?
|
|
||||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
||||||
execute_or_queue_command(command, &block)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Sets the IAM access control policy for a
|
# Sets the IAM access control policy for a
|
||||||
# ServiceAccount.
|
# ServiceAccount.
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# REQUIRED: The resource for which the policy is being specified.
|
# REQUIRED: The resource for which the policy is being specified.
|
||||||
# `resource` is usually specified as a path. For example, a Project
|
# See the operation documentation for the appropriate value for this field.
|
||||||
# resource is specified as `projects/`project``.
|
|
||||||
# @param [Google::Apis::IamV1::SetIamPolicyRequest] set_iam_policy_request_object
|
# @param [Google::Apis::IamV1::SetIamPolicyRequest] set_iam_policy_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.
|
||||||
|
@ -275,8 +383,7 @@ module Google
|
||||||
# ServiceAccount.
|
# ServiceAccount.
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# REQUIRED: The resource for which the policy is being requested.
|
# REQUIRED: The resource for which the policy is being requested.
|
||||||
# `resource` is usually specified as a path. For example, a Project
|
# See the operation documentation for the appropriate value for this field.
|
||||||
# resource is specified as `projects/`project``.
|
|
||||||
# @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
|
||||||
|
@ -338,19 +445,13 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Updates a ServiceAccount.
|
# Deletes a ServiceAccountKey.
|
||||||
# Currently, only the following fields are updatable:
|
|
||||||
# `display_name` .
|
|
||||||
# The `etag` is mandatory.
|
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# The resource name of the service account in the following format:
|
# The resource name of the service account key in the following format:
|
||||||
# `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL``.
|
# `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL`/keys/`key``.
|
||||||
# Requests using `-` as a wildcard for the project will infer the project
|
# Using `-` as a wildcard for the project will infer the project from
|
||||||
# from the `account` and the `account` value can be the `email` address or
|
# the account. The `account` value can be the `email` address or the
|
||||||
# the `unique_id` of the service account.
|
# `unique_id` of the service account.
|
||||||
# In responses the resource name will always be in the format
|
|
||||||
# `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL``.
|
|
||||||
# @param [Google::Apis::IamV1::ServiceAccount] service_account_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.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -360,62 +461,24 @@ module Google
|
||||||
# Request-specific options
|
# Request-specific options
|
||||||
#
|
#
|
||||||
# @yield [result, err] Result & error if block supplied
|
# @yield [result, err] Result & error if block supplied
|
||||||
# @yieldparam result [Google::Apis::IamV1::ServiceAccount] parsed result object
|
# @yieldparam result [Google::Apis::IamV1::Empty] parsed result object
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
#
|
#
|
||||||
# @return [Google::Apis::IamV1::ServiceAccount]
|
# @return [Google::Apis::IamV1::Empty]
|
||||||
#
|
#
|
||||||
# @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 update_project_service_account(name, service_account_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
def delete_project_service_account_key(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
command = make_simple_command(:put, 'v1/{+name}', options)
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
||||||
command.request_representation = Google::Apis::IamV1::ServiceAccount::Representation
|
command.response_representation = Google::Apis::IamV1::Empty::Representation
|
||||||
command.request_object = service_account_object
|
command.response_class = Google::Apis::IamV1::Empty
|
||||||
command.response_representation = Google::Apis::IamV1::ServiceAccount::Representation
|
|
||||||
command.response_class = Google::Apis::IamV1::ServiceAccount
|
|
||||||
command.params['name'] = name unless name.nil?
|
command.params['name'] = name unless name.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)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Tests the specified permissions against the IAM access control policy
|
|
||||||
# for a ServiceAccount.
|
|
||||||
# @param [String] resource
|
|
||||||
# REQUIRED: The resource for which the policy detail is being requested.
|
|
||||||
# `resource` is usually specified as a path. For example, a Project
|
|
||||||
# resource is specified as `projects/`project``.
|
|
||||||
# @param [Google::Apis::IamV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [String] quota_user
|
|
||||||
# Available to use for quota purposes for server-side applications. Can be any
|
|
||||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::IamV1::TestIamPermissionsResponse] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::IamV1::TestIamPermissionsResponse]
|
|
||||||
#
|
|
||||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
||||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
||||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
||||||
def test_service_account_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
|
||||||
command.request_representation = Google::Apis::IamV1::TestIamPermissionsRequest::Representation
|
|
||||||
command.request_object = test_iam_permissions_request_object
|
|
||||||
command.response_representation = Google::Apis::IamV1::TestIamPermissionsResponse::Representation
|
|
||||||
command.response_class = Google::Apis::IamV1::TestIamPermissionsResponse
|
|
||||||
command.params['resource'] = resource unless resource.nil?
|
|
||||||
command.query['fields'] = fields unless fields.nil?
|
|
||||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
||||||
execute_or_queue_command(command, &block)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Lists ServiceAccountKeys.
|
# Lists ServiceAccountKeys.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# The resource name of the service account in the following format:
|
# The resource name of the service account in the following format:
|
||||||
|
@ -532,72 +595,6 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Deletes a ServiceAccountKey.
|
|
||||||
# @param [String] name
|
|
||||||
# The resource name of the service account key in the following format:
|
|
||||||
# `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL`/keys/`key``.
|
|
||||||
# Using `-` as a wildcard for the project will infer the project from
|
|
||||||
# the account. The `account` value can be the `email` address or the
|
|
||||||
# `unique_id` of the service account.
|
|
||||||
# @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::IamV1::Empty] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::IamV1::Empty]
|
|
||||||
#
|
|
||||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
||||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
||||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
||||||
def delete_project_service_account_key(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
||||||
command.response_representation = Google::Apis::IamV1::Empty::Representation
|
|
||||||
command.response_class = Google::Apis::IamV1::Empty
|
|
||||||
command.params['name'] = name unless name.nil?
|
|
||||||
command.query['fields'] = fields unless fields.nil?
|
|
||||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
||||||
execute_or_queue_command(command, &block)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Queries roles that can be granted on a particular resource.
|
|
||||||
# A role is grantable if it can be used as the role in a binding for a policy
|
|
||||||
# for that resource.
|
|
||||||
# @param [Google::Apis::IamV1::QueryGrantableRolesRequest] query_grantable_roles_request_object
|
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [String] quota_user
|
|
||||||
# Available to use for quota purposes for server-side applications. Can be any
|
|
||||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::IamV1::QueryGrantableRolesResponse] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::IamV1::QueryGrantableRolesResponse]
|
|
||||||
#
|
|
||||||
# @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 query_grantable_roles(query_grantable_roles_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:post, 'v1/roles:queryGrantableRoles', options)
|
|
||||||
command.request_representation = Google::Apis::IamV1::QueryGrantableRolesRequest::Representation
|
|
||||||
command.request_object = query_grantable_roles_request_object
|
|
||||||
command.response_representation = Google::Apis::IamV1::QueryGrantableRolesResponse::Representation
|
|
||||||
command.response_class = Google::Apis::IamV1::QueryGrantableRolesResponse
|
|
||||||
command.query['fields'] = fields unless fields.nil?
|
|
||||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
||||||
execute_or_queue_command(command, &block)
|
|
||||||
end
|
|
||||||
|
|
||||||
protected
|
protected
|
||||||
|
|
||||||
def apply_command_defaults(command)
|
def apply_command_defaults(command)
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/identity-toolkit/v3/
|
# @see https://developers.google.com/identity-toolkit/v3/
|
||||||
module IdentitytoolkitV3
|
module IdentitytoolkitV3
|
||||||
VERSION = 'V3'
|
VERSION = 'V3'
|
||||||
REVISION = '20170203'
|
REVISION = '20170308'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -1067,6 +1067,14 @@ module Google
|
||||||
class VerifyAssertionRequest
|
class VerifyAssertionRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# When it's true, automatically creates a new account if the user doesn't exist.
|
||||||
|
# When it's false, allows existing user to sign in normally and throws exception
|
||||||
|
# if the user doesn't exist.
|
||||||
|
# Corresponds to the JSON property `autoCreate`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :auto_create
|
||||||
|
alias_method :auto_create?, :auto_create
|
||||||
|
|
||||||
# GCP project number of the requesting delegated app. Currently only intended
|
# GCP project number of the requesting delegated app. Currently only intended
|
||||||
# for Firebase V1 migration.
|
# for Firebase V1 migration.
|
||||||
# Corresponds to the JSON property `delegatedProjectNumber`
|
# Corresponds to the JSON property `delegatedProjectNumber`
|
||||||
|
@ -1129,6 +1137,7 @@ module Google
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
|
@auto_create = args[:auto_create] if args.key?(:auto_create)
|
||||||
@delegated_project_number = args[:delegated_project_number] if args.key?(:delegated_project_number)
|
@delegated_project_number = args[:delegated_project_number] if args.key?(:delegated_project_number)
|
||||||
@id_token = args[:id_token] if args.key?(:id_token)
|
@id_token = args[:id_token] if args.key?(:id_token)
|
||||||
@instance_id = args[:instance_id] if args.key?(:instance_id)
|
@instance_id = args[:instance_id] if args.key?(:instance_id)
|
||||||
|
@ -1305,6 +1314,30 @@ module Google
|
||||||
class Relyingparty
|
class Relyingparty
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# whether or not to install the android app on the device where the link is
|
||||||
|
# opened
|
||||||
|
# Corresponds to the JSON property `androidInstallApp`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :android_install_app
|
||||||
|
alias_method :android_install_app?, :android_install_app
|
||||||
|
|
||||||
|
# minimum version of the app. if the version on the device is lower than this
|
||||||
|
# version then the user is taken to the play store to upgrade the app
|
||||||
|
# Corresponds to the JSON property `androidMinimumVersion`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :android_minimum_version
|
||||||
|
|
||||||
|
# android package name of the android app to handle the action code
|
||||||
|
# Corresponds to the JSON property `androidPackageName`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :android_package_name
|
||||||
|
|
||||||
|
# whether or not the app can handle the oob code without first going to web
|
||||||
|
# Corresponds to the JSON property `canHandleCodeInApp`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :can_handle_code_in_app
|
||||||
|
alias_method :can_handle_code_in_app?, :can_handle_code_in_app
|
||||||
|
|
||||||
# The recaptcha response from the user.
|
# The recaptcha response from the user.
|
||||||
# Corresponds to the JSON property `captchaResp`
|
# Corresponds to the JSON property `captchaResp`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -1315,11 +1348,26 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :challenge
|
attr_accessor :challenge
|
||||||
|
|
||||||
|
# The url to continue to the Gitkit app
|
||||||
|
# Corresponds to the JSON property `continueUrl`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :continue_url
|
||||||
|
|
||||||
# The email of the user.
|
# The email of the user.
|
||||||
# Corresponds to the JSON property `email`
|
# Corresponds to the JSON property `email`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :email
|
attr_accessor :email
|
||||||
|
|
||||||
|
# iOS app store id to download the app if it's not already installed
|
||||||
|
# Corresponds to the JSON property `iOSAppStoreId`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :i_os_app_store_id
|
||||||
|
|
||||||
|
# the iOS bundle id of iOS app to handle the action code
|
||||||
|
# Corresponds to the JSON property `iOSBundleId`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :i_os_bundle_id
|
||||||
|
|
||||||
# The user's Gitkit login token for email change.
|
# The user's Gitkit login token for email change.
|
||||||
# Corresponds to the JSON property `idToken`
|
# Corresponds to the JSON property `idToken`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -1351,9 +1399,16 @@ module Google
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
|
@android_install_app = args[:android_install_app] if args.key?(:android_install_app)
|
||||||
|
@android_minimum_version = args[:android_minimum_version] if args.key?(:android_minimum_version)
|
||||||
|
@android_package_name = args[:android_package_name] if args.key?(:android_package_name)
|
||||||
|
@can_handle_code_in_app = args[:can_handle_code_in_app] if args.key?(:can_handle_code_in_app)
|
||||||
@captcha_resp = args[:captcha_resp] if args.key?(:captcha_resp)
|
@captcha_resp = args[:captcha_resp] if args.key?(:captcha_resp)
|
||||||
@challenge = args[:challenge] if args.key?(:challenge)
|
@challenge = args[:challenge] if args.key?(:challenge)
|
||||||
|
@continue_url = args[:continue_url] if args.key?(:continue_url)
|
||||||
@email = args[:email] if args.key?(:email)
|
@email = args[:email] if args.key?(:email)
|
||||||
|
@i_os_app_store_id = args[:i_os_app_store_id] if args.key?(:i_os_app_store_id)
|
||||||
|
@i_os_bundle_id = args[:i_os_bundle_id] if args.key?(:i_os_bundle_id)
|
||||||
@id_token = args[:id_token] if args.key?(:id_token)
|
@id_token = args[:id_token] if args.key?(:id_token)
|
||||||
@kind = args[:kind] if args.key?(:kind)
|
@kind = args[:kind] if args.key?(:kind)
|
||||||
@new_email = args[:new_email] if args.key?(:new_email)
|
@new_email = args[:new_email] if args.key?(:new_email)
|
||||||
|
|
|
@ -498,6 +498,7 @@ module Google
|
||||||
class VerifyAssertionRequest
|
class VerifyAssertionRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :auto_create, as: 'autoCreate'
|
||||||
property :delegated_project_number, as: 'delegatedProjectNumber'
|
property :delegated_project_number, as: 'delegatedProjectNumber'
|
||||||
property :id_token, as: 'idToken'
|
property :id_token, as: 'idToken'
|
||||||
property :instance_id, as: 'instanceId'
|
property :instance_id, as: 'instanceId'
|
||||||
|
@ -551,9 +552,16 @@ module Google
|
||||||
class Relyingparty
|
class Relyingparty
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :android_install_app, as: 'androidInstallApp'
|
||||||
|
property :android_minimum_version, as: 'androidMinimumVersion'
|
||||||
|
property :android_package_name, as: 'androidPackageName'
|
||||||
|
property :can_handle_code_in_app, as: 'canHandleCodeInApp'
|
||||||
property :captcha_resp, as: 'captchaResp'
|
property :captcha_resp, as: 'captchaResp'
|
||||||
property :challenge, as: 'challenge'
|
property :challenge, as: 'challenge'
|
||||||
|
property :continue_url, as: 'continueUrl'
|
||||||
property :email, as: 'email'
|
property :email, as: 'email'
|
||||||
|
property :i_os_app_store_id, as: 'iOSAppStoreId'
|
||||||
|
property :i_os_bundle_id, as: 'iOSBundleId'
|
||||||
property :id_token, as: 'idToken'
|
property :id_token, as: 'idToken'
|
||||||
property :kind, as: 'kind'
|
property :kind, as: 'kind'
|
||||||
property :new_email, as: 'newEmail'
|
property :new_email, as: 'newEmail'
|
||||||
|
|
|
@ -68,11 +68,11 @@ module Google
|
||||||
# returned entities will contain one or more of these types.
|
# returned entities will contain one or more of these types.
|
||||||
# @param [Boolean] indent
|
# @param [Boolean] indent
|
||||||
# Enables indenting of json results.
|
# Enables indenting of json results.
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
# Available to use for quota purposes for server-side applications. Can be any
|
# 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.
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [Google::Apis::RequestOptions] options
|
# @param [Google::Apis::RequestOptions] options
|
||||||
# Request-specific options
|
# Request-specific options
|
||||||
#
|
#
|
||||||
|
@ -85,7 +85,7 @@ 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 search_entities(languages: nil, ids: nil, limit: nil, prefix: nil, query: nil, types: nil, indent: nil, fields: nil, quota_user: nil, options: nil, &block)
|
def search_entities(languages: nil, ids: nil, limit: nil, prefix: nil, query: nil, types: nil, indent: nil, quota_user: nil, fields: nil, options: nil, &block)
|
||||||
command = make_simple_command(:get, 'v1/entities:search', options)
|
command = make_simple_command(:get, 'v1/entities:search', options)
|
||||||
command.response_representation = Google::Apis::KgsearchV1::SearchResponse::Representation
|
command.response_representation = Google::Apis::KgsearchV1::SearchResponse::Representation
|
||||||
command.response_class = Google::Apis::KgsearchV1::SearchResponse
|
command.response_class = Google::Apis::KgsearchV1::SearchResponse
|
||||||
|
@ -96,8 +96,8 @@ module Google
|
||||||
command.query['query'] = query unless query.nil?
|
command.query['query'] = query unless query.nil?
|
||||||
command.query['types'] = types unless types.nil?
|
command.query['types'] = types unless types.nil?
|
||||||
command.query['indent'] = indent unless indent.nil?
|
command.query['indent'] = indent unless indent.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?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue