Autogenerated update (2018-12-21)
Update: - drive_v3 - logging_v2 - logging_v2beta1 - youtube_partner_v1
This commit is contained in:
parent
b0d1ccc1db
commit
6a38288a33
|
@ -15825,6 +15825,97 @@
|
|||
"/cloudfunctions:v1beta2/fields": fields
|
||||
"/cloudfunctions:v1beta2/key": key
|
||||
"/cloudfunctions:v1beta2/quotaUser": quota_user
|
||||
"/cloudidentity:v1/EntityKey": entity_key
|
||||
"/cloudidentity:v1/EntityKey/id": id
|
||||
"/cloudidentity:v1/EntityKey/namespace": namespace
|
||||
"/cloudidentity:v1/Group": group
|
||||
"/cloudidentity:v1/Group/createTime": create_time
|
||||
"/cloudidentity:v1/Group/description": description
|
||||
"/cloudidentity:v1/Group/displayName": display_name
|
||||
"/cloudidentity:v1/Group/groupKey": group_key
|
||||
"/cloudidentity:v1/Group/labels": labels
|
||||
"/cloudidentity:v1/Group/labels/label": label
|
||||
"/cloudidentity:v1/Group/name": name
|
||||
"/cloudidentity:v1/Group/parent": parent
|
||||
"/cloudidentity:v1/Group/updateTime": update_time
|
||||
"/cloudidentity:v1/ListGroupsResponse": list_groups_response
|
||||
"/cloudidentity:v1/ListGroupsResponse/groups": groups
|
||||
"/cloudidentity:v1/ListGroupsResponse/groups/group": group
|
||||
"/cloudidentity:v1/ListGroupsResponse/nextPageToken": next_page_token
|
||||
"/cloudidentity:v1/ListMembershipsResponse": list_memberships_response
|
||||
"/cloudidentity:v1/ListMembershipsResponse/memberships": memberships
|
||||
"/cloudidentity:v1/ListMembershipsResponse/memberships/membership": membership
|
||||
"/cloudidentity:v1/ListMembershipsResponse/nextPageToken": next_page_token
|
||||
"/cloudidentity:v1/LookupGroupNameResponse": lookup_group_name_response
|
||||
"/cloudidentity:v1/LookupGroupNameResponse/name": name
|
||||
"/cloudidentity:v1/LookupMembershipNameResponse": lookup_membership_name_response
|
||||
"/cloudidentity:v1/LookupMembershipNameResponse/name": name
|
||||
"/cloudidentity:v1/Membership": membership
|
||||
"/cloudidentity:v1/Membership/createTime": create_time
|
||||
"/cloudidentity:v1/Membership/name": name
|
||||
"/cloudidentity:v1/Membership/preferredMemberKey": preferred_member_key
|
||||
"/cloudidentity:v1/Membership/roles": roles
|
||||
"/cloudidentity:v1/Membership/roles/role": role
|
||||
"/cloudidentity:v1/Membership/updateTime": update_time
|
||||
"/cloudidentity:v1/MembershipRole": membership_role
|
||||
"/cloudidentity:v1/MembershipRole/name": name
|
||||
"/cloudidentity:v1/Operation": operation
|
||||
"/cloudidentity:v1/Operation/done": done
|
||||
"/cloudidentity:v1/Operation/error": error
|
||||
"/cloudidentity:v1/Operation/metadata": metadata
|
||||
"/cloudidentity:v1/Operation/metadata/metadatum": metadatum
|
||||
"/cloudidentity:v1/Operation/name": name
|
||||
"/cloudidentity:v1/Operation/response": response
|
||||
"/cloudidentity:v1/Operation/response/response": response
|
||||
"/cloudidentity:v1/SearchGroupsResponse": search_groups_response
|
||||
"/cloudidentity:v1/SearchGroupsResponse/groups": groups
|
||||
"/cloudidentity:v1/SearchGroupsResponse/groups/group": group
|
||||
"/cloudidentity:v1/SearchGroupsResponse/nextPageToken": next_page_token
|
||||
"/cloudidentity:v1/Status": status
|
||||
"/cloudidentity:v1/Status/code": code
|
||||
"/cloudidentity:v1/Status/details": details
|
||||
"/cloudidentity:v1/Status/details/detail": detail
|
||||
"/cloudidentity:v1/Status/details/detail/detail": detail
|
||||
"/cloudidentity:v1/Status/message": message
|
||||
"/cloudidentity:v1/cloudidentity.groups.create": create_group
|
||||
"/cloudidentity:v1/cloudidentity.groups.delete": delete_group
|
||||
"/cloudidentity:v1/cloudidentity.groups.delete/name": name
|
||||
"/cloudidentity:v1/cloudidentity.groups.get": get_group
|
||||
"/cloudidentity:v1/cloudidentity.groups.get/name": name
|
||||
"/cloudidentity:v1/cloudidentity.groups.list": list_groups
|
||||
"/cloudidentity:v1/cloudidentity.groups.list/pageSize": page_size
|
||||
"/cloudidentity:v1/cloudidentity.groups.list/pageToken": page_token
|
||||
"/cloudidentity:v1/cloudidentity.groups.list/parent": parent
|
||||
"/cloudidentity:v1/cloudidentity.groups.list/view": view
|
||||
"/cloudidentity:v1/cloudidentity.groups.lookup": lookup_group
|
||||
"/cloudidentity:v1/cloudidentity.groups.lookup/groupKey.id": group_key_id
|
||||
"/cloudidentity:v1/cloudidentity.groups.lookup/groupKey.namespace": group_key_namespace
|
||||
"/cloudidentity:v1/cloudidentity.groups.memberships.create": create_group_membership
|
||||
"/cloudidentity:v1/cloudidentity.groups.memberships.create/parent": parent
|
||||
"/cloudidentity:v1/cloudidentity.groups.memberships.delete": delete_group_membership
|
||||
"/cloudidentity:v1/cloudidentity.groups.memberships.delete/name": name
|
||||
"/cloudidentity:v1/cloudidentity.groups.memberships.get": get_group_membership
|
||||
"/cloudidentity:v1/cloudidentity.groups.memberships.get/name": name
|
||||
"/cloudidentity:v1/cloudidentity.groups.memberships.list": list_group_memberships
|
||||
"/cloudidentity:v1/cloudidentity.groups.memberships.list/pageSize": page_size
|
||||
"/cloudidentity:v1/cloudidentity.groups.memberships.list/pageToken": page_token
|
||||
"/cloudidentity:v1/cloudidentity.groups.memberships.list/parent": parent
|
||||
"/cloudidentity:v1/cloudidentity.groups.memberships.list/view": view
|
||||
"/cloudidentity:v1/cloudidentity.groups.memberships.lookup": lookup_group_membership
|
||||
"/cloudidentity:v1/cloudidentity.groups.memberships.lookup/memberKey.id": member_key_id
|
||||
"/cloudidentity:v1/cloudidentity.groups.memberships.lookup/memberKey.namespace": member_key_namespace
|
||||
"/cloudidentity:v1/cloudidentity.groups.memberships.lookup/parent": parent
|
||||
"/cloudidentity:v1/cloudidentity.groups.patch": patch_group
|
||||
"/cloudidentity:v1/cloudidentity.groups.patch/name": name
|
||||
"/cloudidentity:v1/cloudidentity.groups.patch/updateMask": update_mask
|
||||
"/cloudidentity:v1/cloudidentity.groups.search": search_groups
|
||||
"/cloudidentity:v1/cloudidentity.groups.search/pageSize": page_size
|
||||
"/cloudidentity:v1/cloudidentity.groups.search/pageToken": page_token
|
||||
"/cloudidentity:v1/cloudidentity.groups.search/query": query
|
||||
"/cloudidentity:v1/cloudidentity.groups.search/view": view
|
||||
"/cloudidentity:v1/fields": fields
|
||||
"/cloudidentity:v1/key": key
|
||||
"/cloudidentity:v1/quotaUser": quota_user
|
||||
"/cloudidentity:v1beta1/EntityKey": entity_key
|
||||
"/cloudidentity:v1beta1/EntityKey/id": id
|
||||
"/cloudidentity:v1beta1/EntityKey/namespace": namespace
|
||||
|
@ -66561,6 +66652,8 @@
|
|||
"/drive:v3/File/createdTime": created_time
|
||||
"/drive:v3/File/description": description
|
||||
"/drive:v3/File/explicitlyTrashed": explicitly_trashed
|
||||
"/drive:v3/File/exportLinks": export_links
|
||||
"/drive:v3/File/exportLinks/export_link": export_link
|
||||
"/drive:v3/File/fileExtension": file_extension
|
||||
"/drive:v3/File/folderColorRgb": folder_color_rgb
|
||||
"/drive:v3/File/fullFileExtension": full_file_extension
|
||||
|
@ -66690,6 +66783,8 @@
|
|||
"/drive:v3/ReplyList/replies": replies
|
||||
"/drive:v3/ReplyList/replies/reply": reply
|
||||
"/drive:v3/Revision": revision
|
||||
"/drive:v3/Revision/exportLinks": export_links
|
||||
"/drive:v3/Revision/exportLinks/export_link": export_link
|
||||
"/drive:v3/Revision/id": id
|
||||
"/drive:v3/Revision/keepForever": keep_forever
|
||||
"/drive:v3/Revision/kind": kind
|
||||
|
|
|
@ -0,0 +1,31 @@
|
|||
# Copyright 2015 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
require 'google/apis/cloudidentity_v1/service.rb'
|
||||
require 'google/apis/cloudidentity_v1/classes.rb'
|
||||
require 'google/apis/cloudidentity_v1/representations.rb'
|
||||
|
||||
module Google
|
||||
module Apis
|
||||
# Cloud Identity API
|
||||
#
|
||||
# API for provisioning and managing identity resources.
|
||||
#
|
||||
# @see https://cloud.google.com/identity/
|
||||
module CloudidentityV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20181218'
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,495 @@
|
|||
# Copyright 2015 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
require 'date'
|
||||
require 'google/apis/core/base_service'
|
||||
require 'google/apis/core/json_representation'
|
||||
require 'google/apis/core/hashable'
|
||||
require 'google/apis/errors'
|
||||
|
||||
module Google
|
||||
module Apis
|
||||
module CloudidentityV1
|
||||
|
||||
# An EntityKey uniquely identifies an Entity. Namespaces are used to provide
|
||||
# isolation for IDs. A single ID can be reused across namespaces but the
|
||||
# combination of a namespace and an ID must be unique.
|
||||
class EntityKey
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The ID of the entity within the given namespace. The ID must be unique
|
||||
# within its namespace.
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [String]
|
||||
attr_accessor :id
|
||||
|
||||
# Namespaces provide isolation for IDs, so an ID only needs to be unique
|
||||
# within its namespace.
|
||||
# Namespaces are currently only created as part of IdentitySource creation
|
||||
# from Admin Console. A namespace `"identitysources/`identity_source_id`"` is
|
||||
# created corresponding to every Identity Source `identity_source_id`.
|
||||
# Corresponds to the JSON property `namespace`
|
||||
# @return [String]
|
||||
attr_accessor :namespace
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@namespace = args[:namespace] if args.key?(:namespace)
|
||||
end
|
||||
end
|
||||
|
||||
# Resource representing a Group.
|
||||
class Group
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The time when the Group was created.
|
||||
# Output only.
|
||||
# Corresponds to the JSON property `createTime`
|
||||
# @return [String]
|
||||
attr_accessor :create_time
|
||||
|
||||
# An extended description to help users determine the purpose of a Group. For
|
||||
# example, you can include information about who should join the Group, the
|
||||
# types of messages to send to the Group, links to FAQs about the Group, or
|
||||
# related Groups. Maximum length is 4,096 characters.
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# The Group's display name.
|
||||
# Corresponds to the JSON property `displayName`
|
||||
# @return [String]
|
||||
attr_accessor :display_name
|
||||
|
||||
# An EntityKey uniquely identifies an Entity. Namespaces are used to provide
|
||||
# isolation for IDs. A single ID can be reused across namespaces but the
|
||||
# combination of a namespace and an ID must be unique.
|
||||
# Corresponds to the JSON property `groupKey`
|
||||
# @return [Google::Apis::CloudidentityV1::EntityKey]
|
||||
attr_accessor :group_key
|
||||
|
||||
# `Required`. Labels for Group resource.
|
||||
# For creating Groups under a namespace, set label key to
|
||||
# 'labels/system/groups/external' and label value as empty.
|
||||
# Corresponds to the JSON property `labels`
|
||||
# @return [Hash<String,String>]
|
||||
attr_accessor :labels
|
||||
|
||||
# [Resource name](https://cloud.google.com/apis/design/resource_names) of the
|
||||
# Group in the format: `groups/`group_id``, where group_id is the unique ID
|
||||
# assigned to the Group.
|
||||
# Must be left blank while creating a Group.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# The entity under which this Group resides in Cloud Identity resource
|
||||
# hierarchy. Must be set when creating a Group, read-only afterwards.
|
||||
# Currently allowed types: `identitysources`.
|
||||
# Corresponds to the JSON property `parent`
|
||||
# @return [String]
|
||||
attr_accessor :parent
|
||||
|
||||
# The time when the Group was last updated.
|
||||
# Output only.
|
||||
# Corresponds to the JSON property `updateTime`
|
||||
# @return [String]
|
||||
attr_accessor :update_time
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@create_time = args[:create_time] if args.key?(:create_time)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@display_name = args[:display_name] if args.key?(:display_name)
|
||||
@group_key = args[:group_key] if args.key?(:group_key)
|
||||
@labels = args[:labels] if args.key?(:labels)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@parent = args[:parent] if args.key?(:parent)
|
||||
@update_time = args[:update_time] if args.key?(:update_time)
|
||||
end
|
||||
end
|
||||
|
||||
# Response message for ListGroups operation.
|
||||
class ListGroupsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Groups returned in response to list request.
|
||||
# The results are not sorted.
|
||||
# Corresponds to the JSON property `groups`
|
||||
# @return [Array<Google::Apis::CloudidentityV1::Group>]
|
||||
attr_accessor :groups
|
||||
|
||||
# Token to retrieve the next page of results, or empty if there are no
|
||||
# more results available for listing.
|
||||
# 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)
|
||||
@groups = args[:groups] if args.key?(:groups)
|
||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class ListMembershipsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# List of Memberships.
|
||||
# Corresponds to the JSON property `memberships`
|
||||
# @return [Array<Google::Apis::CloudidentityV1::Membership>]
|
||||
attr_accessor :memberships
|
||||
|
||||
# Token to retrieve the next page of results, or empty if there are no
|
||||
# more results available for listing.
|
||||
# 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)
|
||||
@memberships = args[:memberships] if args.key?(:memberships)
|
||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class LookupGroupNameResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Resource name](https://cloud.google.com/apis/design/resource_names) of the
|
||||
# Group in the format: `groups/`group_id``, where `group_id` is the unique ID
|
||||
# assigned to the Group.
|
||||
# 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)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class LookupMembershipNameResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Resource name](https://cloud.google.com/apis/design/resource_names) of the
|
||||
# Membership being looked up.
|
||||
# Format: `groups/`group_id`/memberships/`member_id``, where `group_id` is
|
||||
# the unique ID assigned to the Group to which Membership belongs to, and
|
||||
# `member_id` is the unique ID assigned to the member.
|
||||
# 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)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
end
|
||||
end
|
||||
|
||||
# Resource representing a Membership within a Group
|
||||
class Membership
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Creation timestamp of the Membership. Output only.
|
||||
# Corresponds to the JSON property `createTime`
|
||||
# @return [String]
|
||||
attr_accessor :create_time
|
||||
|
||||
# [Resource name](https://cloud.google.com/apis/design/resource_names) of the
|
||||
# Membership in the format: `groups/`group_id`/memberships/`member_id``, where
|
||||
# group_id is the unique ID assigned to the Group to which Membership belongs
|
||||
# to, and member_id is the unique ID assigned to the member
|
||||
# Must be left blank while creating a Membership.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# An EntityKey uniquely identifies an Entity. Namespaces are used to provide
|
||||
# isolation for IDs. A single ID can be reused across namespaces but the
|
||||
# combination of a namespace and an ID must be unique.
|
||||
# Corresponds to the JSON property `preferredMemberKey`
|
||||
# @return [Google::Apis::CloudidentityV1::EntityKey]
|
||||
attr_accessor :preferred_member_key
|
||||
|
||||
# Roles for a member within the Group.
|
||||
# Currently supported MembershipRoles: `"MEMBER"`.
|
||||
# Corresponds to the JSON property `roles`
|
||||
# @return [Array<Google::Apis::CloudidentityV1::MembershipRole>]
|
||||
attr_accessor :roles
|
||||
|
||||
# Last updated timestamp of the Membership. Output only.
|
||||
# Corresponds to the JSON property `updateTime`
|
||||
# @return [String]
|
||||
attr_accessor :update_time
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@create_time = args[:create_time] if args.key?(:create_time)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@preferred_member_key = args[:preferred_member_key] if args.key?(:preferred_member_key)
|
||||
@roles = args[:roles] if args.key?(:roles)
|
||||
@update_time = args[:update_time] if args.key?(:update_time)
|
||||
end
|
||||
end
|
||||
|
||||
# Resource representing a role within a Membership.
|
||||
class MembershipRole
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# MembershipRole in string format.
|
||||
# Currently supported MembershipRoles: `"MEMBER"`.
|
||||
# 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)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
end
|
||||
end
|
||||
|
||||
# This resource represents a long-running operation that is the result of a
|
||||
# network API call.
|
||||
class Operation
|
||||
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 `Status` type defines a logical error model that is suitable for different
|
||||
# programming environments, including REST APIs and RPC APIs. It is used by
|
||||
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
||||
# - Simple to use and understand for most users
|
||||
# - Flexible enough to meet unexpected needs
|
||||
# # Overview
|
||||
# The `Status` message contains three pieces of data: error code, error message,
|
||||
# and error details. The error code should be an enum value of
|
||||
# google.rpc.Code, but it may accept additional error codes if needed. The
|
||||
# error message should be a developer-facing English message that helps
|
||||
# developers *understand* and *resolve* the error. If a localized user-facing
|
||||
# error message is needed, put the localized message in the error details or
|
||||
# localize it in the client. The optional error details may contain arbitrary
|
||||
# information about the error. There is a predefined set of error detail types
|
||||
# in the package `google.rpc` that can be used for common error conditions.
|
||||
# # Language mapping
|
||||
# The `Status` message is the logical representation of the error model, but it
|
||||
# is not necessarily the actual wire format. When the `Status` message is
|
||||
# exposed in different client libraries and different wire protocols, it can be
|
||||
# mapped differently. For example, it will likely be mapped to some exceptions
|
||||
# in Java, but more likely mapped to some error codes in C.
|
||||
# # Other uses
|
||||
# The error model and the `Status` message can be used in a variety of
|
||||
# environments, either with or without APIs, to provide a
|
||||
# consistent developer experience across different environments.
|
||||
# Example uses of this error model include:
|
||||
# - Partial errors. If a service needs to return partial errors to the client,
|
||||
# it may embed the `Status` in the normal response to indicate the partial
|
||||
# errors.
|
||||
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
||||
# have a `Status` message for error reporting.
|
||||
# - Batch operations. If a client uses batch request and batch response, the
|
||||
# `Status` message should be used directly inside batch response, one for
|
||||
# each error sub-response.
|
||||
# - Asynchronous operations. If an API call embeds asynchronous operation
|
||||
# results in its response, the status of those operations should be
|
||||
# represented directly using the `Status` message.
|
||||
# - Logging. If some API errors are stored in logs, the message `Status` could
|
||||
# be used directly after any stripping needed for security/privacy reasons.
|
||||
# Corresponds to the JSON property `error`
|
||||
# @return [Google::Apis::CloudidentityV1::Status]
|
||||
attr_accessor :error
|
||||
|
||||
# Service-specific metadata associated with the operation. It typically
|
||||
# contains progress information and common metadata such as create time.
|
||||
# Some services might not provide such metadata. Any method that returns a
|
||||
# long-running operation should document the metadata type, if any.
|
||||
# Corresponds to the JSON property `metadata`
|
||||
# @return [Hash<String,Object>]
|
||||
attr_accessor :metadata
|
||||
|
||||
# The server-assigned name, which is only unique within the same service that
|
||||
# originally returns it. If you use the default HTTP mapping, the
|
||||
# `name` should have the format of `operations/some/unique/name`.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# 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
|
||||
# `google.protobuf.Empty`. If the original method is standard
|
||||
# `Get`/`Create`/`Update`, the response should be the resource. For other
|
||||
# methods, the response should have the type `XxxResponse`, where `Xxx`
|
||||
# is the original method name. For example, if the original method name
|
||||
# is `TakeSnapshot()`, the inferred response type is
|
||||
# `TakeSnapshotResponse`.
|
||||
# Corresponds to the JSON property `response`
|
||||
# @return [Hash<String,Object>]
|
||||
attr_accessor :response
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@done = args[:done] if args.key?(:done)
|
||||
@error = args[:error] if args.key?(:error)
|
||||
@metadata = args[:metadata] if args.key?(:metadata)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@response = args[:response] if args.key?(:response)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class SearchGroupsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# List of Groups satisfying the search query.
|
||||
# Corresponds to the JSON property `groups`
|
||||
# @return [Array<Google::Apis::CloudidentityV1::Group>]
|
||||
attr_accessor :groups
|
||||
|
||||
# Token to retrieve the next page of results, or empty if there are no
|
||||
# more results available for specified query.
|
||||
# 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)
|
||||
@groups = args[:groups] if args.key?(:groups)
|
||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||
end
|
||||
end
|
||||
|
||||
# The `Status` type defines a logical error model that is suitable for different
|
||||
# programming environments, including REST APIs and RPC APIs. It is used by
|
||||
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
||||
# - Simple to use and understand for most users
|
||||
# - Flexible enough to meet unexpected needs
|
||||
# # Overview
|
||||
# The `Status` message contains three pieces of data: error code, error message,
|
||||
# and error details. The error code should be an enum value of
|
||||
# google.rpc.Code, but it may accept additional error codes if needed. The
|
||||
# error message should be a developer-facing English message that helps
|
||||
# developers *understand* and *resolve* the error. If a localized user-facing
|
||||
# error message is needed, put the localized message in the error details or
|
||||
# localize it in the client. The optional error details may contain arbitrary
|
||||
# information about the error. There is a predefined set of error detail types
|
||||
# in the package `google.rpc` that can be used for common error conditions.
|
||||
# # Language mapping
|
||||
# The `Status` message is the logical representation of the error model, but it
|
||||
# is not necessarily the actual wire format. When the `Status` message is
|
||||
# exposed in different client libraries and different wire protocols, it can be
|
||||
# mapped differently. For example, it will likely be mapped to some exceptions
|
||||
# in Java, but more likely mapped to some error codes in C.
|
||||
# # Other uses
|
||||
# The error model and the `Status` message can be used in a variety of
|
||||
# environments, either with or without APIs, to provide a
|
||||
# consistent developer experience across different environments.
|
||||
# Example uses of this error model include:
|
||||
# - Partial errors. If a service needs to return partial errors to the client,
|
||||
# it may embed the `Status` in the normal response to indicate the partial
|
||||
# errors.
|
||||
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
||||
# have a `Status` message for error reporting.
|
||||
# - Batch operations. If a client uses batch request and batch response, the
|
||||
# `Status` message should be used directly inside batch response, one for
|
||||
# each error sub-response.
|
||||
# - Asynchronous operations. If an API call embeds asynchronous operation
|
||||
# results in its response, the status of those operations should be
|
||||
# represented directly using the `Status` message.
|
||||
# - Logging. If some API errors are stored in logs, the message `Status` could
|
||||
# be used directly after any stripping needed for security/privacy reasons.
|
||||
class Status
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The status code, which should be an enum value of google.rpc.Code.
|
||||
# Corresponds to the JSON property `code`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :code
|
||||
|
||||
# A list of messages that carry the error details. There is a common set of
|
||||
# message types for APIs to use.
|
||||
# Corresponds to the JSON property `details`
|
||||
# @return [Array<Hash<String,Object>>]
|
||||
attr_accessor :details
|
||||
|
||||
# A developer-facing error message, which should be in English. Any
|
||||
# user-facing error message should be localized and sent in the
|
||||
# google.rpc.Status.details field, or localized by the client.
|
||||
# Corresponds to the JSON property `message`
|
||||
# @return [String]
|
||||
attr_accessor :message
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@code = args[:code] if args.key?(:code)
|
||||
@details = args[:details] if args.key?(:details)
|
||||
@message = args[:message] if args.key?(:message)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,197 @@
|
|||
# Copyright 2015 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
require 'date'
|
||||
require 'google/apis/core/base_service'
|
||||
require 'google/apis/core/json_representation'
|
||||
require 'google/apis/core/hashable'
|
||||
require 'google/apis/errors'
|
||||
|
||||
module Google
|
||||
module Apis
|
||||
module CloudidentityV1
|
||||
|
||||
class EntityKey
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Group
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ListGroupsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ListMembershipsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class LookupGroupNameResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class LookupMembershipNameResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Membership
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class MembershipRole
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Operation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class SearchGroupsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Status
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class EntityKey
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :id, as: 'id'
|
||||
property :namespace, as: 'namespace'
|
||||
end
|
||||
end
|
||||
|
||||
class Group
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :create_time, as: 'createTime'
|
||||
property :description, as: 'description'
|
||||
property :display_name, as: 'displayName'
|
||||
property :group_key, as: 'groupKey', class: Google::Apis::CloudidentityV1::EntityKey, decorator: Google::Apis::CloudidentityV1::EntityKey::Representation
|
||||
|
||||
hash :labels, as: 'labels'
|
||||
property :name, as: 'name'
|
||||
property :parent, as: 'parent'
|
||||
property :update_time, as: 'updateTime'
|
||||
end
|
||||
end
|
||||
|
||||
class ListGroupsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :groups, as: 'groups', class: Google::Apis::CloudidentityV1::Group, decorator: Google::Apis::CloudidentityV1::Group::Representation
|
||||
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
end
|
||||
end
|
||||
|
||||
class ListMembershipsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :memberships, as: 'memberships', class: Google::Apis::CloudidentityV1::Membership, decorator: Google::Apis::CloudidentityV1::Membership::Representation
|
||||
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
end
|
||||
end
|
||||
|
||||
class LookupGroupNameResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :name, as: 'name'
|
||||
end
|
||||
end
|
||||
|
||||
class LookupMembershipNameResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :name, as: 'name'
|
||||
end
|
||||
end
|
||||
|
||||
class Membership
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :create_time, as: 'createTime'
|
||||
property :name, as: 'name'
|
||||
property :preferred_member_key, as: 'preferredMemberKey', class: Google::Apis::CloudidentityV1::EntityKey, decorator: Google::Apis::CloudidentityV1::EntityKey::Representation
|
||||
|
||||
collection :roles, as: 'roles', class: Google::Apis::CloudidentityV1::MembershipRole, decorator: Google::Apis::CloudidentityV1::MembershipRole::Representation
|
||||
|
||||
property :update_time, as: 'updateTime'
|
||||
end
|
||||
end
|
||||
|
||||
class MembershipRole
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :name, as: 'name'
|
||||
end
|
||||
end
|
||||
|
||||
class Operation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :done, as: 'done'
|
||||
property :error, as: 'error', class: Google::Apis::CloudidentityV1::Status, decorator: Google::Apis::CloudidentityV1::Status::Representation
|
||||
|
||||
hash :metadata, as: 'metadata'
|
||||
property :name, as: 'name'
|
||||
hash :response, as: 'response'
|
||||
end
|
||||
end
|
||||
|
||||
class SearchGroupsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :groups, as: 'groups', class: Google::Apis::CloudidentityV1::Group, decorator: Google::Apis::CloudidentityV1::Group::Representation
|
||||
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
end
|
||||
end
|
||||
|
||||
class Status
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :code, as: 'code'
|
||||
collection :details, as: 'details'
|
||||
property :message, as: 'message'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,517 @@
|
|||
# Copyright 2015 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
require 'google/apis/core/base_service'
|
||||
require 'google/apis/core/json_representation'
|
||||
require 'google/apis/core/hashable'
|
||||
require 'google/apis/errors'
|
||||
|
||||
module Google
|
||||
module Apis
|
||||
module CloudidentityV1
|
||||
# Cloud Identity API
|
||||
#
|
||||
# API for provisioning and managing identity resources.
|
||||
#
|
||||
# @example
|
||||
# require 'google/apis/cloudidentity_v1'
|
||||
#
|
||||
# Cloudidentity = Google::Apis::CloudidentityV1 # Alias the module
|
||||
# service = Cloudidentity::CloudIdentityService.new
|
||||
#
|
||||
# @see https://cloud.google.com/identity/
|
||||
class CloudIdentityService < Google::Apis::Core::BaseService
|
||||
# @return [String]
|
||||
# API key. Your API key identifies your project and provides you with API access,
|
||||
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
||||
attr_accessor :key
|
||||
|
||||
# @return [String]
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
attr_accessor :quota_user
|
||||
|
||||
def initialize
|
||||
super('https://cloudidentity.googleapis.com/', '')
|
||||
@batch_path = 'batch'
|
||||
end
|
||||
|
||||
# Creates a Group.
|
||||
# @param [Google::Apis::CloudidentityV1::Group] group_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::CloudidentityV1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::CloudidentityV1::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_group(group_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/groups', options)
|
||||
command.request_representation = Google::Apis::CloudidentityV1::Group::Representation
|
||||
command.request_object = group_object
|
||||
command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation
|
||||
command.response_class = Google::Apis::CloudidentityV1::Operation
|
||||
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 Group.
|
||||
# @param [String] name
|
||||
# [Resource name](https://cloud.google.com/apis/design/resource_names) of the
|
||||
# Group in the format: `groups/`group_id``, where `group_id` is the unique ID
|
||||
# assigned to the Group.
|
||||
# @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::CloudidentityV1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::CloudidentityV1::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_group(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:delete, 'v1/{+name}', options)
|
||||
command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation
|
||||
command.response_class = Google::Apis::CloudidentityV1::Operation
|
||||
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
|
||||
|
||||
# Retrieves a Group.
|
||||
# @param [String] name
|
||||
# [Resource name](https://cloud.google.com/apis/design/resource_names) of the
|
||||
# Group in the format: `groups/`group_id``, where `group_id` is the unique ID
|
||||
# assigned to the Group.
|
||||
# @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::CloudidentityV1::Group] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::CloudidentityV1::Group]
|
||||
#
|
||||
# @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_group(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+name}', options)
|
||||
command.response_representation = Google::Apis::CloudidentityV1::Group::Representation
|
||||
command.response_class = Google::Apis::CloudidentityV1::Group
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# List groups within a customer or a domain.
|
||||
# @param [Fixnum] page_size
|
||||
# Maximum number of Groups to return.
|
||||
# View | Default | Maximum
|
||||
# -----|---------|--------
|
||||
# BASIC | 200 | 1000
|
||||
# FULL | 50 | 500
|
||||
# @param [String] page_token
|
||||
# The next_page_token value returned from a previous list request, if any.
|
||||
# @param [String] parent
|
||||
# `Required`. May be made Optional in the future.
|
||||
# Customer ID to list all groups from.
|
||||
# @param [String] view
|
||||
# Group resource view to be returned. Defaults to [View.BASIC]().
|
||||
# @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::CloudidentityV1::ListGroupsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::CloudidentityV1::ListGroupsResponse]
|
||||
#
|
||||
# @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_groups(page_size: nil, page_token: nil, parent: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/groups', options)
|
||||
command.response_representation = Google::Apis::CloudidentityV1::ListGroupsResponse::Representation
|
||||
command.response_class = Google::Apis::CloudidentityV1::ListGroupsResponse
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['parent'] = parent unless parent.nil?
|
||||
command.query['view'] = view unless view.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Looks up [resource
|
||||
# name](https://cloud.google.com/apis/design/resource_names) of a Group by
|
||||
# its EntityKey.
|
||||
# @param [String] group_key_id
|
||||
# The ID of the entity within the given namespace. The ID must be unique
|
||||
# within its namespace.
|
||||
# @param [String] group_key_namespace
|
||||
# Namespaces provide isolation for IDs, so an ID only needs to be unique
|
||||
# within its namespace.
|
||||
# Namespaces are currently only created as part of IdentitySource creation
|
||||
# from Admin Console. A namespace `"identitysources/`identity_source_id`"` is
|
||||
# created corresponding to every Identity Source `identity_source_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::CloudidentityV1::LookupGroupNameResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::CloudidentityV1::LookupGroupNameResponse]
|
||||
#
|
||||
# @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 lookup_group(group_key_id: nil, group_key_namespace: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/groups:lookup', options)
|
||||
command.response_representation = Google::Apis::CloudidentityV1::LookupGroupNameResponse::Representation
|
||||
command.response_class = Google::Apis::CloudidentityV1::LookupGroupNameResponse
|
||||
command.query['groupKey.id'] = group_key_id unless group_key_id.nil?
|
||||
command.query['groupKey.namespace'] = group_key_namespace unless group_key_namespace.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 a Group.
|
||||
# @param [String] name
|
||||
# [Resource name](https://cloud.google.com/apis/design/resource_names) of the
|
||||
# Group in the format: `groups/`group_id``, where group_id is the unique ID
|
||||
# assigned to the Group.
|
||||
# Must be left blank while creating a Group.
|
||||
# @param [Google::Apis::CloudidentityV1::Group] group_object
|
||||
# @param [String] update_mask
|
||||
# Editable fields: `display_name`, `description`
|
||||
# @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::CloudidentityV1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::CloudidentityV1::Operation]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def patch_group(name, group_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:patch, 'v1/{+name}', options)
|
||||
command.request_representation = Google::Apis::CloudidentityV1::Group::Representation
|
||||
command.request_object = group_object
|
||||
command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation
|
||||
command.response_class = Google::Apis::CloudidentityV1::Operation
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['updateMask'] = update_mask unless update_mask.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Searches for Groups.
|
||||
# @param [Fixnum] page_size
|
||||
# Maximum number of Groups to return.
|
||||
# View | Default | Maximum
|
||||
# -----|---------|--------
|
||||
# BASIC | 200 | 1000
|
||||
# FULL | 50 | 500
|
||||
# @param [String] page_token
|
||||
# The next_page_token value returned from a previous search request, if any.
|
||||
# @param [String] query
|
||||
# `Required`. Query string for performing search on groups. Users can search
|
||||
# on parent and label attributes of groups.
|
||||
# EXACT match ('==') is supported on parent, and CONTAINS match ('in') is
|
||||
# supported on labels.
|
||||
# @param [String] view
|
||||
# Group resource view to be returned. Defaults to [View.BASIC]().
|
||||
# @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::CloudidentityV1::SearchGroupsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::CloudidentityV1::SearchGroupsResponse]
|
||||
#
|
||||
# @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 search_groups(page_size: nil, page_token: nil, query: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/groups:search', options)
|
||||
command.response_representation = Google::Apis::CloudidentityV1::SearchGroupsResponse::Representation
|
||||
command.response_class = Google::Apis::CloudidentityV1::SearchGroupsResponse
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['query'] = query unless query.nil?
|
||||
command.query['view'] = view unless view.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Creates a Membership.
|
||||
# @param [String] parent
|
||||
# [Resource name](https://cloud.google.com/apis/design/resource_names) of the
|
||||
# Group to create Membership within. Format: `groups/`group_id``, where
|
||||
# `group_id` is the unique ID assigned to the Group.
|
||||
# @param [Google::Apis::CloudidentityV1::Membership] membership_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::CloudidentityV1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::CloudidentityV1::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_group_membership(parent, membership_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+parent}/memberships', options)
|
||||
command.request_representation = Google::Apis::CloudidentityV1::Membership::Representation
|
||||
command.request_object = membership_object
|
||||
command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation
|
||||
command.response_class = Google::Apis::CloudidentityV1::Operation
|
||||
command.params['parent'] = parent unless parent.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Deletes a Membership.
|
||||
# @param [String] name
|
||||
# [Resource name](https://cloud.google.com/apis/design/resource_names) of the
|
||||
# Membership to be deleted.
|
||||
# Format: `groups/`group_id`/memberships/`member_id``, where `group_id` is
|
||||
# the unique ID assigned to the Group to which Membership belongs to, and
|
||||
# member_id is the unique ID assigned to the member.
|
||||
# @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::CloudidentityV1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::CloudidentityV1::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_group_membership(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:delete, 'v1/{+name}', options)
|
||||
command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation
|
||||
command.response_class = Google::Apis::CloudidentityV1::Operation
|
||||
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
|
||||
|
||||
# Retrieves a Membership.
|
||||
# @param [String] name
|
||||
# [Resource name](https://cloud.google.com/apis/design/resource_names) of the
|
||||
# Membership to be retrieved.
|
||||
# Format: `groups/`group_id`/memberships/`member_id``, where `group_id` is
|
||||
# the unique id assigned to the Group to which Membership belongs to, and
|
||||
# `member_id` is the unique ID assigned to the member.
|
||||
# @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::CloudidentityV1::Membership] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::CloudidentityV1::Membership]
|
||||
#
|
||||
# @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_group_membership(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+name}', options)
|
||||
command.response_representation = Google::Apis::CloudidentityV1::Membership::Representation
|
||||
command.response_class = Google::Apis::CloudidentityV1::Membership
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# List Memberships within a Group.
|
||||
# @param [String] parent
|
||||
# [Resource name](https://cloud.google.com/apis/design/resource_names) of the
|
||||
# Group to list Memberships within.
|
||||
# Format: `groups/`group_id``, where `group_id` is the unique ID assigned to
|
||||
# the Group.
|
||||
# @param [Fixnum] page_size
|
||||
# Maximum number of Memberships to return.
|
||||
# View | Default | Maximum
|
||||
# -----|---------|--------
|
||||
# BASIC | 200 | 1000
|
||||
# FULL | 50 | 500
|
||||
# @param [String] page_token
|
||||
# The next_page_token value returned from a previous list request, if any.
|
||||
# @param [String] view
|
||||
# Membership resource view to be returned. Defaults to View.BASIC.
|
||||
# @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::CloudidentityV1::ListMembershipsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::CloudidentityV1::ListMembershipsResponse]
|
||||
#
|
||||
# @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_group_memberships(parent, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+parent}/memberships', options)
|
||||
command.response_representation = Google::Apis::CloudidentityV1::ListMembershipsResponse::Representation
|
||||
command.response_class = Google::Apis::CloudidentityV1::ListMembershipsResponse
|
||||
command.params['parent'] = parent unless parent.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['view'] = view unless view.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Looks up [resource
|
||||
# name](https://cloud.google.com/apis/design/resource_names) of a Membership
|
||||
# within a Group by member's EntityKey.
|
||||
# @param [String] parent
|
||||
# [Resource name](https://cloud.google.com/apis/design/resource_names) of the
|
||||
# Group to lookup Membership within.
|
||||
# Format: `groups/`group_id``, where `group_id` is the unique ID assigned to
|
||||
# the Group.
|
||||
# @param [String] member_key_id
|
||||
# The ID of the entity within the given namespace. The ID must be unique
|
||||
# within its namespace.
|
||||
# @param [String] member_key_namespace
|
||||
# Namespaces provide isolation for IDs, so an ID only needs to be unique
|
||||
# within its namespace.
|
||||
# Namespaces are currently only created as part of IdentitySource creation
|
||||
# from Admin Console. A namespace `"identitysources/`identity_source_id`"` is
|
||||
# created corresponding to every Identity Source `identity_source_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::CloudidentityV1::LookupMembershipNameResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::CloudidentityV1::LookupMembershipNameResponse]
|
||||
#
|
||||
# @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 lookup_group_membership(parent, member_key_id: nil, member_key_namespace: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+parent}/memberships:lookup', options)
|
||||
command.response_representation = Google::Apis::CloudidentityV1::LookupMembershipNameResponse::Representation
|
||||
command.response_class = Google::Apis::CloudidentityV1::LookupMembershipNameResponse
|
||||
command.params['parent'] = parent unless parent.nil?
|
||||
command.query['memberKey.id'] = member_key_id unless member_key_id.nil?
|
||||
command.query['memberKey.namespace'] = member_key_namespace unless member_key_namespace.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
protected
|
||||
|
||||
def apply_command_defaults(command)
|
||||
command.query['key'] = key unless key.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/drive/
|
||||
module DriveV3
|
||||
VERSION = 'V3'
|
||||
REVISION = '20181101'
|
||||
REVISION = '20181213'
|
||||
|
||||
# See, edit, create, and delete all of your Google Drive files
|
||||
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
||||
|
|
|
@ -562,6 +562,11 @@ module Google
|
|||
attr_accessor :explicitly_trashed
|
||||
alias_method :explicitly_trashed?, :explicitly_trashed
|
||||
|
||||
# Links for exporting Google Docs to specific formats.
|
||||
# Corresponds to the JSON property `exportLinks`
|
||||
# @return [Hash<String,String>]
|
||||
attr_accessor :export_links
|
||||
|
||||
# The final component of fullFileExtension. This is only available for files
|
||||
# with binary content in Drive.
|
||||
# Corresponds to the JSON property `fileExtension`
|
||||
|
@ -861,6 +866,7 @@ module Google
|
|||
@created_time = args[:created_time] if args.key?(:created_time)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@explicitly_trashed = args[:explicitly_trashed] if args.key?(:explicitly_trashed)
|
||||
@export_links = args[:export_links] if args.key?(:export_links)
|
||||
@file_extension = args[:file_extension] if args.key?(:file_extension)
|
||||
@folder_color_rgb = args[:folder_color_rgb] if args.key?(:folder_color_rgb)
|
||||
@full_file_extension = args[:full_file_extension] if args.key?(:full_file_extension)
|
||||
|
@ -1761,6 +1767,11 @@ module Google
|
|||
class Revision
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Links for exporting Google Docs to specific formats.
|
||||
# Corresponds to the JSON property `exportLinks`
|
||||
# @return [Hash<String,String>]
|
||||
attr_accessor :export_links
|
||||
|
||||
# The ID of the revision.
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [String]
|
||||
|
@ -1841,6 +1852,7 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@export_links = args[:export_links] if args.key?(:export_links)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@keep_forever = args[:keep_forever] if args.key?(:keep_forever)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
|
|
|
@ -359,6 +359,7 @@ module Google
|
|||
|
||||
property :description, as: 'description'
|
||||
property :explicitly_trashed, as: 'explicitlyTrashed'
|
||||
hash :export_links, as: 'exportLinks'
|
||||
property :file_extension, as: 'fileExtension'
|
||||
property :folder_color_rgb, as: 'folderColorRgb'
|
||||
property :full_file_extension, as: 'fullFileExtension'
|
||||
|
@ -604,6 +605,7 @@ module Google
|
|||
class Revision
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
hash :export_links, as: 'exportLinks'
|
||||
property :id, as: 'id'
|
||||
property :keep_forever, as: 'keepForever'
|
||||
property :kind, as: 'kind'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/logging/docs/
|
||||
module LoggingV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20181020'
|
||||
REVISION = '20181215'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -626,8 +626,9 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Lists log entries. Use this method to retrieve log entries from Logging. For
|
||||
# ways to export log entries, see Exporting Logs.
|
||||
# Lists log entries. Use this method to retrieve log entries that originated
|
||||
# from a project/folder/organization/billing account. For ways to export log
|
||||
# entries, see Exporting Logs.
|
||||
# @param [Google::Apis::LoggingV2::ListLogEntriesRequest] list_log_entries_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/logging/docs/
|
||||
module LoggingV2beta1
|
||||
VERSION = 'V2beta1'
|
||||
REVISION = '20181020'
|
||||
REVISION = '20181215'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -47,8 +47,9 @@ module Google
|
|||
@batch_path = 'batch'
|
||||
end
|
||||
|
||||
# Lists log entries. Use this method to retrieve log entries from Logging. For
|
||||
# ways to export log entries, see Exporting Logs.
|
||||
# Lists log entries. Use this method to retrieve log entries that originated
|
||||
# from a project/folder/organization/billing account. For ways to export log
|
||||
# entries, see Exporting Logs.
|
||||
# @param [Google::Apis::LoggingV2beta1::ListLogEntriesRequest] list_log_entries_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/youtube/partner/
|
||||
module YoutubePartnerV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20181210'
|
||||
REVISION = '20181217'
|
||||
|
||||
# View and manage your assets and associated content on YouTube
|
||||
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
|
||||
|
|
Loading…
Reference in New Issue